I have setup IAX2 trunk between two servers ASterisk 1.4.22 and 1.4.28 and looks like IAX2 is not compatible between these two ASterisks.
Both are in the same LAN, SETUP is tested and OK, dial plan is simply 2xxx on Asterisk 1.4.22 and 3xxx on 1.4.28
I have been playing with calltokenoptional but no luck so far:
Here is code from CLI:
erbosity is at least 10
-- Registered SIP '123' at 192.x.x.x port 50366 expires 3600
-- Saved useragent "X-Lite release 1104o stamp 56125" for peer 123
-- Unregistered SIP '123'
-- Registered SIP '123' at 192.x.x.x port 50366 expires 3600
-- Saved useragent "X-Lite release 1104o stamp 56125" for peer 123
-- Executing [9128@from-internal:1] Macro("SIP/123-b761ae58", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/123-b761ae58", "AMPUSER=123") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/123-b761ae58", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/123-b761ae58", "1|Set|REALCALLERIDNUM=123") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/123-b761ae58", "AMPUSER=123") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/123-b761ae58", "AMPUSERCIDNAME=USER 1 USER 1") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/123-b761ae58", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/123-b761ae58", "AMPUSERCID=123") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/123-b761ae58", "CALLERID(all)="USER 1 USER 1" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/123-b761ae58", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/123-b761ae58", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/123-b761ae58", "Using CallerID "USER 1 USER 1" ") in new stack
-- Executing [9128@from-internal:2] Set("SIP/123-b761ae58", "_NODEST=") in new stack
-- Executing [9128@from-internal:3] Macro("SIP/123-b761ae58", "record-enable|123|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/123-b761ae58", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/123-b761ae58", "recordingcheck|20100121-204421|1264103061.72") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100121-204421|1264103061.72: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/123-b761ae58", "") in new stack
-- Executing [9128@from-internal:4] Macro("SIP/123-b761ae58", "dialout-trunk|1|128|") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/123-b761ae58", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/123-b761ae58", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/123-b761ae58", "1?disabletrunk|1") in new stack
-- Goto (macro-dialout-trunk,disabletrunk,1)
-- Executing [disabletrunk@macro-dialout-trunk:1] NoOp("SIP/123-b761ae58", "TRUNK: ZAP/g0 DISABLED - falling through to next trunk") in new stack
-- Executing [9128@from-internal:5] Macro("SIP/123-b761ae58", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/123-b761ae58", "all-circuits-busy-now|noanswer") in new stack
--
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/123-b761ae58' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/123-b761ae58'
Is there any bug or just incompatibility in terms of IAX2 trunking in these both versions of Asterisk?
Thank You for any help and advice.
have a good day !!!

Member Since:
2008-05-02