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

Steve Davies davies147 at gmail.com
Wed Mar 22 03:58:30 MST 2006


On 3/21/06, Mimmus <dviggiani at 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



More information about the asterisk-users mailing list