[Asterisk-Users] Correct syntax to call using IAX and a different UDP port

Dan dtoma at fx.ro
Fri Jul 18 03:29:09 MST 2003


Hi,

Which is the correct syntax to call using IAX?
I have two Asterisk boxes behind a NAT and one of them use the default port
5036 for IAX, the second one use 5038.

To call an extension of the first one, the line in extensions.conf is:
exten => _9XXX,1,Dial(IAX/user:pass at 195.3.32.191/${EXTEN:1})

and for the second one:
exten => _8XXX,1,Dial(IAX/user:pass at 195.3.32.191:5038/${EXTEN:1})


The first one works great, the second one give me this error in the Asterisk
console:

    -- Executing Dial("SIP/351-24f4", "IAX/user:pass at 195.3.32.191:5038/500")
in new stack
WARNING[1200825920]: File chan_iax.c, Line 1550 (create_addr): No such host:
195.3.32.191:5038
NOTICE[1200825920]: File app_dial.c, Line 488 (dial_exec): Unable to create
channel of type 'IAX'
  == Everyone is busy at this time

It is something wrong?

Thanks,
Dan





More information about the asterisk-users mailing list