[Asterisk-Users] Re: calling an iaxy

Ira & Jeremy jeremyha28 at knology.net
Sat Dec 4 09:04:16 MST 2004


>Thomas Niesel wrote:
 > Hallo rich allen
 >>

I get this same error. Very strange. Dialing out from the IAXy works fine, 
message:

Accepted AUTHENTICATED TBD call from 192.168.2.111
Accepted DIAL from 192.168.2.111, formats = 0x4

I also turned on Qualify and IAX debugging, and it reported my IAXy was 
alive and well.

Yet dialing into the IAXy produces the error below.

Portions of my config files are at the tail of the email.

 >>i have an IAXy which i can make calls from but am unable to call. when
 >>i dial the extension assigned, i get the following from the console;
 >>
 >>     -- Executing Dial("SIP/5801-b665", "IAX2/5899 at 192.168.0.5") in 
new
 >>stack
 >>     -- Called 5899 at 192.168.0.5
 >>     -- Call accepted by 192.168.0.5 (format ULAW)
 >>Nov  1 12:28:33 NOTICE[163850]: chan_iax2.c:5546 socket_read: Rejected
 >>call to 192.168.0.5, format 0x4 incompatible with our capability
 >>0xff03.
 >
 >
 > Hm, I'm not an expert on iaxY but it looks like that the codec is the
 > prob.
 > If both sides do not find a common codec the call will be rejected.
 > Try to call with alaw or gsm and see if it helps.
 >
>
>The IAXy doesn't do anything but ulaw and adpcm.  I would stick with
>ulaw for testing.
>
>I would start looking in the iax.conf entry for the iaxy for the culpit.
>
>B.

provision file:

ip: 192.168.2..111
netmask: 255.255.255.0
codec: adpcm
; also tried adpcm
server: 192.168.2.110
user: myuser
pass: mypass

iax.conf:

[myuser]
type=friend
accountcode=iaxy
host=192.168.2.111
secret=mypass
context=iaxycontext
disallow=all
allow=ulaw
; also tried adpcm
callerid="My IAXy"
trunk=no

extensions.conf

exten => s,2,Dial(IAX2/myuser/s)




More information about the asterisk-users mailing list