Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inbound sip trunks 11.0

Status
Not open for further replies.

PhoneDude20

Vendor
Feb 12, 2020
33
US
I have a client with a new sip install. We are able to dial out but we can not receive calls. The IP Office is receiving the public IP in the header instead of the internal of Lan1 so the system doesn't know where to route it. Below is the log.

f:"xyz company"<sip:+15557648965@206.15.134.131>;tag=Ng7DmZ2KH445B
t:<sip:5554567643@XXX.XXX.XXX.XXX> How can the system change this to be the internal ip of lan 1

We are using a Meraki firewall and have the ports forwarded to the PBX.
 
You need to enable STUN.

Stuck in a never ending cycle of file copying.
 
Stun is enabled. I ran the stun server it determined it was full cone nat and pulled my correct IP for the public. I have it enabled on the SIP trunk-Transport tab as well for Lan 1
 
I have since upgraded them to the latest 11.1. But I am still having the same problem. Here are the new full logs. I have Stun enabled on LAN 1 and on the Trunk. I have tried all association methods call routing methods combined. Any Ideas?

INVITE sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP SIP/2.0
Record-Route: <sip:206.15.174.61;lr=on;nat=yes>
Via: SIP/2.0/UDP 206.15.174.61;branch=z9hG4bK1b9b.f1efbd0d0d19b8e5ee1838eef96b63c2.0
v:SIP/2.0/UDP 206.15.134.131:5081;received=206.15.134.131;rport=5081;branch=z9hG4bKpZtv4mXUZj50j
Max-Forwards:67
f:"Caller ID"<sip:+15555555555@206.15.134.131>;tag=j7HZ6XtNav8gQ
t:<sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP
i:5d2d011d-6e02-123b-05b5-1866da8e0e22
CSeq:53463814 INVITE
m:<sip:mod_sofia@206.15.134.131:5081;alias=206.15.134.131~5081~1>
User-Agent:fs
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
u:talk,hold,conference,presence,as-feature-event,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
c:application/sdp
Content-Disposition:session
l:306

v=0
o=fs 1656006781 1656006782 IN IP4 206.15.134.131
s=fs
c=IN IP4 206.15.134.131
t=0 0
m=audio 28432 RTP/AVP 0 8 9 18 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
20:46:12 608492mS SIP Rx: UDP 206.15.174.61:5060 -> x.x.x.x:5060
INVITE sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IPSIP/2.0
Record-Route: <sip:206.15.174.61;lr=on;nat=yes>
Via: SIP/2.0/UDP 206.15.174.61;branch=z9hG4bK1b9b.f1efbd0d0d19b8e5ee1838eef96b63c2.0
v:SIP/2.0/UDP 206.15.134.131:5081;received=206.15.134.131;rport=5081;branch=z9hG4bKpZtv4mXUZj50j
Max-Forwards:67
f:"Caller ID"<sip:+15555555555@206.15.134.131>;tag=j7HZ6XtNav8gQ
t:<sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP
i:5d2d011d-6e02-123b-05b5-1866da8e0e22
CSeq:53463814 INVITE
m:<sip:mod_sofia@206.15.134.131:5081;alias=206.15.134.131~5081~1>
User-Agent:fs
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
u:talk,hold,conference,presence,as-feature-event,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
c:application/sdp
Content-Disposition:session
l:306

