I have just configured my asterisk box as a sip gateway for a Cisco call manager express. Almost everything is working. The call manager and asterisk can call each other’s extensions, and external inbound calls work to the call manager. (Tested with my cell phone). The only thing that is not working is outbound calls from the call manager. I believe it is something on the asterisk side, because when an external call is placed through the call manager, I get the message “The number you have dialed is not in service”. If I shut down the asterisk box, outbound calls from the call manager won’t do anything. So I know that the two registered fine. The call manager is sip trunked to the asterisk box. GoogleVoice—Asterisk----CallManager—Phones I posted the output of asterisk –vvvvvvvvvvr when placing an outbound call, and my outbound route, and sip trunk. Can someone please help me get the outbound calls working? Thank you!
(10.10.10.1 is call manager. Asterisk is 192.168.1.109)
Sip to call manager peer details:
type=friend
fromuser=ccme
username=ccme
secret=cisco
qualify=yes
nat=no
insecure=very
host=10.10.10.1
fromdomain=10.10.10.1
dtmf=rfc2833
disallow=all
canreinvite=no
allow=gsm&ulaw&alaw&g729
registersip=yes
Sip to call manager user details:
type=friend
fromuser=ccme
username=ccme
secret=cisco
qualify=yes
nat=no
insecure=very
host=10.10.10.1
fromdomain=10.10.10.1
dtmf=rfc2833
disallow=all
context=from-internal
canreinvite=no
allow=gsm&ulaw&alaw&g729
Outbound route:
Outbound is done through google voice in PBX in a flash.
Output:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [8005532447@from-sip-external:1] NoOp(“SIP/192.168.1.109-00000048”, “Received incoming SIP connection from unknown peer to 8005532447”) in new stack
– Executing [8005532447@from-sip-external:2] Set(“SIP/192.168.1.109-00000048”, “DID=8005532447”) in new stack
– Executing [8005532447@from-sip-external:3] Goto(“SIP/192.168.1.109-00000048”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“SIP/192.168.1.109-00000048”, “1?checklang:noanonymous”) in new stack
– Goto (from-sip-external,s,2)
– Executing [s@from-sip-external:2] GotoIf(“SIP/192.168.1.109-00000048”, “0?setlanguage:from-trunk,8005532447,1”) in new stack
– Goto (from-trunk,8005532447,1)
– Executing [8005532447@from-trunk:1] Set(“SIP/192.168.1.109-00000048”, “__FROM_DID=8005532447”) in new stack
– Executing [8005532447@from-trunk:2] NoOp(“SIP/192.168.1.109-00000048”, “Received an unknown call with DID set to 8005532447”) in new stack
– Executing [8005532447@from-trunk:3] Goto(“SIP/192.168.1.109-00000048”, “s,a2”) in new stack
– Goto (from-trunk,s,2)
– Executing [s@from-trunk:2] Answer(“SIP/192.168.1.109-00000048”, “”) in new stack
– Executing [s@from-trunk:3] Wait(“SIP/192.168.1.109-00000048”, “2”) in new stack
– Executing [s@from-trunk:4] Playback(“SIP/192.168.1.109-00000048”, “ss-noservice”) in new stack
– <SIP/192.168.1.109-00000048> Playing ‘ss-noservice.gsm’ (language ‘en’)
– Executing [s@from-trunk:5] SayAlpha(“SIP/192.168.1.109-00000048”, “8005532447”) in new stack
– <SIP/192.168.1.109-00000048> Playing ‘digits/8.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/0.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/0.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/5.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/5.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/3.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/2.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/4.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/4.gsm’ (language ‘en’)
– <SIP/192.168.1.109-00000048> Playing ‘digits/7.gsm’ (language ‘en’)
– Executing [s@from-trunk:6] Hangup(“SIP/192.168.1.109-00000048”, “”) in new stack
== Spawn extension (from-trunk, s, 6) exited non-zero on ‘SIP/192.168.1.109-00000048’
– Executing [h@from-trunk:1] Macro(“SIP/192.168.1.109-00000048”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/192.168.1.109-00000048”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/192.168.1.109-00000048”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/192.168.1.109-00000048”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/192.168.1.109-00000048’ in macro ‘hangupcall’
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘SIP/192.168.1.109-00000048’