webcallback - Audio Issue

Jan 28, 2014 at 3:29 PM
Hi Aaron,

Webcallback is working "without audio" for my local installation. Can you please help me to solve this issue?

Following is the webcallback dial plan which i am using for testing purpose.

sys.Log("webcallback dialplan starting...callback number=#{req.URI.user}")
sys.Callback("admin@local", "music@iptel.org") webcall back URL -
http://xyz.co:8080/callmanager.svc/webcallback?user=admin&number=xxxxxxxxxx

Following is the log which I am getting in console -

DialPlan 16:21:13:662 admin: webcallback dialplan starting...callback number=xxxxxxx
DialPlan 16:21:13:662 admin: Dialplan cleanup for admin.
DialPlan 16:21:13:662 admin: Callback app commencing first leg to admin@local. DialPlan 16:21:13:678 admin: Call leg is for local domain forwarding to incoming dialplan for admin@xyz.co. DialPlan 16:21:13:678 admin: ForkCall commencing call leg to sip:admin@local. DialPlan 16:21:13:678 admin: Creating B2B call for sip:admin@local. DialPlan 16:21:13:864: Call Manager processing new call on thread sipcallmanager-processcalls-2 for INVITE to sip:admin@local. DialPlan 16:21:13:897 admin: Using dialplan complex for In call to sip:admin@local. NewCall 16:21:13:974 admin: Executing script dial plan for call to admin.
DialPlan 16:21:14:005: Dial plan execution starting on thread dialplanscript-19 for admin.
DialPlan 16:21:14:052 admin: ** Call from sip:admin@xyz.co;tag=RVFXRFRNQA to admin **
DialPlan 16:21:14:052 admin: Local time: 01/28/2014 08:21
DialPlan 16:21:14:052 admin: FromName: 'admin'
DialPlan 16:21:14:068 admin: Dial plan execution completed without answering and with no last failure status.
DialPlan 16:21:14:068: UAS call failed with a response status of 480.
DialPlan 16:21:14:132 admin: URI dialing: admin@local
DialPlan 16:21:14:132 admin: Commencing Dial with: admin@local. DialPlan 16:21:14:146 admin: Call leg is for local domain looking up bindings for admin@xyz.co for call leg admin@local. DialPlan 16:21:14:146: Dial plan finished for admin, gc memory=20336816, physical memory=68407296, running script count=2.
DialPlan 16:21:14:161 admin: 1 found for admin@xyz.co. DialPlan 16:21:14:161 admin: ForkCall commencing call leg to sip:admin@172.249.xx.xxx:43528;rinstance=6ec10473433ec289. DialPlan 16:21:14:161 admin: Switching to sip:admin@172.249.xx.xxx:43528 via udp:127.0.0.1:5060.
DialPlan 16:21:14:161 admin: SDP on UAC could not be mangled, using original RTP socket of 127.0.0.1:16157.
DialPlan 16:21:14:255: req INVITE from=admin, to=admin, udp:127.0.0.1:5065
DialPlan 16:21:14:381 admin: Information response 100 Trying for sip:admin@172.249.xx.xxx:43528;rinstance=6ec10473433ec289. DialPlan 16:21:14:427 admin: Information response 180 Ringing for sip:admin@172.249.xx.xxx:43528;rinstance=6ec10473433ec289. DialPlan 16:21:14:427 admin: B2BUA call progressing with Ringing.
DialPlan 16:21:14:427 admin: Progress response of Ringing received on CallBack Dial.
DialPlan 16:21:16:601: req ACK from=admin, to=admin, udp:127.0.0.1:5065
DialPlan 16:21:16:601 admin: Response 200 OK for sip:admin@172.249.xx.xxx:43528;rinstance=6ec10473433ec289. DialPlan 16:21:16:601 admin: SDP on UAC response had RTP socket mangled from 192.168.1.128:63506 to 172.249.xx.xxx:63506.
DialPlan 16:21:16:601 admin: Cancelling all call legs for ForkCall app.
DialPlan 16:21:16:601 admin: Answering client call with a response status of 200.
DialPlan 16:21:16:680 admin: Cancelling all call legs for ForkCall app.
DialPlan 16:21:16:680 admin: Dial command was successfully answered in 2.52s.
DialPlan 16:21:16:680 admin: Dialplan cleanup for admin.
DialPlan 16:21:16:708 admin: Dial plan execution completed with normal clearing.
DialPlan 16:21:16:708: Dial plan finished for admin, gc memory=19866112, physical memory=68411392, running script count=1.
DialPlan 16:21:16:756 admin: The first call leg to admin@local was successful, audio socket=172.249.xx.xxx:63506.
DialPlan 16:21:16:756 admin: Callback app commencing second leg to music@iptel.org. DialPlan 16:21:16:756 admin: Attempting to locate a provider for call leg: sip:music@iptel.org. DialPlan 16:21:16:773 admin: ForkCall commencing call leg to sip:music@iptel.org. DialPlan 16:21:16:773 admin: Switching to sip:music@iptel.org:5060 via udp:127.0.0.1:5060.
DialPlan 16:21:16:773 admin: SDP on UAC call had public IP not mangled, RTP socket 172.249.xx.xxx:63506.
DialPlan 16:21:16:945: req INVITE from=callback, to=music, udp:127.0.0.1:5065
DNS 16:21:16:945: SIP DNS SRV record lookup requested for _sip._udp.iptel.org.
DNS 16:21:16:945: SIP DNS SRV record lookup pending for _sip._udp.iptel.org.
DialPlan 16:21:17:538: req INVITE from=callback, to=music, udp:127.0.0.1:5065
DNS 16:21:17:538: SIP DNS SRV record lookup requested for _sip._udp.iptel.org.
DNS 16:21:17:552: SIP DNS SRV record found for _sip._udp.iptel.org, result sip.iptel.org. 5060.
DNS 16:21:17:552: SIP DNS A record lookup requested for sip.iptel.org..
DialPlan 16:21:18:523: req INVITE from=callback, to=music, udp:127.0.0.1:5065
DNS 16:21:18:523: SIP DNS SRV record lookup requested for _sip._udp.iptel.org.
DNS 16:21:18:523: SIP DNS SRV record found for _sip._udp.iptel.org, result sip.iptel.org. 5060.
DNS 16:21:18:537: SIP DNS A record lookup requested for sip.iptel.org..
DNS 16:21:18:537: SIP DNS A record found for sip.iptel.org., result udp:212.79.111.155:5060.
DialPlan 16:21:18:678 admin: Information response 100 Connecting for sip:music@iptel.org. DialPlan 16:21:18:724 admin: Response 200 OK for sip:music@iptel.org. DialPlan 16:21:18:724 admin: SDP on UAC response had public IP not mangled, RTP socket 212.79.111.xxx:12886.
DialPlan 16:21:18:724 admin: Cancelling all call legs for ForkCall app.
DialPlan 16:21:18:753: req ACK from=callback, to=music, udp:127.0.0.1:5065
DialPlan 16:21:18:791 admin: The second call leg to music@iptel.org was successful, audio socket=212.79.111.xxx:12886.
DialPlan 16:21:18:945 admin: Re-inviting Callback dialogues to each other.
DialPlan 16:21:19:022 admin: Attempting to send RTP packet from 212.79.111.xxx:12886 to 172.249.xx.xxx:63506.
DialPlan 16:21:19:022 admin: Attempting to send RTP packet from 172.249.xx.xxx:63506 to 212.79.111.xxx:12886.
DialPlan 16:21:34:661: req REGISTER from=admin, to=admin, udp:172.249.xx.xxx:43528
BindingInProgress 16:21:34:661: Register queued for sip:admin@xyz.co. Registrar 16:21:34:694 admin: Binding update request for admin@xyz.co from udp:172.249.xx.xxx:43528, expiry requested 3600s granted 120s.
RegistrarTiming 16:21:34:755: Binding update time for admin@xyz.co took 61.2436ms.
RegisterSuccess 16:21:34:755 admin: Registration successful for admin@xyz.co from udp:172.249.xx.xxx:43528, binding sip:admin@172.249.xx.xxx:43528;expiry=120. RegistrarTiming 16:21:34:755: register result=Authenticated, time=93.4901ms, user=admin.
DialPlan 16:21:46:805: req BYE from=admin, to=admin, udp:172.249.xx.xxx:43528
DialPlan 16:21:46:996 admin: Matching dialogue found for BYE to sip:23.228.xxx.xx:5060 from udp:127.0.0.1:5060.
DialPlan 16:21:47:334: req BYE from=callback, to=music, udp:127.0.0.1:5065
Coordinator
Jan 30, 2014 at 9:09 AM
SIP audio issues are tricky to sort out at the best of times and in the case of the Callback application they are even trickier as it's an attempt to join two media streams together without control of the device at either end.

The best I can suggest is to get a good handle on the causes of audio issues with SIP, this article is a good place to start http://www.sipsorcery.com/mainsite/Help/SIPAudio.