v=0
o=fs 1656006781 1656006782 IN IP4 206.15.134.131
s=fs
c=IN IP4 206.15.134.131
t=0 0
m=audio 28432 RTP/AVP 0 8 9 18 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
20:46:12 608536mS H323Evt: Recv: RegistrationRequest 10.1.2.60; Extn(218), time since last RRQ-KA 55012, Endpoints registered: 13; Endpoints in registration: 0
20:46:13 609493mS SIP Rx: UDP 206.15.174.61:5060 -> x.x.x.x:5060
INVITE sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IPSIP/2.0
Record-Route: <sip:206.15.174.61;lr=on;nat=yes>
Via: SIP/2.0/UDP 206.15.174.61;branch=z9hG4bK1b9b.f1efbd0d0d19b8e5ee1838eef96b63c2.0
v:SIP/2.0/UDP 206.15.134.131:5081;received=206.15.134.131;rport=5081;branch=z9hG4bKpZtv4mXUZj50j
Max-Forwards:67
f:"Caller ID"<sip:+15555555555@206.15.134.131>;tag=j7HZ6XtNav8gQ
t:<sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP>
i:5d2d011d-6e02-123b-05b5-1866da8e0e22
CSeq:53463814 INVITE
m:<sip:mod_sofia@206.15.134.131:5081;alias=206.15.134.131~5081~1>
User-Agent:fs
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
u:talk,hold,conference,presence,as-feature-event,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
c:application/sdp
Content-Disposition:session
l:306

v=0
o=fs 1656006781 1656006782 IN IP4 206.15.134.131
s=fs
c=IN IP4 206.15.134.131
t=0 0
m=audio 28432 RTP/AVP 0 8 9 18 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
20:46:14 610253mS H323Evt: Recv: RegistrationRequest 10.1.1.51; Extn(267), time since last RRQ-KA 55004, Endpoints registered: 13; Endpoints in registration: 0
20:46:14 610508mS RES: Thu 23/6/2022 20:46:14 FreeMem=56132060 Heap=55908416(10) Cache=223644 MemObjs=12095(Max 13906) CMMsg=2(4) ASN=0 Buff=5200 1364 1000 7444 5 Links=64054(64179) BTree=1323(2647) CB=6064 MCT=0 CPU=04.53% CPUStats=03.74%/1/4/2256/2
0702/21443/00.08%/0/02.56% MCR=0 MCW=0 DEV=0
20:46:14 610508mS RES2: IP 500 V2 11.1.2.2.0 build 20 Tasks=57 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=14+77 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 TCP=37(TLS=9 OFF=0) TAPI=0 Partner=0 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
20:46:14 610508mS RES4: XML MemObjs=8 PoolMem=4748404(2) FreeMem=4736284(0) HeapUsed=0
20:46:14 610508mS RES5: CLog MemObjs=1674 FreePoolMem(Objs)=7056(126) TotalMem=100800 StringsTotalMem=199850
20:46:15 611349mS PRN: WARNING:
20:46:15 611349mS PRN: Applications Processor slot 3: heartbeat, couldn't find field Collab:
20:46:15 611349mS PRN:
20:46:15 611349mS PRN: WARNING:
20:46:15 611349mS PRN: Applications Processor slot 3: heartbeat, couldn't find/interpret field Collab_version:
20:46:15 611349mS PRN:
20:46:15 611493mS SIP Rx: UDP 206.15.174.61:5060 -> x.x.x.x:5060
INVITE sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP SIP/2.0
Record-Route: <sip:206.15.174.61;lr=on;nat=yes>
Via: SIP/2.0/UDP 206.15.174.61;branch=z9hG4bK1b9b.f1efbd0d0d19b8e5ee1838eef96b63c2.0
v:SIP/2.0/UDP 206.15.134.131:5081;received=206.15.134.131;rport=5081;branch=z9hG4bKpZtv4mXUZj50j
Max-Forwards:67
f:"Hall David"<sip:+15555555555@206.15.134.131>;tag=j7HZ6XtNav8gQ
t:<sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP>
i:5d2d011d-6e02-123b-05b5-1866da8e0e22
CSeq:53463814 INVITE
m:<sip:mod_sofia@206.15.134.131:5081;alias=206.15.134.131~5081~1>
User-Agent:fs
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
u:talk,hold,conference,presence,as-feature-event,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
c:application/sdp
Content-Disposition:session
l:306

