Another observation is that it does not register the trunk. 2.4 puts the register info in sip_registrations.conf and 2.2 in sip_additional.conf
Sip_registrations.conf is called in 2.4 in sip.conf I tried commenting out the line but still no change.
When I enter the register info in sip_additional.conf in 2.4 it registers but it still does not let me do an outside call.
The log of 2.4 is below during the call
-- Executing [907825211107@from-internal:1] Macro("SIP/80-b7d02338", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/80-b7d02338", "user-callerid: device 80") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/80-b7d02338", "AMPUSER=80") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/80-b7d02338", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/80-b7d02338", "1|Set|REALCALLERIDNUM=80") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/80-b7d02338", "REALCALLERIDNUM is 80") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/80-b7d02338", "AMPUSER=80") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/80-b7d02338", "AMPUSERCIDNAME=Conference Room") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/80-b7d02338", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/80-b7d02338", "AMPUSERCID=80") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/80-b7d02338", "CALLERID(all)="Conference Room" <80>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/80-b7d02338", "REALCALLERIDNUM=80") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/80-b7d02338", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/80-b7d02338", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/80-b7d02338", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/80-b7d02338", "Using CallerID "Conference Room" <80>") in new stack
-- Executing [907825211107@from-internal:2] Set("SIP/80-b7d02338", "_NODEST=") in new stack
-- Executing [907825211107@from-internal:3] Macro("SIP/80-b7d02338", "record-enable|80|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/80-b7d02338", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/80-b7d02338", "recordingcheck|20080425-192651|1209148011.14") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080425-192651|1209148011.14: PHPAGI internal configuration:
recordingcheck|20080425-192651|1209148011.14: Array
recordingcheck|20080425-192651|1209148011.14: (
recordingcheck|20080425-192651|1209148011.14: [phpagi] => Array
recordingcheck|20080425-192651|1209148011.14: (
recordingcheck|20080425-192651|1209148011.14: [debug] => 1
recordingcheck|20080425-192651|1209148011.14: [error_handler] => 1
recordingcheck|20080425-192651|1209148011.14: [admin] => root@localhost
recordingcheck|20080425-192651|1209148011.14: [hostname] => 127.0.0.1
recordingcheck|20080425-192651|1209148011.14: [tempdir] => /var/spool/asterisk/tmp/
recordingcheck|20080425-192651|1209148011.14: )
recordingcheck|20080425-192651|1209148011.14:
recordingcheck|20080425-192651|1209148011.14: [asmanager] => Array
recordingcheck|20080425-192651|1209148011.14: (
recordingcheck|20080425-192651|1209148011.14: [server] => localhost
recordingcheck|20080425-192651|1209148011.14: [port] => 5038
recordingcheck|20080425-192651|1209148011.14: [username] => meetme
recordingcheck|20080425-192651|1209148011.14: [secret] => meetme3
recordingcheck|20080425-192651|1209148011.14: )
recordingcheck|20080425-192651|1209148011.14:
recordingcheck|20080425-192651|1209148011.14: [fastagi] => Array
recordingcheck|20080425-192651|1209148011.14: (
recordingcheck|20080425-192651|1209148011.14: [#setuid] => 1
recordingcheck|20080425-192651|1209148011.14: [#basedir] => /var/lib/asterisk/agi-bin/
recordingcheck|20080425-192651|1209148011.14: )
recordingcheck|20080425-192651|1209148011.14:
recordingcheck|20080425-192651|1209148011.14: [festival] => Array
recordingcheck|20080425-192651|1209148011.14: (
recordingcheck|20080425-192651|1209148011.14: [text2wave] => /usr/bin/text2wave
recordingcheck|20080425-192651|1209148011.14: )
recordingcheck|20080425-192651|1209148011.14:
recordingcheck|20080425-192651|1209148011.14: [cepstral] => Array
recordingcheck|20080425-192651|1209148011.14: (
recordingcheck|20080425-192651|1209148011.14: [#swift] => /opt/swift/bin/swift
recordingcheck|20080425-192651|1209148011.14: [#voice] => David
recordingcheck|20080425-192651|1209148011.14: )
recordingcheck|20080425-192651|1209148011.14:
recordingcheck|20080425-192651|1209148011.14: )
recordingcheck|20080425-192651|1209148011.14:
recordingcheck|20080425-192651|1209148011.14: Outbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“SIP/80-b7d02338”, “No recording needed”) in new stack
– Executing [907825211107@from-internal:4] Macro(“SIP/80-b7d02338”, “dialout-trunk|3|7825211107||”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/80-b7d02338”, “DIAL_TRUNK=3”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/80-b7d02338”, “0|Authenticate|”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/80-b7d02338”, “0?disabletrunk|1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/80-b7d02338”, “DIAL_NUMBER=7825211107”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/80-b7d02338”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/80-b7d02338”, “GROUP()=OUT_3”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/80-b7d02338”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/80-b7d02338”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/80-b7d02338”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/80-b7d02338”, “outbound-callerid|3”) in new stack
– Executing [s@macro-outbound-callerid:1] GotoIf(“SIP/80-b7d02338”, “1?start”) in new stack
– Goto (macro-outbound-callerid,s,3)
– Executing [s@macro-outbound-callerid:3] NoOp(“SIP/80-b7d02338”, “REALCALLERIDNUM is 80”) in new stack
– Executing [s@macro-outbound-callerid:4] GotoIf(“SIP/80-b7d02338”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,9)
– Executing [s@macro-outbound-callerid:9] Set(“SIP/80-b7d02338”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:10] Set(“SIP/80-b7d02338”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“SIP/80-b7d02338”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:12] GotoIf(“SIP/80-b7d02338”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,16)
– Executing [s@macro-outbound-callerid:16] GotoIf(“SIP/80-b7d02338”, “1?usercid”) in new stack
– Goto (macro-outbound-callerid,s,18)
– Executing [s@macro-outbound-callerid:18] GotoIf(“SIP/80-b7d02338”, “1?report”) in new stack
– Goto (macro-outbound-callerid,s,22)
– Executing [s@macro-outbound-callerid:22] NoOp(“SIP/80-b7d02338”, “CallerID set to “Conference Room” <80>”) in new stack
– Executing [s@macro-dialout-trunk:12] AGI(“SIP/80-b7d02338”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: PHPAGI internal configuration:
fixlocalprefix: Array
fixlocalprefix: (
fixlocalprefix: [phpagi] => Array
fixlocalprefix: (
fixlocalprefix: [debug] => 1
fixlocalprefix: [error_handler] => 1
fixlocalprefix: [admin] => root@localhost
fixlocalprefix: [hostname] => 127.0.0.1
fixlocalprefix: [tempdir] => /var/spool/asterisk/tmp/
fixlocalprefix: )
fixlocalprefix:
fixlocalprefix: [asmanager] => Array
fixlocalprefix: (
fixlocalprefix: [server] => localhost
fixlocalprefix: [port] => 5038
fixlocalprefix: [username] => meetme
fixlocalprefix: [secret] => meetme3
fixlocalprefix: )
fixlocalprefix:
fixlocalprefix: [fastagi] => Array
fixlocalprefix: (
fixlocalprefix: [#setuid] => 1
fixlocalprefix: [#basedir] => /var/lib/asterisk/agi-bin/
fixlocalprefix: )
fixlocalprefix:
fixlocalprefix: [festival] => Array
fixlocalprefix: (
fixlocalprefix: [text2wave] => /usr/bin/text2wave
fixlocalprefix: )
fixlocalprefix:
fixlocalprefix: [cepstral] => Array
fixlocalprefix: (
fixlocalprefix: [#swift] => /opt/swift/bin/swift
fixlocalprefix: [#voice] => David
fixlocalprefix: )
fixlocalprefix:
fixlocalprefix: )
fixlocalprefix:
– AGI Script fixlocalprefix completed, returning 0
– Executing [s@macro-dialout-trunk:13] Set(“SIP/80-b7d02338”, “OUTNUM=7825211107”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/80-b7d02338”, “custom=”) in new stack
– Executing [s@macro-dialout-trunk:15] GotoIf(“SIP/80-b7d02338”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,17)
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/80-b7d02338”, “dialout-trunk-predial-hook|”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/80-b7d02338”, “0?bypass|1”) in new stack
– Executing [s@macro-dialout-trunk:19] GotoIf(“SIP/80-b7d02338”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:20] Dial(“SIP/80-b7d02338”, “/7825211107|300|”) in new stack
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:21] Goto(“SIP/80-b7d02338”, “s-CHANUNAVAIL|1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf(“SIP/80-b7d02338”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp(“SIP/80-b7d02338”, “TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks”) in new stack
– Executing [907825211107@from-internal:5] Macro(“SIP/80-b7d02338”, “outisbusy|”) in new stack
– Executing [s@macro-outisbusy:1] Playback(“SIP/80-b7d02338”, “all-circuits-busy-now|noanswer”) in new stack
– <SIP/80-b7d02338> Playing ‘all-circuits-busy-now’ (language ‘en’)
– Executing [s@macro-outisbusy:2] Playback(“SIP/80-b7d02338”, “pls-try-call-later|noanswer”) in new stack
– <SIP/80-b7d02338> Playing ‘pls-try-call-later’ (language ‘en’)
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on ‘SIP/80-b7d02338’ in macro ‘outisbusy’
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on ‘SIP/80-b7d02338’