IAX connection -> GSM only :-(

Hi,

I have 2 Asterisk (1.4.4) servers running independently. Codec used are Ulaw and alaw, on both of them

I tried to conect the 2 * server together via IAX

Force in both IAX conf files,
Bandwith=high

Force the “users” -> ulaw and alaw
via
Disallow=all
allow=ulaw
allow=alaw

When I call another phone (on the other asterisk server) the com is only GSM ???

I have on the CLI :
requested format = ulaw
requested prefs = (gsm¦ulaw)
actual format = gsm

Any idea why ? Is there any other config file to check ?

Thanks for your help

Is this a typo ?

what does your IAX.conf look like ?

Ian

stephane
make sure there is no uppercase D in 'disallow’
or try to set them in [general] holder

Hi,

Thanks for your help
Here are a copy of my 2 IAX.CONF configurations…
As you can see, I force the 2 conf , to use ULAW and ALAW

Yes, sorry, It was a typo when I wrote : Disallow instead of disallow

Thanks again

Stephane
--------------- Server A --------------------

[general]
bindport=4569 ; bindport and bindaddr may be specified
bindaddr=0.0.0.0 ; more than once to bind to multiple

nochecksums=no
register => servera:dummy@192.168.9.235

; a per-user or per-peer basis.
;
;mohsuggest=default

bandwidth=high

;allow=all ; same as bandwidth=high
;disallow=g723.1 ; Hm… Proprietary, don’t use it…
disallow=lpc10 ; Icky sound quality… Mr. Roboto.
allow=gsm ; Always allow GSM, it’s cool :smile:
allow=ulaw

autokill=yes

[serverB]
type=friend
user=dummy2
secret=dummy2
auth=md5
host=dynamic
qualify=yes
trunk=no
encryption=aes128
context=default
disallow=all
allow=ulaw
allow=alaw
;

-------- Server B -----------
[general]
;
bindport=4569 ; bindport and bindaddr may be specified
bandwidth=high
;
;allow=all ; same as bandwidth=high
;disallow=g723.1 ; Hm… Proprietary, don’t use it…
disallow=lpc10 ; Icky sound quality… Mr. Roboto.
;allow=gsm ; Always allow GSM, it’s cool :smile:
;

jitterbuffer=no
forcejitterbuffer=no
;dropcount=2
;maxjitterbuffer=1000
;maxjitterinterps=10
;resyncthreshold=1000
;maxexcessbuffer=80
;minexcessbuffer=10
;jittershrinkrate=1

autokill=yes

; server B - for server A registration
[serverA]
type=friend
user=ServerA
secret=dummy
auth=md5
host=dynamic
qualify=yes
trunk=no
encryption=aes128
context=default
disallow=all
allow=ulaw
allow=alaw
;

Not sur ehow you are sending the calls but you need to add disallow=all to general and set the codecs to match, from what I can see server b doesnt even allow GSM

Ian