v=0
o=fs 1656006781 1656006782 IN IP4 206.15.134.131
s=fs
c=IN IP4 206.15.134.131
t=0 0
m=audio 28432 RTP/AVP 0 8 9 18 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
20:46:17 613003mS H323Evt: Recv: RegistrationRequest 10.2.1.70; Extn(250), time since last RRQ-KA 55003, Endpoints registered: 13; Endpoints in registration: 0
20:46:19 615494mS SIP Rx: UDP 206.15.174.61:5060 -> 10.1.1.31:5060
INVITE sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP SIP/2.0
Record-Route: <sip:206.15.174.61;lr=on;nat=yes>
Via: SIP/2.0/UDP 206.15.174.61;branch=z9hG4bK1b9b.f1efbd0d0d19b8e5ee1838eef96b63c2.0
v:SIP/2.0/UDP 206.15.134.131:5081;received=206.15.134.131;rport=5081;branch=z9hG4bKpZtv4mXUZj50j
Max-Forward:67
f:"Caller ID"<sip:+15555555555@206.15.134.131>;tag=j7HZ6XtNav8gQ
t:<sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP>
i:5d2d011d-6e02-123b-05b5-1866da8e0e22
CSeq:53463814 INVITE
m:<sip:mod_sofia@206.15.134.131:5081;alias=206.15.134.131~5081~1>
User-Agent:fs
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
u:talk,hold,conference,presence,as-feature-event,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
c:application/sdp
Content-Disposition:session
l:306

v=0
o=fs 1656006781 1656006782 IN IP4 206.15.134.131
s=fs
c=IN IP4 206.15.134.131
t=0 0
m=audio 28432 RTP/AVP 0 8 9 18 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
20:46:19 615509mS RES: Thu 23/6/2022 20:46:19 FreeMem=56132536 Heap=55908300(10) Cache=224236 MemObjs=12088(Max 13906) CMMsg=2(4) ASN=0 Buff=5200 1364 1000 7444 5 Links=64047(64179) BTree=1323(2647) CB=6064 MCT=0 CPU=04.23% CPUStats=03.69%/4/8/2256/2
0754/21443/00.03%/1/02.56% MCR=0 MCW=0 DEV=0
20:46:19 615509mS RES2: IP 500 V2 11.1.2.2.0 build 20 Tasks=57 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=14+77 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 TCP=37(TLS=9 OFF=0) TAPI=0 Partner=0 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
20:46:19 615509mS RES4: XML MemObjs=8 PoolMem=4748404(2) FreeMem=4736284(0) HeapUsed=0
20:46:19 615509mS RES5: CLog MemObjs=1674 FreePoolMem(Objs)=7056(126) TotalMem=100800 StringsTotalMem=199850
20:46:20 616345mS PRN: WARNING:
20:46:20 616345mS PRN: Applications Processor slot 3: heartbeat, couldn't find field Collab:
20:46:20 616345mS PRN:
20:46:20 616345mS PRN: WARNING:
20:46:20 616345mS PRN: Applications Processor slot 3: heartbeat, couldn't find/interpret field Collab_version:
20:46:20 616345mS PRN:
20:46:20 616429mS H323Evt: Recv: RegistrationRequest 10.2.1.78; Extn(117), time since last RRQ-KA 55004, Endpoints registered: 13; Endpoints in registration: 0
20:46:23 619494mS SIP Rx: UDP 206.15.174.61:5060 -> x.x.x.x:5060
INVITE sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP SIP/2.0
Record-Route: <sip:206.15.174.61;lr=on;nat=yes>
Via: SIP/2.0/UDP 206.15.174.61;branch=z9hG4bK1b9b.f1efbd0d0d19b8e5ee1838eef96b63c2.0
v:SIP/2.0/UDP 206.15.134.131:5081;received=206.15.134.131;rport=5081;branch=z9hG4bKpZtv4mXUZj50j
Max-Forwards:67
f:"Caller ID"<sip:+15555555555@206.15.134.131>;tag=j7HZ6XtNav8gQ
t:<sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP>
i:5d2d011d-6e02-123b-05b5-1866da8e0e22
CSeq:53463814 INVITE
m:<sip:mod_sofia@206.15.134.131:5081;alias=206.15.134.131~5081~1>
User-Agent:fs
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
u:talk,hold,conference,presence,as-feature-event,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
c:application/sdp
Content-Disposition:session
l:306

