I’m having problems integrating the two systems. When I use a phone on the Call Manager side to dial a number on the Asterisk PBX I can see in the logs where the calls are arriving at the Asterisk PBX but I’m getting a “NUMBER NOT IN SERVICE” recording. Calls originaiating from Asterisk PBX to Call Manager are doing the same thing. Here are the logs:
Incoming
– Executing [6000@from-sip-external:1] NoOp(“SIP/172.30.6.132-0933d9b8”, “Received incoming SIP connection from unknown peer to 6000”) in new stack
– Executing [6000@from-sip-external:2] Set(“SIP/172.30.6.132-0933d9b8”, “DID=6000”) in new stack
– Executing [6000@from-sip-external:3] Goto(“SIP/172.30.6.132-0933d9b8”, “s|1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“SIP/172.30.6.132-0933d9b8”, “0?checklang:noanonymous”) in new stack
– Goto (from-sip-external,s,5)
– Executing [s@from-sip-external:5] Set(“SIP/172.30.6.132-0933d9b8”, “TIMEOUT(absolute)=15”) in new stack
– Channel will hangup at 2009-09-28 14:56:13 UTC.
– Executing [s@from-sip-external:6] Answer(“SIP/172.30.6.132-0933d9b8”, “”) in new stack
– Executing [s@from-sip-external:7] Wait(“SIP/172.30.6.132-0933d9b8”, “2”) in new stack
– Executing [s@from-sip-external:8] Playback(“SIP/172.30.6.132-0933d9b8”, “ss-noservice”) in new stack
– <SIP/172.30.6.132-0933d9b8> Playing ‘ss-noservice’ (language ‘en’)
– Executing [s@from-sip-external:9] PlayTones(“SIP/172.30.6.132-0933d9b8”, “congestion”) in new stack
– Executing [s@from-sip-external:10] Congestion(“SIP/172.30.6.132-0933d9b8”, “5”) in new stack
== Spawn extension (from-sip-external, s, 10) exited non-zero on ‘SIP/172.30.6.132-0933d9b8’
– Executing [h@from-sip-external:1] Hangup(“SIP/172.30.6.132-0933d9b8”, “”) in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/172.30.6.132-0933d9b8’
Outgoing
Connected to Asterisk 1.4.24 currently running on cb2365 (pid = 3833)
Verbosity is at least 3
– Executing [8620@from-internal:1] ResetCDR(“SIP/6000-0933d9b8”, “”) in new stack
– Executing [8620@from-internal:2] NoCDR(“SIP/6000-0933d9b8”, “”) in new stack
– Executing [8620@from-internal:3] Wait(“SIP/6000-0933d9b8”, “1”) in new stack
– Executing [8620@from-internal:4] Playback(“SIP/6000-0933d9b8”, “silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer”) in new stack
– <SIP/6000-0933d9b8> Playing ‘silence/1’ (language ‘en’)
– <SIP/6000-0933d9b8> Playing ‘cannot-complete-as-dialed’ (language ‘en’)
– <SIP/6000-0933d9b8> Playing ‘check-number-dial-again’ (language ‘en’)
– Executing [8620@from-internal:5] Wait(“SIP/6000-0933d9b8”, “1”) in new stack
– Executing [8620@from-internal:6] Congestion(“SIP/6000-0933d9b8”, “20”) in new stack
== Spawn extension (from-internal, 8620, 6) exited non-zero on ‘SIP/6000-0933d9b8’
– Executing [h@from-internal:1] Macro(“SIP/6000-0933d9b8”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/6000-0933d9b8”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/6000-0933d9b8”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/6000-0933d9b8”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/6000-0933d9b8”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/6000-0933d9b8’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6000-0933d9b8’
cb2365*CLI>