i have just tried to make some changes on the TRUNK and Outside Routing
this is the message i am recieving,
– Called peoplecall/000038138552222
– Got SIP response 415 “Unsupported Media Type” back from 62.22.20.194
i am suprised with this one what do you think this is? a missing codec?
does the A@H support g729 i was not able to find it.
– Executing Macro(“SIP/200-b496”, “dialout-trunk|2|0038138552222|”) in new stack
– Executing GotoIf(“SIP/200-b496”, “1?3:2)”) in new stack
– Goto (macro-dialout-trunk,s,3)
– Executing Macro(“SIP/200-b496”, “user-callerid”) in new stack
– Executing DBget(“SIP/200-b496”, “AMPUSER=DEVICE/200/user”) in new stack
– DBget: varname=AMPUSER, family=DEVICE, key=200/user
– DBget: set variable AMPUSER to 200
– Executing DBget(“SIP/200-b496”, “AMPUSERCIDNAME=AMPUSER/200/cidname”) in new stack
– DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=200/cidname
– DBget: set variable AMPUSERCIDNAME to 200
– Executing GotoIf(“SIP/200-b496”, “0?5”) in new stack
– Executing SetCallerID(“SIP/200-b496”, ““200” <200>”) in new stack
– Executing NoOp(“SIP/200-b496”, “Using CallerID “200” <200>”) in new stack
– Executing Macro(“SIP/200-b496”, “record-enable|200|OUT”) in new stack
– Executing GotoIf(“SIP/200-b496”, “0 > 0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing AGI(“SIP/200-b496”, “recordingcheck|20060112-161229|1137100349.14”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060112-161229|1137100349.14: Outbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing NoOp(“SIP/200-b496”, “No recording needed”) in new stack
– Executing Macro(“SIP/200-b496”, “outbound-callerid|2”) in new stack
– Executing DBget(“SIP/200-b496”, “USEROUTCID=AMPUSER/200/outboundcid”) in new stack
– DBget: varname=USEROUTCID, family=AMPUSER, key=200/outboundcid
– DBget: set variable USEROUTCID to
– Executing GotoIf(“SIP/200-b496”, “0?4”) in new stack
– Executing SetCallerID(“SIP/200-b496”, “34700758574001”) in new stack
– Executing GotoIf(“SIP/200-b496”, “1?6”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing NoOp(“SIP/200-b496”, “CallerID set to 34700758574001”) in new stack
– Executing SetGroup(“SIP/200-b496”, “OUT_2”) in new stack
– Executing CheckGroup(“SIP/200-b496”, “”) in new stack
– Executing SetVar(“SIP/200-b496”, “DIAL_NUMBER=0038138552222”) in new stack
– Executing SetVar(“SIP/200-b496”, “DIAL_TRUNK=2”) in new stack
– Executing AGI(“SIP/200-b496”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
– AGI Script fixlocalprefix completed, returning 0
– Executing SetVar(“SIP/200-b496”, “OUTNUM=000038138552222”) in new stack
– Executing Cut(“SIP/200-b496”, “custom=OUT_2|:|1”) in new stack
– Executing GotoIf(“SIP/200-b496”, “0?16”) in new stack
– Executing Dial(“SIP/200-b496”, “SIP/peoplecall/000038138552222”) in new stack
– Called peoplecall/000038138552222
– Got SIP response 415 “Unsupported Media Type” back from 62.22.20.194
== No one is available to answer at this time (1:0/0/0)
– Executing Goto(“SIP/200-b496”, “s-NOANSWER|1”) in new stack
– Goto (macro-dialout-trunk,s-NOANSWER,1)
– Executing NoOp(“SIP/200-b496”, “Dial failed due to NOANSWER”) in new stack
– Executing Macro(“SIP/200-b496”, “dialout-trunk|3|0038138552222|”) in new stack
– Executing GotoIf(“SIP/200-b496”, “1?3:2)”) in new stack
– Goto (macro-dialout-trunk,s,3)
– Executing Macro(“SIP/200-b496”, “user-callerid”) in new stack
– Executing DBget(“SIP/200-b496”, “AMPUSER=DEVICE/34700758574001/user”) in new stack
– DBget: varname=AMPUSER, family=DEVICE, key=34700758574001/user
– DBget: Value not found in database.
– Executing DBget(“SIP/200-b496”, “AMPUSERCIDNAME=AMPUSER/200/cidname”) in new stack
– DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=200/cidname
– DBget: set variable AMPUSERCIDNAME to 200
– Executing GotoIf(“SIP/200-b496”, “0?5”) in new stack
– Executing SetCallerID(“SIP/200-b496”, ““200” <200>”) in new stack
– Executing NoOp(“SIP/200-b496”, “Using CallerID “200” <200>”) in new stack
– Executing Macro(“SIP/200-b496”, “record-enable|200|OUT”) in new stack
– Executing GotoIf(“SIP/200-b496”, “0 > 0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing AGI(“SIP/200-b496”, “recordingcheck|20060112-161237|1137100349.14”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
– Got SIP response 415 “Unsupported Media Type” back from 62.22.20.194
recordingcheck|20060112-161237|1137100349.14: Outbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing NoOp(“SIP/200-b496”, “No recording needed”) in new stack
– Executing Macro(“SIP/200-b496”, “outbound-callerid|3”) in new stack
– Executing DBget(“SIP/200-b496”, “USEROUTCID=AMPUSER/200/outboundcid”) in new stack
– DBget: varname=USEROUTCID, family=AMPUSER, key=200/outboundcid
– DBget: set variable USEROUTCID to
– Executing GotoIf(“SIP/200-b496”, “0?4”) in new stack
– Executing SetCallerID(“SIP/200-b496”, “34700758574002”) in new stack
– Executing GotoIf(“SIP/200-b496”, “1?6”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing NoOp(“SIP/200-b496”, “CallerID set to 34700758574002”) in new stack
– Executing SetGroup(“SIP/200-b496”, “OUT_3”) in new stack
– Executing CheckGroup(“SIP/200-b496”, “1”) in new stack
– Executing SetVar(“SIP/200-b496”, “DIAL_NUMBER=0038138552222”) in new stack
– Executing SetVar(“SIP/200-b496”, “DIAL_TRUNK=3”) in new stack
– Executing AGI(“SIP/200-b496”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
– AGI Script fixlocalprefix completed, returning 0
– Executing SetVar(“SIP/200-b496”, “OUTNUM=000038138552222”) in new stack
– Executing Cut(“SIP/200-b496”, “custom=OUT_3|:|1”) in new stack
– Executing GotoIf(“SIP/200-b496”, “0?16”) in new stack
– Executing Dial(“SIP/200-b496”, “SIP/peoplecall2/000038138552222”) in new stack
– Called peoplecall2/000038138552222
– Got SIP response 415 “Unsupported Media Type” back from 62.22.20.194
== No one is available to answer at this time (1:0/0/0)
– Executing Goto(“SIP/200-b496”, “s-NOANSWER|1”) in new stack
– Goto (macro-dialout-trunk,s-NOANSWER,1)
– Executing NoOp(“SIP/200-b496”, “Dial failed due to NOANSWER”) in new stack
– Executing Macro(“SIP/200-b496”, “outisbusy”) in new stack
– Executing Playback(“SIP/200-b496”, “all-circuits-busy-now”) in new stack
– Playing ‘all-circuits-busy-now’ (language ‘en’)
– Executing Playback(“SIP/200-b496”, “pls-try-call-later”) in new stack
– Playing ‘pls-try-call-later’ (language ‘en’)
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on ‘SIP/200-b496’ in macro ‘outisbusy’
== Spawn extension (from-internal, 0038138552222, 3) exited non-zero on ‘SIP/200-b496’
– Executing Macro(“SIP/200-b496”, “hangupcall”) in new stack
– Executing ResetCDR(“SIP/200-b496”, “w”) in new stack
– Executing NoCDR(“SIP/200-b496”, “”) in new stack
– Executing Wait(“SIP/200-b496”, “5”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘SIP/200-b496’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/200-b496’