Both machines are on a lan, no routers, firewalls etc between
BoxA
192.168.1.192
2XXX extensions
BoxA iax.conf
[boxb-peer]
username=boxa-user
type=peer
trunk=yes
secret=mypassword
host=192.168.1.139
[boxb-user]
type=user
secret=mypassword2
host=192.168.1.139
context=from-internal
BoxA extensions_custom.conf (included in extensions.conf)
[ext-local-custom]
exten => _1XXX,1,Dial(IAX2/boxb-user:[EMAIL PROTECTED]/${EXTEN:1},30,r)
exten => _1XXX,2,Congestion
BoxB
192.168.1.139
1XXX extensions
BoxB iax.conf
[boxa-peer]
username=boxb-user
type=peer
trunk=yes
secret=mypassword2
host=192.168.1.192
[boxa-user]
type=user
secret=mypassword
host=192.168.1.192
context=from-internal
BoxB extensions_custom.conf (included in extensions.conf)
[ext-local-custom]
exten => _2XXX,1,Dial(IAX2/boxa-user:[EMAIL PROTECTED]/${EXTEN:1},30,r)
exten => _2XXX,2,Congestion
calling the 2xxx extensions gets me the following message no matter what extension I call in that group
In this case the number I was dialing is 2001
-- Executing Dial("SIP/2001-ea9d", "IAX2/boxb-user:[EMAIL PROTECTED]/001|30|r") in new stack
-- Called boxb-user:[EMAIL PROTECTED]/001
-- Hungup 'IAX2/boxb-peer-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Congestion("SIP/2001-ea9d", "") in new stack
-- Executing Macro("SIP/2001-ea9d", "hangupcall") in new stack
-- Executing ResetCDR("SIP/2001-ea9d", "w") in new stack
-- Executing NoCDR("SIP/2001-ea9d", "") in new stack
-- Executing Wait("SIP/2001-ea9d", "5") in new stack
-- Executing Dial("SIP/2001-3bd5", "IAX2/boxb-user:[EMAIL PROTECTED]/002|30|r") in new stack
-- Called boxb-user:[EMAIL PROTECTED]/002
-- Hungup 'IAX2/boxb-peer-2'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Congestion("SIP/2001-3bd5", "") in new stack
-- Executing Macro("SIP/2001-3bd5", "hangupcall") in new stack
Does it look correct? Am I missing something in this config?
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
