Hi, at my Asterisk box, I have a few of IAX2 phones (configured with alaw/ulaw/gsm codecs, in this order) and a PRI E1 line. In iax.conf I hav: disallow=all allow=alaw allow=ulaw allow=gsm During some incoming call, I read at console: -- Executing Dial("Zap/2-1", "IAX2/215|20|TtwW") in new stack -- Called 215 -- Call accepted by 10.97.1.7 (format ulaw) -- Format for call is ulaw -- IAX2/215-33 is ringing -- IAX2/215-33 answered Zap/2-1 Why I have 'Format for call is ulaw'? I'd like to have alaw but keep ulaw to accomodate errors in various configurations (if any, not here!). -- Mimmus
On Tue, March 21, 2006 16:51, Mimmus said:> Hi, > at my Asterisk box, I have a few of IAX2 phones (configured with > alaw/ulaw/gsm codecs, in this order) and a PRI E1 line. > In iax.conf I hav: > disallow=all > allow=alaw > allow=ulaw > allow=gsm > > During some incoming call, I read at console: > -- Executing Dial("Zap/2-1", "IAX2/215|20|TtwW") in new stack > -- Called 215 > -- Call accepted by 10.97.1.7 (format ulaw) > -- Format for call is ulaw > -- IAX2/215-33 is ringing > -- IAX2/215-33 answered Zap/2-1 > > Why I have 'Format for call is ulaw'? I'd like to have alaw but keep ulaw > to > accomodate errors in various configurations (if any, not here!).EuroISDN uses uLaw, so Asterisk does as well, because it doesn't need to do transcoding then... -- F Peeters PIII 450 - 1 GB - * 1.2 - BRIstuff 0.3.0 Pre 1 - Florz patch 2 Sweex HFC-PCI modes=0 sync_slave=0 timer_card=0 AMD Duron 1GHz - 1GB - * 1.2.1 - vISDN 2 Sweex HFC-PCI cards
On 3/21/06, Mimmus <dviggiani@tiscali.it> wrote:> Hi, > at my Asterisk box, I have a few of IAX2 phones (configured with > alaw/ulaw/gsm codecs, in this order) and a PRI E1 line. > In iax.conf I hav: > disallow=all > allow=alaw > allow=ulaw > allow=gsm > > During some incoming call, I read at console: > -- Executing Dial("Zap/2-1", "IAX2/215|20|TtwW") in new stack > -- Called 215 > -- Call accepted by 10.97.1.7 (format ulaw) > -- Format for call is ulaw > -- IAX2/215-33 is ringing > -- IAX2/215-33 answered Zap/2-1 > > Why I have 'Format for call is ulaw'? I'd like to have alaw but keep ulaw to > accomodate errors in various configurations (if any, not here!). >How is the device you are calling using to IAX configured? If the remote end does not support, or is not configured to use aLaw, then uLaw is your second choice, and the protocol will fall back to that. Cheers, Steve
> How is the device you are calling using to IAX configured?It is a legacy PBX formerly connected to a PRI line.> If the remote end does not support, or is not configured to use > aLaw, then uLaw is your second choice, and the protocol will > fall back to that.No because now I disabled uLaw and all calls use aLaw. -- Mimmus