Failing SIP audio calls from multiple sources

Greetings all, Hope the holidays treated everyone well!

Wanted to run something by the community, and see if anyone has any insight on a problem I have.

Site #1:
• Running two PBXs behind a sonicwall firewall. Set up NAT rules in firewall for main PBX (.19).
• 192.168.17.19 is one PBx, with 192.168.17.20 being office PBX. .19 is hooked up to SIP trunk to outside provider to provide inbound/outbound.
• .19 has a IAX trunk directly to .20. This provides outbound/inbound for office PBX (.20). Reason for this method is to hook up multiple PBX via IAX to .19 and have that be main point of contact.

Site #2: SIP trunk directly to outside provider. All traffic inbound/outbound routed through provider. 172.16.0.10. Physically located on different WAN address. Sonicwall Firewall as well.

Phones located on all three PBX can call in and out with no issues. Audio is fantastic and calls crisp.

My problem is when I use a phone located off the .20 PBX to call a phone located off the Site #2 PBX.

Phone 150 is located of PBX .19
Phone 203 is located off PBX .20
Phone 301 is located off Site #2 PBX 10

Each phone can call local and long distance no problem. Audio both ways.
When phone 203 tries to call 301 (DID) associated on Site #3 PBX, NO audio either way.
When phone 150 calls 203 3 digit dialing and DID audio is present both ways.
When 150 calls 301 DID no audio is heard either way.

Added in Site #3 with PBX 90.20 and phone 200. Sonicwall firewall, and IAX to PBX Main .19 via WAN IP and NAT. All call traffic flows from 90.20 to main PBX .19 then out SIP Trunk.

Phone 203 calls phone 200 (via DID) and audio issues persist. Both ways!
Phone 203 calls phone 301 (Via DID) and audio issues persist. Both ways!
Phone 203 calls long distance and local----perfect audio

Main provider telling me its symmetric NAT issue, and fix that and issue will be fixed. Tested this theory by trying to place call from 150 to 300 and 203. Both fail with audio issues. Call connects but no RTP pushing.

Using NAT on sonicwalls not on Freepbx. Let me know if you want some posts of anything.

Thanks for the thoughts all

J

Hello Josh,
Seems typical nat issue.

What do you defined for externip and local lan in the different systems?

Every system will work with an external ip( normally fixed) and one or more address range for local lans.

So, if your phones in different offices has audio issues. Does the first system set on local the other 2 systems? Could you ping them?

If you enter in cli asterisk( asterisk -rvvvvvv) and set “rtp set debug on” what logs do you have on a call between two phones on different offices? ( you can stop rtp debug with “rtp set debug off”)

Here is the IP info and local networks for all. I will work on getting the RTP logs in asap as well.

