[Asterisk-Users] Zap<-->IAX codec?

Francesco Peeters (Asterisk) francesco at fampeeters.com
Tue Mar 21 14:57:06 MST 2006


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



More information about the asterisk-users mailing list