Hi, I am trying to use ARI Bridges. I originate a call to my IP Phone by creating a channel and once it is answered I place both the channels in the bridge. Now what happens is the caller listens to some music (may be MOH) and when the Agent answers the call on IP Phone he listens to a prompt “Please Dial the Called Number”. The music on Caller’s channel continues till about 40-45 seconds after which the voice gets through and both can talk.
I don’t know what is happening in the first 40 seconds of the call.
But when I use Dial function in extensions.conf to patch to the same agent there is no such issue.
The logs from asterisk console are attached below.
Activating Stasis app ‘ACD’
== WebSocket connection from ‘192.168.93.53:58700’ for protocol ‘’ accepted using version ‘13’
– Accepting call from ‘07087561823’ to ‘2556251’ on channel 0/8, span 1
– Executing [2556251@from-pstn:1] GotoIf(“DAHDI/i1/07087561823-8”, “1?temp:”) in new stack
– Goto (from-pstn,2556251,3)
– Executing [2556251@from-pstn:3] Goto(“DAHDI/i1/07087561823-8”, “temp,_X!,1”) in new stack
– Goto (temp,_X!,1)
– Executing [_X!@temp:1] Verbose(“DAHDI/i1/07087561823-8”, “1, “TEMP ACD Testing””) in new stack
"TEMP ACD Testing"
– Executing [_X!@temp:2] Set(“DAHDI/i1/07087561823-8”, “lang=en”) in new stack
– Executing [_X!@temp:3] Answer(“DAHDI/i1/07087561823-8”, “”) in new stack
– Executing [_X!@temp:4] Stasis(“DAHDI/i1/07087561823-8”, “ACD”) in new stack
– <DAHDI/i1/07087561823-8> Playing ‘/usr/share/um/media/prompts/ivr/waiting_en.slin’ (language ‘en’)
– Called 10010
– PJSIP/10010-00000005 is ringing
> 0x7f537001dad0 – Probation passed - setting RTP source address to 172.16.3.146:55698
> 0x7f5370006d80 – Probation passed - setting RTP source address to 172.16.3.146:59072
– PJSIP/10010-00000005 answered
> Launching Stasis(ACD,AGENT_CH) on PJSIP/10010-00000005
– Channel DAHDI/i1/07087561823-8 joined ‘simple_bridge’ stasis-bridge
– Channel PJSIP/10010-00000005 joined ‘simple_bridge’ stasis-bridge
[Feb 26 17:30:02] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:05] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:08] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:11] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:14] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:17] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:20] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:23] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:26] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
[Feb 26 17:30:29] WARNING[17646]: netsock2.c:210 ast_sockaddr_split_hostport: Port missing in (null)
– Channel PJSIP/10010-00000004 left ‘simple_bridge’ stasis-bridge
– Channel PJSIP/10010-00000005 left ‘simple_bridge’ stasis-bridge
– Channel DAHDI/i1/07087561823-8 left ‘simple_bridge’ stasis-bridge
– Hungup ‘DAHDI/i1/07087561823-8’
[Feb 26 17:30:50] WARNING[19127]: res_http_websocket.c:519 ws_safe_read: Web socket closed abruptly
[Feb 26 17:30:50] WARNING[19127]: ari/ari_websockets.c:128 ast_ari_websocket_session_read: WebSocket read error: Success
Deactivating Stasis app ‘ACD’
== WebSocket connection from ‘192.168.93.53:58700’ closed