[asterisk-users] forcing GSM on certain extensions

Joseph syscon780 at gmail.com
Tue Dec 30 17:53:04 CST 2014


It works for outgoing call if I only allow one codec 

disallow=all
allow=gsm

So it seems to me if I want GSM I can not have anything in there except "GSM".

--
Joseph

On 12/30/14 15:41, Joseph wrote:
>I'm trying to force GSM when I call on certain extension but I'm getting connected with "ulaw"
>Which is not suitable when bandwidth is low and slow.
>
>my phone is iax-322
>
>in iax.conf
>
>[iaxy-322]
>...
>disallow=all
>allow=gsm
>allow=ulaw
>allow=alaw
>
>[zoiper_kathy_old_phone]
>...
>disallow=all
>allow=gsm
>allow=ilbc
>allow=ulaw
>allow=alaw
>allow=speex
>
>I've define "allow=gsm" in as the first codec so it should take priority, isn't it?
>but when I call I get connected with "ulaw"
>
>Incoming call is getting IN as GSM from that phone but outgoing is going out as "ulaw" why?
>
>In "zoiper" the GSM is enable as well and as first codec.
>
>Called IAX2/zoiper_kathy_old_phone
>    -- Call accepted by 66.18.210.217 (format ulaw)
>



More information about the asterisk-users mailing list