Dan
2003-Jul-18 03:29 UTC
[Asterisk-Users] Correct syntax to call using IAX and a different UDP port
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@195.3.32.191/${EXTEN:1})
and for the second one:
exten => _8XXX,1,Dial(IAX/user:pass@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@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
Hi, I would like to know how do two things. First, it is possible simulate PBX scenary?, I explain. I would like that when an user press 9(outgoing key) asterisk will generate a new dial tone in H.323 EP and then the user could press number for dial. Second, it's possible modify time interdigit. If I doubt in a number to dial, asterisk has a timeout very short and it starts to dial some early. Any ideas? Thanks in advance, srsergio
Hi, I would like to know how do two things. First, it is possible simulate PBX scenary?, I explain. I would like that when an user press 9(outgoing key) asterisk will generate a new dial tone in H.323 EP and then the user could press number for dial. Second, it's possible modify time interdigit. If I doubt in a number to dial, asterisk has a timeout very short and it starts to dial some early. Any ideas? Thanks in advance, srsergio