[asterisk-users] 2 * servers,
IAX connection between to dial extensions across IAX - not working
Tim P
panterafreak at gmail.com
Wed Jul 26 08:24:37 MST 2006
Here is my setup, this is just a test lab til I figure out how to do this
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:mypassword2 at 192.168.1.139
/${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:mypassword at 192.168.1.192
/${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:mypassword2 at 192.168.1.139/001|30|r") in new stack
-- Called boxb-user:mypassword2 at 192.168.1.139/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:mypassword2 at 192.168.1.139/002|30|r") in new stack
-- Called boxb-user:mypassword2 at 192.168.1.139/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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060726/77d6a085/attachment.htm
More information about the asterisk-users
mailing list