v=0
o=fs 1656006781 1656006782 IN IP4 206.15.134.131
s=fs
c=IN IP4 206.15.134.131
t=0 0
m=audio 28432 RTP/AVP 0 8 9 18 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
20:46:25 621010mS RES: Thu 23/6/2022 20:46:24 FreeMem=56132128 Heap=55908416(10) Cache=223712 MemObjs=12094(Max 13906) CMMsg=2(4) ASN=0 Buff=5200 1364 1000 7444 5 Links=64056(64179) BTree=1323(2647) CB=6064 MCT=0 CPU=04.69% CPUStats=03.74%/1/4/2256/2
0707/21443/00.03%/1/02.53% MCR=0 MCW=0 DEV=0
20:46:25 621010mS RES2: IP 500 V2 11.1.2.2.0 build 20 Tasks=57 RTEngine=0 CMRTEngine=0 ExRTEngine=0 Timer=14+77 Poll=0 Ready=0 CMReady=0 CMQueue=0 VPNNQueue=0 Monitor=1 SSA=1 TCP=37(TLS=9 OFF=0) TAPI=0 Partner=0 ASC=1 SYS=MNTD OPT=UMNT SDSPD=2034
20:46:25 621010mS RES4: XML MemObjs=8 PoolMem=4748404(2) FreeMem=4736284(0) HeapUsed=0
20:46:25 621010mS RES5: CLog MemObjs=1674 FreePoolMem(Objs)=7056(126) TotalMem=100800 StringsTotalMem=199850
20:46:25 621345mS PRN: WARNING:
20:46:25 621345mS PRN: Applications Processor slot 3: heartbeat, couldn't find field Collab:
20:46:25 621345mS PRN:
20:46:25 621345mS PRN: WARNING:
20:46:25 621345mS PRN: Applications Processor slot 3: heartbeat, couldn't find/interpret field Collab_version:
20:46:25 621345mS PRN:
20:46:27 623493mS SIP Rx: UDP 206.15.174.61:5060 -> x.x.x.x:5060
INVITE sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP SIP/2.0
Record-Route: <sip:206.15.174.61;lr=on;nat=yes>
Via: SIP/2.0/UDP 206.15.174.61;branch=z9hG4bK1b9b.f1efbd0d0d19b8e5ee1838eef96b63c2.0
v:SIP/2.0/UDP 206.15.134.131:5081;received=206.15.134.131;rport=5081;branch=z9hG4bKpZtv4mXUZj50j
Max-Forwards:67
f:"Caller ID" +15555555555@206.15.134.131>;tag=j7HZ6XtNav8gQ
t:<sip:4444444444@xxx.xxx.xxx.xxx> This is the Public IP>
i:5d2d011d-6e02-123b-05b5-1866da8e0e22
CSeq:53463814 INVITE
m:<sip:mod_sofia@206.15.134.131:5081;alias=206.15.134.131~5081~1>
User-Agent:fs
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
u:talk,hold,conference,presence,as-feature-event,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
c:application/sdp
Content-Disposition:session
l:306

v=0
o=fs 1656006781 1656006782 IN IP4 206.15.134.131
s=fs
c=IN IP4 206.15.134.131
t=0 0
m=audio 28432 RTP/AVP 0 8 9 18 101 13
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20

********** Warning: Logging to Screen Stopped **********
 
Enable SIP ALG on the router & don't bother with stun.
We are using a Meraki firewall and have the ports forwarded to the PBX.
Please tel me that this port forwarding has been restricted to only allow ingress from your sip provider. that is the bear minimum of security required, ideally an SBC should be used (an SBC would also have illiminated IP address issue)

Do things on the cheap & it will cost you dear

ACSS
 
Meraki doesn't support SIP ALG. And yes we are only allowing SIP provider IP's.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top