When I try to call iaxtel it goes to codec ADPCM even though I have
define in iax.conf gsm
Call accepted by 69.73.19.178 (format ADPCM)
-- Format for call is ADPCM
My settings:
[general]
port=4569
register => xxxx:xxxx@iaxtel.com
bandwidth=high
jitterbuffer=no
tos=lowdelay
[voipjet]
type=peer
host= xxx.xxx.xxx.xx
secret= xxx
auth=md5
notransfer=yes
context=incoming
disallow=all ; Prevent all codecs...
allow = ulaw ; ...except G.711 ulaw
[iaxtel]
type=friend
host=iaxtel.com
secret=xxxx
auth=rsa
context=incoming
inkeys=iaxtel
disallow=all
allow=gsm
Why is it switching me to Codec: ADPCM?
PS. It seems to me iaxtel has a problem with connection today, can
anybody confirm it?
--
#Joseph
> > Why is it switching me to Codec: ADPCM? > > PS. It seems to me iaxtel has a problem with connection today, can > anybody confirm it?I just tried to place a call via iaxtel and watched the packets with ethereal. The iaxtel server is very very slow to respond to _any_ packet, indicating its not feeling very well. Could not complete the call at all, and 'iax2 show registry' indicates instability as well.
There was a bug with codecs for a very long time with Asterisk. In [general] remove the bandwidth= line (all it does is allow specific codecs) and disallow=all and allow= for eac codec you want. Joseph wrote:> When I try to call iaxtel it goes to codec ADPCM even though I have > define in iax.conf gsm > > Call accepted by 69.73.19.178 (format ADPCM) > -- Format for call is ADPCM > > My settings: > [general] > port=4569 > > register => xxxx:xxxx@iaxtel.com > bandwidth=high > jitterbuffer=no > tos=lowdelay > > [voipjet] > type=peer > host= xxx.xxx.xxx.xx > secret= xxx > auth=md5 > notransfer=yes > context=incoming > disallow=all ; Prevent all codecs... > allow = ulaw ; ...except G.711 ulaw > > [iaxtel] > type=friend > host=iaxtel.com > secret=xxxx > auth=rsa > context=incoming > inkeys=iaxtel > disallow=all > allow=gsm > > Why is it switching me to Codec: ADPCM? > > PS. It seems to me iaxtel has a problem with connection today, can > anybody confirm it? >