Hello all,
My intention is to connect two parties, one is a regular phone number the other is an extension (*43 for example). The call is initiated via Manager API.
The problem is that the called party cannot hear any sound. The same setup works perfectly when I’m trying to connect to an internal SIP client.
Maybe a detailed log could help better to identify my problem.
CASE 1: The called number is a Local channel, everything is ok.
[May 12 19:36:45] -- SIP/201-0911f6e0 is ringing
[May 12 19:36:47] -- SIP/201-0911f6e0 answered Local/201@default-4d9d,2
[May 12 19:36:47] > Channel Local/201@default-4d9d,1 was answered.
[May 12 19:36:47] -- Executing [*43@from-internal:1] Answer("Local/201@default-4d9d,1", "") in new stack
[May 12 19:36:47] -- Executing [*43@from-internal:2] Wait("Local/201@default-4d9d,1", "1") in new stack
[May 12 19:36:47] == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/201@default-4d9d,2' in macro 'dial'
[May 12 19:36:47] == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/201@default-4d9d,2' in macro 'exten-vm'
[May 12 19:36:47] == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/201@default-4d9d,2'
[May 12 19:36:47] -- Executing [h@macro-dial:1] Macro("Local/201@default-4d9d,2", "hangupcall") in new stack
[May 12 19:36:47] -- Executing [s@macro-hangupcall:1] ResetCDR("Local/201@default-4d9d,2", "w") in new stack
[May 12 19:36:47] -- Executing [s@macro-hangupcall:2] NoCDR("Local/201@default-4d9d,2", "") in new stack
[May 12 19:36:47] -- Executing [s@macro-hangupcall:3] GotoIf("Local/201@default-4d9d,2", "1?skiprg") in new stack
[May 12 19:36:47] -- Goto (macro-hangupcall,s,6)
[May 12 19:36:47] -- Executing [s@macro-hangupcall:6] GotoIf("Local/201@default-4d9d,2", "1?skipblkvm") in new stack
[May 12 19:36:47] -- Goto (macro-hangupcall,s,9)
[May 12 19:36:47] -- Executing [s@macro-hangupcall:9] GotoIf("Local/201@default-4d9d,2", "1?theend") in new stack
[May 12 19:36:47] -- Goto (macro-hangupcall,s,11)
[May 12 19:36:47] -- Executing [s@macro-hangupcall:11] Hangup("Local/201@default-4d9d,2", "") in new stack
[May 12 19:36:47] == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/201@default-4d9d,2' in macro 'hangupcall'
[May 12 19:36:47] == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/201@default-4d9d,2'
[May 12 19:36:47] == Manager 'devel' logged off from 192.168.0.200
[May 12 19:36:48] -- Executing [*43@from-internal:3] Playback("SIP/201-0911f6e0", "demo-echotest") in new stack
[May 12 19:36:48] -- <SIP/201-0911f6e0> Playing 'demo-echotest' (language 'en')
[May 12 19:36:53] == Spawn extension (from-internal, *43, 3) exited non-zero on 'SIP/201-0911f6e0'
[May 12 19:36:53] -- Executing [h@from-internal:1] Macro("SIP/201-0911f6e0", "hangupcall") in new stack
[May 12 19:36:53] -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/201-0911f6e0", "w") in new stack
[May 12 19:36:53] -- Executing [s@macro-hangupcall:2] NoCDR("SIP/201-0911f6e0", "") in new stack
[May 12 19:36:53] -- Executing [s@macro-hangupcall:3] GotoIf("SIP/201-0911f6e0", "1?skiprg") in new stack
[May 12 19:36:53] -- Goto (macro-hangupcall,s,6)
[May 12 19:36:53] -- Executing [s@macro-hangupcall:6] GotoIf("SIP/201-0911f6e0", "1?skipblkvm") in new stack
[May 12 19:36:53] -- Goto (macro-hangupcall,s,9)
[May 12 19:36:53] -- Executing [s@macro-hangupcall:9] GotoIf("SIP/201-0911f6e0", "1?theend") in new stack
[May 12 19:36:53] -- Goto (macro-hangupcall,s,11)
[May 12 19:36:53] -- Executing [s@macro-hangupcall:11] Hangup("SIP/201-0911f6e0", "") in new stack
[May 12 19:36:53] == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/201-0911f6e0' in macro 'hangupcall'
[May 12 19:36:53] == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/201-0911f6e0'
CASE 2: The called number is reached via service provider. Call is ringing, after pickup no sound can be heard.
The error message is “== Auto fallthrough, channel ‘SIP/axialys-0911dc70’ status is ‘UNKNOWN’”
[May 12 19:53:56] > Channel SIP/axialys-0911dc70 was answered.
[May 12 19:53:56] == Manager 'devel' logged off from 192.168.0.200
[May 12 19:53:56] -- Executing [*43@from-trunk:1] NoOp("SIP/axialys-0911dc70", "Catch-All DID Match - Found *43 - You probably want a DID for this.") in new stack
[May 12 19:53:56] -- Executing [*43@from-trunk:2] Goto("SIP/axialys-0911dc70", "ext-did|s|1") in new stack
[May 12 19:53:56] -- Goto (ext-did,s,1)
[May 12 19:53:56] -- Executing [s@ext-did:1] Set("SIP/axialys-0911dc70", "__FROM_DID=s") in new stack
[May 12 19:53:56] -- Executing [s@ext-did:2] GotoIf("SIP/axialys-0911dc70", "1 ?cidok") in new stack
[May 12 19:53:56] -- Goto (ext-did,s,4)
[May 12 19:53:56] -- Executing [s@ext-did:4] NoOp("SIP/axialys-0911dc70", "CallerID is "<3652425087>") in new stack
[May 12 19:53:56] == Auto fallthrough, channel 'SIP/axialys-0911dc70' status is 'UNKNOWN'