Hi,
I’ve bought g729 codec from digium(one licence).
i’ve followed up instructions in the readme file.
and when i do from my console
i can see
i’ve configure a sip chanel to only allow g729
(note : the channel is used with a x-lite client.)
And when a place a call…
during that call I make again show g729
and the message still
i think there is somethink wrong.
Plz Help.
Best regards.
one of provider allow only g729.
When i make call via this provider destination party’s phone ring and when when he answer the line hung up and i can hear a busy tonne.
A couple of things, Does xlite support G729 ? im not sure it does. secondly
[toure]
type=friend
username=toure
secret=123456
callerid="Toure Mamadou" <5678>
host=dynamic ; This device needs to register
nat=yes ; X-Lite is behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
allow=g729 ;
context=internal
should be
[toure]
type=friend
username=toure
secret=123456
callerid="Toure Mamadou" <5678>
host=dynamic ; This device needs to register
nat=yes ; X-Lite is behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
disallow=all
allow=g729 ;
context=internal
but if xlite doesnt support g729 then the calls will fail.
you have a problem as you have only one codec so testing will prove dificult.
allow=g729; we support alaw,ulaw,ilbc,gsm,g723.1,g726,g729a
But anyway let’s say you want to use g729 and you have a one channel license, the problem is with your xlite configuration. Your g729 license will server as translation between the codec you will use in X-lite and your iax connection with voipms. X-lite doesn’t support g729. I recommend iLBC for x-lite if you need a low bandwidth codec, otherwise g711.u or g711.a (ulaw/alaw) if you have good bandwidth. But it would be a waste of bandwidth since you connect your iax channel with voipms in g729. If you don’t want translation and low bandwidth codec, why don’t you use iLBC or GSM on both your IAX provider and your X-lite config.
Anyway,
So your x-lite config should be as follow:
[toure]
type=friend
username=toure
secret=123456
callerid=“Toure Mamadou” <5678>
host=dynamic ; This device needs to register
nat=yes ; X-Lite is behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
allow=all
context=internal
Then in x-lite, you go to right click on it, click options, click “advanced” at the bottom of the left menu. Click on Audio Codecs, and make sure you put the codec you want to use on the right of the allowed codecs and remove the ones you don’t want.