Ok, let`s see

"Site #1:
• Running two PBXs behind a sonicwall firewall. Set up NAT rules in firewall for main PBX (.19).
• 192.168.17.19 is one PBx, with 192.168.17.20 being office PBX. .19 is hooked up to SIP trunk to outside provider to provide inbound/outbound.
• .19 has a IAX trunk directly to .20. This provides outbound/inbound for office PBX (.20). Reason for this method is to hook up multiple PBX via IAX to .19 and have that be main point of contact.

Site #2: SIP trunk directly to outside provider. All traffic inbound/outbound routed through provider. 172.16.0.10. Physically located on different WAN address. Sonicwall Firewall as well.

Phone 150 is located of PBX .192.168.17.19
Phone 203 is located off PBX . 192.168.17.20
Phone 301 is located off Site #2 PBX 172.16.0.10

I can’t see 172.16.0.10/24 configured in any of the systems?

Is that range correct?

sorry typo. Should be 172.16.7.0/24 for site 2

Ok thats right.

So 192.168.17.9 calls 172.16
7.10 trough iax.

If you register one sip account from 192.168.17.0/24 to the server on 172.16.7.10, an internal call works?

If yes, must be something related to iax configuration. Post here for debug.

If no, must be something related with your firewall. Check rtp set debug on to see if it is right.

It sounds like you are using x.x.x.19 as a Session Border Controller. While this is possible with FreePBX, there are other, better solutions to that part of the problem. Swapping this out for an SBC will simplify your configuration immensly.

@cynjut Your probally right. Looking into costs and processing right now.

Here is the rtp debug from pbx .20 for a call to site 3 pbx(192.168.90.XXX). Call from phone 203 (20) to phone 201 (192.168.90.142)
I am using this 192.168.90. pbx as it is local in my office for testing. Calls from 203 to 201= no audio either way.
Calls from 201 to 203= full audio both ways. Sounds like firewall NAT.

-- Executing [541Site2-201@from-internal:1] Macro("SIP/203-00001453", "user-callerid,LIMIT") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/203-00001453", "TOUCH_MONITOR=1546021392.7543") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/203-00001453", "AMPUSER=203") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/203-00001453", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/203-00001453", "1?Set(REALCALLERIDNUM=203)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/203-00001453", "AMPUSER=203") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/203-00001453", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/203-00001453", "AMPUSERCIDNAME=Josh Burdett") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("SIP/203-00001453", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/203-00001453", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/203-00001453", "AMPUSERCID=203") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/203-00001453", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/203-00001453", "CALLERID(all)="Josh Burdett" <203>") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/203-00001453", "0?limit") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/203-00001453", "1?Set(GROUP(concurrency_limit)=203)") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("SIP/203-00001453", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:16] NoOp("SIP/203-00001453", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/203-00001453", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] GotoIf("SIP/203-00001453", "1?continue") in new stack
-- Goto (macro-user-callerid,s,37)
-- Executing [s@macro-user-callerid:37] Set("SIP/203-00001453", "CALLERID(number)=203") in new stack
-- Executing [s@macro-user-callerid:38] Set("SIP/203-00001453", "CALLERID(name)=Josh Burdett") in new stack
-- Executing [s@macro-user-callerid:39] GotoIf("SIP/203-00001453", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:40] Set("SIP/203-00001453", "CDR(cnam)=Josh Burdett") in new stack
-- Executing [s@macro-user-callerid:41] Set("SIP/203-00001453", "CDR(cnum)=203") in new stack
-- Executing [s@macro-user-callerid:42] Set("SIP/203-00001453", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-user-callerid:43] GosubIf("SIP/203-00001453", "0?app-check-classofservce,s,1()") in new stack
-- Executing [541Site2-201@from-internal:2] Set("SIP/203-00001453", "ROUTEUSER=203") in new stack
-- Executing [541Site2-201@from-internal:3] Set("SIP/203-00001453", "ROUTEUSER=203") in new stack
-- Executing [541Site2-201@from-internal:4] GotoIf("SIP/203-00001453", "1?notblind") in new stack
-- Goto (from-internal,541Site2-201,7)
-- Executing [541Site2-201@from-internal:7] GotoIf("SIP/203-00001453", "1?restrictedroute-d3205b316e68a2d08b83b5785cabb27a,541Site2-201,2:outbound-allroutes,541Site2-201,2") in new stack
-- Goto (restrictedroute-d3205b316e68a2d08b83b5785cabb27a,541Site2-201,2)
-- Executing [541Site2-201@restrictedroute-d3205b316e68a2d08b83b5785cabb27a:2] Gosub("SIP/203-00001453", "sub-record-check,s,1(out,541Site2-201,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/203-00001453", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/203-00001453", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/203-00001453", "NOW=1546021392") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/203-00001453", "__DAY=28") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/203-00001453", "__MONTH=12") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/203-00001453", "__YEAR=2018") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/203-00001453", "__TIMESTR=20181228-102312") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/203-00001453", "__FROMEXTEN=203") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/203-00001453", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/203-00001453", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/203-00001453", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/203-00001453", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/203-00001453", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/203-00001453", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/203-00001453", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("SIP/203-00001453", "Outbound Recording Check from 203 to 541Site2-201") in new stack
-- Executing [out@sub-record-check:2] Set("SIP/203-00001453", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("SIP/203-00001453", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("SIP/203-00001453", "recordcheck,1(dontcare,out,541Site2-201)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/203-00001453", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/203-00001453", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/203-00001453", "") in new stack
-- Executing [out@sub-record-check:8] Return("SIP/203-00001453", "") in new stack
-- Executing [541Site2-201@restrictedroute-d3205b316e68a2d08b83b5785cabb27a:3] ExecIf("SIP/203-00001453", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [541Site2-201@restrictedroute-d3205b316e68a2d08b83b5785cabb27a:4] Set("SIP/203-00001453", "MOHCLASS=Hold") in new stack
-- Executing [541Site2-201@restrictedroute-d3205b316e68a2d08b83b5785cabb27a:5] Set("SIP/203-00001453", "_NODEST=") in new stack
-- Executing [541Site2-201@restrictedroute-d3205b316e68a2d08b83b5785cabb27a:6] Macro("SIP/203-00001453", "dialout-trunk,7,541Site2-201,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/203-00001453", "DIAL_TRUNK=7") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/203-00001453", "0?Set(DIAL_OPTIONS=tr)") in new stack
-- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/203-00001453", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:4] ExecIf("SIP/203-00001453", "0?Set(CALLERID(num)=203)") in new stack
-- Executing [s@macro-dialout-trunk:5] GotoIf("SIP/203-00001453", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/203-00001453", "DIAL_NUMBER=541Site2-201") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("SIP/203-00001453", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("SIP/203-00001453", "OUTBOUND_GROUP=OUT_7") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("SIP/203-00001453", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/203-00001453", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,12)
-- Executing [s@macro-dialout-trunk:12] GotoIf("SIP/203-00001453", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Macro("SIP/203-00001453", "outbound-callerid,7") in new stack
-- Executing [s@macro-outbound-callerid:1] NoOp("SIP/203-00001453", "203") in new stack
-- Executing [s@macro-outbound-callerid:2] NoOp("SIP/203-00001453", "") in new stack
-- Executing [s@macro-outbound-callerid:3] NoOp("SIP/203-00001453", "off") in new stack
-- Executing [s@macro-outbound-callerid:4] ExecIf("SIP/203-00001453", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:5] ExecIf("SIP/203-00001453", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:6] ExecIf("SIP/203-00001453", "0?Set(REALCALLERIDNUM=203)") in new stack
-- Executing [s@macro-outbound-callerid:7] ExecIf("SIP/203-00001453", "0?Set(AMPUSER=203)") in new stack
-- Executing [s@macro-outbound-callerid:8] GotoIf("SIP/203-00001453", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] Set("SIP/203-00001453", "USEROUTCID=5414644000") in new stack
-- Executing [s@macro-outbound-callerid:13] Set("SIP/203-00001453", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:14] Set("SIP/203-00001453", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:15] GotoIf("SIP/203-00001453", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,20)
-- Executing [s@macro-outbound-callerid:20] ExecIf("SIP/203-00001453", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:21] ExecIf("SIP/203-00001453", "1?Set(CALLERID(all)=5414644000)") in new stack
-- Executing [s@macro-outbound-callerid:22] ExecIf("SIP/203-00001453", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:23] ExecIf("SIP/203-00001453", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:24] ExecIf("SIP/203-00001453", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:25] Set("SIP/203-00001453", "CDR(outbound_cnum)=5414644000") in new stack
-- Executing [s@macro-outbound-callerid:26] Set("SIP/203-00001453", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:14] GosubIf("SIP/203-00001453", "0?sub-flp-7,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:15] Set("SIP/203-00001453", "OUTNUM=541Site2-201") in new stack
-- Executing [s@macro-dialout-trunk:16] Set("SIP/203-00001453", "custom=IAX2/Nexcom20") in new stack
-- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/203-00001453", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^Hold)T)") in new stack
-- Executing [s@macro-dialout-trunk:18] ExecIf("SIP/203-00001453", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^Hold)TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:19] Macro("SIP/203-00001453", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/203-00001453", "") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/203-00001453", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/203-00001453", "1?Set(CONNECTEDLINE(num,i)=541Site2-201)") in new stack
-- Executing [s@macro-dialout-trunk:22] ExecIf("SIP/203-00001453", "1?Set(CONNECTEDLINE(name,i)=CID:5414644000)") in new stack
-- Executing [s@macro-dialout-trunk:23] ExecIf("SIP/203-00001453", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)5414644000)") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/203-00001453", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("SIP/203-00001453", "IAX2/Nexcom20/541Site2-201,300,M(setmusic^Hold)Tb(func-apply-sipheaders^s^1)") in new stack
-- IAX2/Nexcom20-18196 Internal Gosub(func-apply-sipheaders,s,1) start
-- Executing [s@func-apply-sipheaders:1] NoOp("IAX2/Nexcom20-18196", "Applying SIP Headers to channel") in new stack
-- Executing [s@func-apply-sipheaders:2] Set("IAX2/Nexcom20-18196", "SIPHEADERKEYS=") in new stack
-- Executing [s@func-apply-sipheaders:3] ExecIf("IAX2/Nexcom20-18196", "0?Set(Rheader=1)") in new stack
-- Executing [s@func-apply-sipheaders:4] While("IAX2/Nexcom20-18196", "0") in new stack
-- Jumping to priority 8
-- Executing [s@func-apply-sipheaders:9] ExecIf("IAX2/Nexcom20-18196", "0?SIPRemoveHeader(Alert-Info:)") in new stack
-- Executing [s@func-apply-sipheaders:10] ExecIf("IAX2/Nexcom20-18196", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
-- Executing [s@func-apply-sipheaders:11] Return("IAX2/Nexcom20-18196", "") in new stack

== Spawn extension (, 541Site2-201, 1) exited non-zero on ‘IAX2/Nexcom20-18196’
– IAX2/Nexcom20-18196 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called IAX2/Nexcom20/541Site2-201
– Call accepted by 192.168.17.19:4569 (format g726)
– Format for call is (g726)
– IAX2/Nexcom20-18196 is ringing
[2018-12-28 10:23:21] NOTICE[2524]: chan_sip.c:28462 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 6000
– IAX2/Nexcom20-18196 answered SIP/203-00001453
– Executing [s@macro-setmusic:1] Set(“IAX2/Nexcom20-18196”, “CHANNEL(musicclass)=Hold”) in new stack
– Channel IAX2/Nexcom20-18196 joined ‘simple_bridge’ basic-bridge <0e6e5c34-63f0-4880-8b93-e9d40d8d3a8b>
– Channel SIP/203-00001453 joined ‘simple_bridge’ basic-bridge <0e6e5c34-63f0-4880-8b93-e9d40d8d3a8b>
> 0x7fde4809fe40 – Strict RTP switching to RTP target address 192.168.17.203:11798 as source
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000000, ts 4068042622, len 000160)
> 0x7fde4809fe40 – Strict RTP learning complete - Locking on source address 192.168.17.203:11798
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000001, ts 4068042782, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000002, ts 4068042942, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000003, ts 4068043102, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000004, ts 4068043262, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000005, ts 4068043422, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000006, ts 4068043582, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000007, ts 4068043742, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000008, ts 4068043902, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000009, ts 4068044062, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000010, ts 4068044222, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000011, ts 4068044382, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000012, ts 4068044542, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000013, ts 4068044702, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000014, ts 4068044862, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000015, ts 4068045022, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000016, ts 4068045182, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000017, ts 4068045342, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000018, ts 4068045502, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000103, ts 4068059102, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000104, ts 4068059262, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000105, ts 4068059422, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000106, ts 4068059582, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000107, ts 4068059742, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000108, ts 4068059902, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000109, ts 4068060062, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000110, ts 4068060222, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000111, ts 4068060382, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000112, ts 4068060542, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000113, ts 4068060702, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000114, ts 4068060862, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000115, ts 4068061022, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000116, ts 4068061182, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000117, ts 4068061342, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000118, ts 4068061502, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000119, ts 4068061662, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000120, ts 4068061822, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000121, ts 4068061982, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000122, ts 4068062142, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000123, ts 4068062302, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000124, ts 4068062462, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000162, ts 4068068542, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000163, ts 4068068702, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000164, ts 4068068862, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000165, ts 4068069022, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000166, ts 4068069182, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000167, ts 4068069342, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000168, ts 4068069502, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000169, ts 4068069662, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000170, ts 4068069822, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000171, ts 4068069982, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000172, ts 4068070142, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000173, ts 4068070302, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000174, ts 4068070462, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000175, ts 4068070622, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000176, ts 4068070782, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000177, ts 4068070942, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000178, ts 4068071102, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000179, ts 4068071262, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000180, ts 4068071422, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000181, ts 4068071582, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000182, ts 4068071742, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000183, ts 4068071902, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000184, ts 4068072062, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000185, ts 4068072222, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000186, ts 4068072382, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000187, ts 4068072542, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000188, ts 4068072702, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000189, ts 4068072862, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000190, ts 4068073022, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000191, ts 4068073182, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000192, ts 4068073342, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000193, ts 4068073502, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000194, ts 4068073662, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000195, ts 4068073822, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000196, ts 4068073982, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000197, ts 4068074142, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000198, ts 4068074302, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000199, ts 4068074462, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000200, ts 4068074622, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000201, ts 4068074782, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000202, ts 4068074942, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000203, ts 4068075102, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000204, ts 4068075262, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000205, ts 4068075422, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000206, ts 4068075582, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000207, ts 4068075742, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000208, ts 4068075902, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000209, ts 4068076062, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000210, ts 4068076222, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000211, ts 4068076382, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000212, ts 4068076542, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000213, ts 4068076702, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000214, ts 4068076862, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000215, ts 4068077022, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000216, ts 4068077182, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000217, ts 4068077342, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000218, ts 4068077502, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000219, ts 4068077662, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000220, ts 4068077822, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000221, ts 4068077982, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000222, ts 4068078142, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000223, ts 4068078302, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000224, ts 4068078462, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000225, ts 4068078622, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000226, ts 4068078782, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000227, ts 4068078942, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000228, ts 4068079102, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000229, ts 4068079262, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000230, ts 4068079422, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000231, ts 4068079582, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000232, ts 4068079742, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000233, ts 4068079902, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000234, ts 4068080062, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000235, ts 4068080222, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000236, ts 4068080382, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000237, ts 4068080542, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000238, ts 4068080702, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000239, ts 4068080862, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000240, ts 4068081022, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000241, ts 4068081182, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000242, ts 4068081342, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000243, ts 4068081502, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000244, ts 4068081662, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000245, ts 4068081822, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000246, ts 4068081982, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000247, ts 4068082142, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000248, ts 4068082302, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000249, ts 4068082462, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000250, ts 4068082622, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000251, ts 4068082782, len 000160)

Got RTP packet from 192.168.17.203:11798 (type 00, seq 000304, ts 4068091262, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000305, ts 4068091422, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000306, ts 4068091582, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000307, ts 4068091742, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000308, ts 4068091902, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000309, ts 4068092062, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000310, ts 4068092222, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000311, ts 4068092382, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000312, ts 4068092542, len 000160)

Got RTP packet from 192.168.17.203:11798 (type 00, seq 000349, ts 4068098462, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000350, ts 4068098622, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000351, ts 4068098782, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000352, ts 4068098942, len 000160)
Got RTP packet from 192.168.17.203:11798 (type 00, seq 000353, ts 4068099102, len 000160)
– Channel IAX2/Nexcom20-18196 left ‘simple_bridge’ basic-bridge <0e6e5c34-63f0-4880-8b93-e9d40d8d3a8b>
– Channel SIP/203-00001453 left ‘simple_bridge’ basic-bridge <0e6e5c34-63f0-4880-8b93-e9d40d8d3a8b>
== Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on ‘SIP/203-00001453’ in macro ‘dialout-trunk’
== Spawn extension (restrictedroute-d3205b316e68a2d08b83b5785cabb27a, 541Site2-201, 6) exited non-zero on ‘SIP/203-00001453’
– Executing [h@restrictedroute-d3205b316e68a2d08b83b5785cabb27a:1] Hangup(“SIP/203-00001453”, “”) in new stack
== Spawn extension (restrictedroute-d3205b316e68a2d08b83b5785cabb27a, h, 1) exited non-zero on ‘SIP/203-00001453’

-- Hungup 'IAX2/Nexcom20-18196'

NexcomNetworks*CLI>

Same call as seen through 192.168.17.19 (main pbx/sbc) Call comes from 203 to 201

rtp set debug on
rtp set debug onVoip2*CLI>
e[0KRTP Debugging Enabled

e[0Ke[1;30m – e[0mAccepting AUTHENTICATED call from 192.168.17.20:4569:
e[1;30m – e[0m > requested format = ulaw,
e[1;30m – e[0m > requested prefs = (ulaw|g722|alaw|g729|g723|gsm|g726|g726aal2|adpcm|slin|slin16|lpc10|speex|speex16|ilbc|siren7|siren14|testlaw|g719|opus…),
e[1;30m – e[0m > actual format = g726,
e[1;30m – e[0m > host prefs = (g726|g726aal2|adpcm|gsm|ilbc|speex|lpc10|g729|g723|ulaw|alaw|slin|slin16|speex16|g722|siren7|siren14|testlaw|g719|opus…),
e[1;30m – e[0m > priority = mine
e[0Ke[1;30m – e[0mExecuting [CID site3@from-internal:1] e[1;36mMacroe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35muser-callerid,LIMIT,EXTERNAL,e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:1] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mTOUCH_MONITOR=1546021911.5531e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:2] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mAMPUSER=main cide[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:3] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?reporte[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:4] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?Set(REALCALLERIDNUM=main cid)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:5] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mAMPUSER=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:6] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?limite[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:7] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mAMPUSERCIDNAME=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:8] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(__CIDMASQUERADING=TRUE)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:9] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?reporte[0m”) in new stack
e[1;30m – e[0mGoto (macro-user-callerid,s,16)
e[1;30m – e[0mExecuting [s@macro-user-callerid:16] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mMacro Depth is 1e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:17] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?report2:macroerrore[0m”) in new stack
e[1;30m – e[0mGoto (macro-user-callerid,s,18)
e[1;30m – e[0mExecuting [s@macro-user-callerid:18] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?continuee[0m”) in new stack
e[1;30m – e[0mGoto (macro-user-callerid,s,37)
e[1;30m – e[0mExecuting [s@macro-user-callerid:37] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCALLERID(number)=main cide[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:38] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCALLERID(name)=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-user-callerid:39] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?cnume[0m”) in new stack
e[1;30m – e[0mGoto (macro-user-callerid,s,41)
e[1;30m – e[0mExecuting [s@macro-user-callerid:41] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCDR(cnum)=main cide[0m”) in new stack
e[0Ke[1;30m – e[0mExecuting [s@macro-user-callerid:42] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCHANNEL(language)=ene[0m”) in new stack
e[1;30m – e[0mExecuting [CID site3@from-internal:2] e[1;36mGosube[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35msub-record-check,s,1(out,CID site3,dontcare)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:1] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?initializede[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:2] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__REC_STATUS=INITIALIZEDe[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:3] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mNOW=1546021911e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:4] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__DAY=28e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:5] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__MONTH=12e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:6] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__YEAR=2018e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:7] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__TIMESTR=20181228-183151e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:8] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__FROMEXTEN=main cide[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:9] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__MON_FMT=wave[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:10] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mRecordings initializede[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:11] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(ARG3=dontcare)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:12] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mREC_POLICY_MODE_SAVE=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:13] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(REC_STATUS=NO)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@sub-record-check:14] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m3?checkactione[0m”) in new stack
e[1;30m – e[0mGoto (sub-record-check,s,17)
e[1;30m – e[0mExecuting [s@sub-record-check:17] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?sub-record-check,out,1e[0m”) in new stack
e[1;30m – e[0mGoto (sub-record-check,out,1)
e[1;30m – e[0mExecuting [out@sub-record-check:1] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mOutbound Recording Check from main cid to CID site3e[0m”) in new stack
e[1;30m – e[0mExecuting [out@sub-record-check:2] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mRECMODE=e[0m”) in new stack
e[1;30m – e[0mExecuting [out@sub-record-check:3] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?Goto(routewins)e[0m”) in new stack
e[1;30m – e[0mGoto (sub-record-check,out,7)
e[1;30m – e[0mExecuting [out@sub-record-check:7] e[1;36mGosube[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mrecordcheck,1(dontcare,out,CID site3)e[0m”) in new stack
e[1;30m – e[0mExecuting [recordcheck@sub-record-check:1] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mStarting recording check against dontcaree[0m”) in new stack
e[1;30m – e[0mExecuting [recordcheck@sub-record-check:2] e[1;36mGotoe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mdontcaree[0m”) in new stack
e[1;30m – e[0mGoto (sub-record-check,recordcheck,3)
e[1;30m – e[0mExecuting [recordcheck@sub-record-check:3] e[1;36mReturne[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35me[0m”) in new stack
e[1;30m – e[0mExecuting [out@sub-record-check:8] e[1;36mReturne[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35me[0m”) in new stack
e[1;30m – e[0mExecuting [CID site3@from-internal:3] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0 ?Set(CDR(accountcode)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [CID site3@from-internal:4] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mMOHCLASS=defaulte[0m”) in new stack
e[1;30m – e[0mExecuting [CID site3@from-internal:5] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m_NODEST=e[0m”) in new stack
e[1;30m – e[0mExecuting [CID site3@from-internal:6] e[1;36mMacroe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mdialout-trunk,3,CID site3,offe[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:1] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mDIAL_TRUNK=3e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:2] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(DIAL_OPTIONS=Hhtr)e[0m”) in new stack
e[0Ke[1;30m – e[0mExecuting [s@macro-dialout-trunk:3] e[1;36mGosubIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?sub-pincheck,s,1()e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:4] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERID(num)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:5] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?disabletrunk,1e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:6] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mDIAL_NUMBER=CID site3e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:7] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mDIAL_TRUNK_OPTIONS=HhTtre[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:8] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mOUTBOUND_GROUP=OUT_3e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:9] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mDIAL_TRUNK_OPTIONS=Te[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:10] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?nomaxe[0m”) in new stack
e[1;30m – e[0mGoto (macro-dialout-trunk,s,12)
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:12] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?skipoutcide[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:13] e[1;36mMacroe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35moutbound-callerid,3e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:1] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mmain cide[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:2] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35me[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:3] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35moffe[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:4] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERPRES(name-pres)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:5] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERPRES(num-pres)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:6] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(REALCALLERIDNUM=main cid)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:7] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(AMPUSER=main cid)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:8] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?normcide[0m”) in new stack
e[1;30m – e[0mGoto (macro-outbound-callerid,s,12)
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:12] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mUSEROUTCID=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:13] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mEMERGENCYCID=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:14] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mTRUNKOUTCID=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:15] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?trunkcide[0m”) in new stack
e[1;30m – e[0mGoto (macro-outbound-callerid,s,20)
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:20] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERID(all)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:21] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERID(all)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:22] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERID(all)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:23] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERPRES(name-pres)=prohib_passed_screen)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:24] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CALLERPRES(num-pres)=prohib_passed_screen)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-outbound-callerid:25] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCDR(outbound_cnum)=main cide[0m”) in new stack
e[0Ke[1;30m – e[0mExecuting [s@macro-outbound-callerid:26] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCDR(outbound_cnam)=e[0m”) in new stack
e[0Ke[1;30m – e[0mExecuting [s@macro-dialout-trunk:14] e[1;36mGosubIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?sub-flp-3,s,1()e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:15] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mOUTNUM=CID site3e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:16] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mcustom=SIP/Bandwidth-2e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:17] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:18] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:19] e[1;36mMacroe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mdialout-trunk-predial-hook,e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk-predial-hook:1] e[1;36mMacroExite[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35me[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:20] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?skipcrme[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:21] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__CRM_DIRECTION=OUTBOUNDe[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:22] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__CRM_DESTINATION=CID site3e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:23] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__CRM_SOURCE=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:24] e[1;36mAGIe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35msangomacrm.agie[0m”) in new stack
e[1;30m – e[0mLaunched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
e[0Ke[1;30m – e[0m<IAX2/Nexcom-130>AGI Script sangomacrm.agi completed, returning 0
e[0Ke[1;30m – e[0mExecuting [s@macro-dialout-trunk:25] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCHANNEL(hangup_handler_push)=crm-hangup,s,1e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:26] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mCRM Finishede[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:27] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?bypass,1e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:28] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CONNECTEDLINE(num,i)=CID site3)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:29] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CONNECTEDLINE(name,i)=CID:main cid)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:30] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)main cid)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:31] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?customtrunke[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-dialout-trunk:32] e[1;36mDiale[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mSIP/Bandwidth-2/CID site3,300,Tb(func-apply-sipheaders^s^1)e[0m”) in new stack
e[1;30m == e[0mUsing SIP RTP TOS bits 184
e[1;30m == e[0mUsing SIP RTP CoS mark 5
e[1;30m – e[0mSIP/Bandwidth-2-00000ae6 Internal Gosub(func-apply-sipheaders,s,1) start
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:1] e[1;36mExecIfe[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35m0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:2] e[1;36mNoOpe[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35mApplying SIP Headers to channele[0m”) in new stack
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:3] e[1;36mSete[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35mSIPHEADERKEYS=e[0m”) in new stack
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:4] e[1;36mExecIfe[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35m0?Set(Rheader=1)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:5] e[1;36mWhilee[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35m0e[0m”) in new stack
e[1;30m – e[0mJumping to priority 9
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:10] e[1;36mExecIfe[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35m0?SIPRemoveHeader(Alert-Info:)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:11] e[1;36mExecIfe[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35m0?Set(PJSIP_HEADER(remove,Alert-Info)=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@func-apply-sipheaders:12] e[1;36mReturne[0m(“e[1;35mSIP/Bandwidth-2-00000ae6e[0m”, “e[1;35me[0m”) in new stack
e[1;30m == e[0mSpawn extension (from-trunk, CID site3, 1) exited non-zero on ‘SIP/Bandwidth-2-00000ae6’
e[1;30m – e[0mSIP/Bandwidth-2-00000ae6 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=

e[0Ke[1;30m – e[0mCalled SIP/Bandwidth-2/CID site3
e[0Ke[1;30m – e[0mSIP/Bandwidth-2-00000ae6 is ringing
e[0Ke[1;30m – e[0mSIP/Bandwidth-2-00000ae6 is ringing
e[0Ke[1;30m > e[0m0x7f37dc025f20 – Strict RTP learning after remote address set to: 67.231.0.24:56630
e[1;30m – e[0mSIP/Bandwidth-2-00000ae6 answered IAX2/Nexcom-130
e[0Ke[1;30m – e[0mChannel SIP/Bandwidth-2-00000ae6 joined ‘simple_bridge’ basic-bridge <9488c42d-c89a-4859-9f48-991113ddd998>
e[0Ke[1;30m – e[0mChannel IAX2/Nexcom-130 joined ‘simple_bridge’ basic-bridge <9488c42d-c89a-4859-9f48-991113ddd998>

e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027206, ts 025600, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027207, ts 025760, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027208, ts 025920, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027209, ts 026080, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027210, ts 026240, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027211, ts 026400, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027212, ts 026560, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027213, ts 026720, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027214, ts 026880, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027215, ts 027040, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027216, ts 027200, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027217, ts 027360, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027218, ts 027520, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027219, ts 027680, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027220, ts 027840, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027221, ts 028000, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027222, ts 028160, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027223, ts 028320, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027224, ts 028480, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027225, ts 028640, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027226, ts 028800, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027227, ts 028960, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027228, ts 029120, len 000160)
[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027229, ts 029280, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027230, ts 029440, len 000160)
0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027231, ts 029600, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027232, ts 029760, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027233, ts 029920, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027234, ts 030080, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027235, ts 030240, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027236, ts 030400, len 000160)
e[0KSent RTP packet to 67.231.0.24:56630 (type 00, seq 027237, ts 030560, len 000160)
e
[0Ke[1;30m – e[0mChannel SIP/Bandwidth-2-00000ae6 left ‘simple_bridge’ basic-bridge <9488c42d-c89a-4859-9f48-991113ddd998>
[0Ke[1;30m – e[0mChannel IAX2/Nexcom-130 left ‘simple_bridge’ basic-bridge <9488c42d-c89a-4859-9f48-991113ddd998>
e[1;30m == e[0mSpawn extension (macro-dialout-trunk, s, 32) exited non-zero on ‘IAX2/Nexcom-130’ in macro ‘dialout-trunk’
e[1;30m == e[0mSpawn extension (from-internal, CID site3, 6) exited non-zero on ‘IAX2/Nexcom-130’
e[1;30m – e[0mExecuting [h@from-internal:1] e[1;36mMacroe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mhangupcalle[0m”) in new stack
e[1;30m – e[0mExecuting [s@macro-hangupcall:1] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m1?theende[0m”) in new stack
e[1;30m – e[0mGoto (macro-hangupcall,s,3)

e[0Ke[1;30m – e[0mExecuting [s@macro-hangupcall:3] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(CDR(recordingfile)=)e[0m”) in new stack

e[0Ke[1;30m – e[0mExecuting [s@macro-hangupcall:4] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mSIP/Bandwidth-2-00000ae6 monior file= e[0m”) in new stack

e[0Ke[1;30m – e[0mExecuting [s@macro-hangupcall:5] e[1;36mAGIe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mattendedtransfer-rec-restart.php,SIP/Bandwidth-2-00000ae6,e[0m”) in new stack
e[1;30m – e[0mLaunched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
e[0Ke[1;30m – e[0m<IAX2/Nexcom-130>AGI Script attendedtransfer-rec-restart.php completed, returning 0
e[1;30m – e[0mExecuting [s@macro-hangupcall:6] e[1;36mHangupe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35me[0m”) in new stack
e[1;30m == e[0mSpawn extension (macro-hangupcall, s, 6) exited non-zero on ‘IAX2/Nexcom-130’ in macro ‘hangupcall’
e[1;30m == e[0mSpawn extension (from-internal, h, 1) exited non-zero on ‘IAX2/Nexcom-130’
e[1;30m – e[0mIAX2/Nexcom-130 Internal Gosub(crm-hangup,s,1) start
e[1;30m – e[0mExecuting [s@crm-hangup:1] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mSending Hangup to CRMe[0m”) in new stack
e[1;30m – e[0mExecuting [s@crm-hangup:2] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mHANGUP CAUSE: 16e[0m”) in new stack
e[1;30m – e[0mExecuting [s@crm-hangup:3] e[1;36mExecIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?Set(__CRM_VOICEMAIL=)e[0m”) in new stack
e[1;30m – e[0mExecuting [s@crm-hangup:4] e[1;36mNoOpe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35mMASTER CHANNEL: 1546021911.5531 = 1546021911.5531e[0m”) in new stack
e[1;30m – e[0mExecuting [s@crm-hangup:5] e[1;36mGotoIfe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m0?returne[0m”) in new stack
e[1;30m – e[0mExecuting [s@crm-hangup:6] e[1;36mSete[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35m__CRM_HANGUP=1e[0m”) in new stack
e[1;30m – e[0mExecuting [s@crm-hangup:7] e[1;36mAGIe[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35msangomacrm.agie[0m”) in new stack
e[1;30m – e[0mLaunched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
e[0Ke[1;30m – e[0m<IAX2/Nexcom-130>AGI Script sangomacrm.agi completed, returning 0
e[0Ke[1;30m – e[0mExecuting [s@crm-hangup:8] e[1;36mReturne[0m(“e[1;35mIAX2/Nexcom-130e[0m”, “e[1;35me[0m”) in new stack
e[1;30m == e[0mSpawn extension (from-internal, h, 1) exited non-zero on ‘IAX2/Nexcom-130’
e[1;30m – e[0mIAX2/Nexcom-130 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
e[1;30m – e[0mHungup ‘IAX2/Nexcom-130’

Calls to 203 (192.168.17.20 PBX)
201 calls 203 via DID XXX-XXX-4000. Full Audio across via SIP trunk provider
150 calls 203 via 3 digit dialing direct. Full Audio across via IAX trunk local

Calls to 201 (192.168.90. XXX PBX)
203 calls 201 via DID XXX-XXX-5283. No audio across via SIP trunk provider
150 calls 201 via DID XXX-XXX-5283. No audio across via SIP trunk provider

Calls to 150 (192.168.17.19 PBX)
203 to 150 via DID XXX-XXX-5285. NO AUDIO across via SIP trunk provider
203 to 150 via IAX local. Full audio
201 to 150 via DID XXX-XXX-5285. NO AUDIO across via SIP trunk provide

Happy new year.

Interesting your last comment.

If we are talking about no audio issues via DID, is not a problem of your freepbx as they can talk between them via iax.

Calls via DID goes to the carrier and them goes back to your freepbx, so you must have the ip adresses of the carrier on the sip capture. Or even your carrier is redirecting the calls to stablish link between them and save for channels.

Anyway, you must talk with your carrier and get sip captures to know what ip adresses are been interchanging at rtp and SIP.

Resgards

OK, we’ve already established that this appears to be an overly complicated setup with no benefits ascribed to the complexity and that you are using FreePBX to do something that it doesn’t do well already. So, problem 1.

Problem 2. One-way audio is almost always a problem with NAT. The call traces you need to look at (using SIP DEBUG commands) will show you where the NAT processing part of the PBX Is trying to send your audio.

Direct connected PBXs with properly setup firewalls and no routing in between (say over a VLAN or in a direct connect local environment) don’t usually have one-way audio problems since the audio can find it’s way back to the originator either through direct media or through the PBXes telling each other how to send the traffic.

That last bit is really important. You need to make sure that the PBXes all know how to get traffic to all of the other devices in the system. With the super-complicated routing setup you have established, the problem is likely that one or more of the devices in the system is trying to tell the rest of the devices to send to audio to a non-routable address that someone doesn’t know about.

The places you need to check for NAT routing issues include:

  1. All of the phones.
  2. All of the extension configurations.
  3. All of the trunks.
  4. All of the firewall setups in all of the PBXes.
  5. All of the external firewalls.
  6. All of the routers.
  7. Your network providers to make sure they are allowing the traffic.

Remember: Phones call the PBX they are connected (registered) with. They never call direct to other phones. Each PBX will only call another PBX (or the phones attached). Because of this, all calls pass “how to get to the phone” information between each of the PBXes. This means that, if your PBX is not telling everything he connects to how to correctly get audio to your other PBXes, you will have one-way audio - perhaps in both directions.

Final note: your logs tell you a lot of information. One of the things you need to discriminate on is whether all of your call paths support all of your codecs. This is the “other” oneway audio cause. For testing, you need to use a single supported “locallty appropriate” version of ulaw or alaw. We know that IAX2 sometimes has problems passing other codecs, so this could effect your ability to pass traffic. Before you announce “my IAX2 lines always work”: the codec for the call is established first thing and isn’t really negotiable after that, so if you have an external call that passes over the IAX2 link to another PBX, you may be setting yourself up when the IAX2 link fails the call.

Finally, you need to make sure that your outward facing routers are routing UDP 10000-20000 to your PBX on the local network. This often freaks people out because they are afraid that this opens their systems to hacking. While there is some additional risk involved, this choice is still considered a “best practice” because it allows the independent call path for the audio to establish itself at the same time the incoming SIP session is being established. Once the audio path through the external routers and firewalls are established, your audio can proceed. This independent path is also part of the reason that NAT settings are so important, since the independent audio path is “managed” by the NAT rules in the system.

Hope that helps.

finally got it fixed with help from upstream. NAT was fine, but RTP port was randomizing from what advertised. Took it back to sonicwall and they literally checked a box in advanced settings in NAT. Basically told it to stop randomizing ports on NTP. Calls work perfect. Dumb but ok, happy its working. Updated documentation to show what to do with sonicwall firewalls and freepbx.

Thanks for all the help guys and gals

J

Do you know which box they checked? If so, you might want to add a note to the thread Happiness With Sonicwalls - It can happen! so that the next guy that has this problem can get the whole story, and perhaps avoid it in the future.

Wow i wished i would have found that link earlier. Just goes to show you need to keep on looking always. the check box was the same one posted in the links. Thanks for the share and again all the help

J

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.