Hallo,
ich habe zwei Asterisk Systeme über IAX verbunden.
am Obelsik melden sich die internen Sip Teilnehmer an,
der Asterisk soll als Gateway ins externe Netz (Internet wie Telefonnetz) dienen.
Verbindung Asterisk mit Obelisk und umgekehrt funktionieren.
Asterisk ins externe Netz funktioniert auch.
Aber von Obelisk über Asterisk ins externe Netz funktioniert nicht.
Bekomme immer "Circuits are busy now".
Hat jemand Tipps für mich???
In anderen Beiträgen über IAX2 hab ich dieses Szenario leider nicht gefunden.
Sven
Edit:
Auszug aus dem Debug-Modus
--------
-- Executing Macro("SIP/212-97ee", "dialout-trunk|2|810000||") in new stack
-- Executing GotoIf("SIP/212-97ee", "1?3:2)") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/212-97ee", "user-callerid") in new stack
-- Executing Set("SIP/212-97ee", "AMPUSER=212") in new stack
-- Executing Set("SIP/212-97ee", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/212-97ee", "AMPUSERCIDNAME=212") in new stack
-- Executing GotoIf("SIP/212-97ee", "0?6") in new stack
-- Executing Set("SIP/212-97ee", "CALLERID(all)="212" <212>") in new stack
-- Executing NoOp("SIP/212-97ee", "Using CallerID "212" <212>") in new stack
-- Executing Macro("SIP/212-97ee", "record-enable|212|OUT") in new stack
-- Executing GotoIf("SIP/212-97ee", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/212-97ee", "recordingcheck|20060413-153058|1144935058.39") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060413-153058|1144935058.39: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/212-97ee", "No recording needed") in new stack
-- Executing Macro("SIP/212-97ee", "outbound-callerid|2") in new stack
-- Executing Set("SIP/212-97ee", "USEROUTCID=") in new stack
-- Executing GotoIf("SIP/212-97ee", "1?4") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing GotoIf("SIP/212-97ee", "1?6") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing GotoIf("SIP/212-97ee", "1?8") in new stack
-- Goto (macro-outbound-callerid,s,8)
-- Executing NoOp("SIP/212-97ee", "CallerID set to "212" <212>") in new stack
-- Executing Set("SIP/212-97ee", "GROUP()=OUT_2") in new stack
-- Executing GotoIf("SIP/212-97ee", "0?108") in new stack
-- Executing Set("SIP/212-97ee", "DIAL_NUMBER=810000") in new stack
-- Executing Set("SIP/212-97ee", "DIAL_TRUNK=2") in new stack
-- Executing AGI("SIP/212-97ee", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/212-97ee", "OUTNUM=810000") in new stack
-- Executing Set("SIP/212-97ee", "custom=IAX2/asterisk") in new stack
-- Executing GotoIf("SIP/212-97ee", "0?16") in new stack
-- Executing Dial("SIP/212-97ee", "IAX2/asterisk/810000") in new stack
-- Called asterisk/810000
-- Hungup 'IAX2/asterisk-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/212-97ee", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/212-97ee", "Dial failed due to CHANUNAVAIL") in new stack
-- Executing Macro("SIP/212-97ee", "outisbusy|") in new stack
-- Executing Playback("SIP/212-97ee", "all-circuits-busy-now") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/212-97ee' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/212-97ee'
-----------
ich habe zwei Asterisk Systeme über IAX verbunden.
am Obelsik melden sich die internen Sip Teilnehmer an,
der Asterisk soll als Gateway ins externe Netz (Internet wie Telefonnetz) dienen.
Verbindung Asterisk mit Obelisk und umgekehrt funktionieren.
Asterisk ins externe Netz funktioniert auch.
Aber von Obelisk über Asterisk ins externe Netz funktioniert nicht.
Bekomme immer "Circuits are busy now".
Hat jemand Tipps für mich???
In anderen Beiträgen über IAX2 hab ich dieses Szenario leider nicht gefunden.
Sven
Edit:
Auszug aus dem Debug-Modus
--------
-- Executing Macro("SIP/212-97ee", "dialout-trunk|2|810000||") in new stack
-- Executing GotoIf("SIP/212-97ee", "1?3:2)") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/212-97ee", "user-callerid") in new stack
-- Executing Set("SIP/212-97ee", "AMPUSER=212") in new stack
-- Executing Set("SIP/212-97ee", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/212-97ee", "AMPUSERCIDNAME=212") in new stack
-- Executing GotoIf("SIP/212-97ee", "0?6") in new stack
-- Executing Set("SIP/212-97ee", "CALLERID(all)="212" <212>") in new stack
-- Executing NoOp("SIP/212-97ee", "Using CallerID "212" <212>") in new stack
-- Executing Macro("SIP/212-97ee", "record-enable|212|OUT") in new stack
-- Executing GotoIf("SIP/212-97ee", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/212-97ee", "recordingcheck|20060413-153058|1144935058.39") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060413-153058|1144935058.39: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/212-97ee", "No recording needed") in new stack
-- Executing Macro("SIP/212-97ee", "outbound-callerid|2") in new stack
-- Executing Set("SIP/212-97ee", "USEROUTCID=") in new stack
-- Executing GotoIf("SIP/212-97ee", "1?4") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing GotoIf("SIP/212-97ee", "1?6") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing GotoIf("SIP/212-97ee", "1?8") in new stack
-- Goto (macro-outbound-callerid,s,8)
-- Executing NoOp("SIP/212-97ee", "CallerID set to "212" <212>") in new stack
-- Executing Set("SIP/212-97ee", "GROUP()=OUT_2") in new stack
-- Executing GotoIf("SIP/212-97ee", "0?108") in new stack
-- Executing Set("SIP/212-97ee", "DIAL_NUMBER=810000") in new stack
-- Executing Set("SIP/212-97ee", "DIAL_TRUNK=2") in new stack
-- Executing AGI("SIP/212-97ee", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/212-97ee", "OUTNUM=810000") in new stack
-- Executing Set("SIP/212-97ee", "custom=IAX2/asterisk") in new stack
-- Executing GotoIf("SIP/212-97ee", "0?16") in new stack
-- Executing Dial("SIP/212-97ee", "IAX2/asterisk/810000") in new stack
-- Called asterisk/810000
-- Hungup 'IAX2/asterisk-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/212-97ee", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/212-97ee", "Dial failed due to CHANUNAVAIL") in new stack
-- Executing Macro("SIP/212-97ee", "outisbusy|") in new stack
-- Executing Playback("SIP/212-97ee", "all-circuits-busy-now") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/212-97ee' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/212-97ee'
-----------
Zuletzt bearbeitet: