[Asterisk-Users] Re: suddenly iax calls don't work anymore

Tony Mountifield tony at softins.clara.co.uk
Wed Jan 4 07:28:05 MST 2006


In article <20060104150841.1b58d198.gda at gmx.de>,
Gerald Dachs <gda at gmx.de> wrote:
> Hi,
> 
> Asterisk is new for me. I had a working configuration, but suddenly I can't call anymore
> with my voip provider. I am not aware that I changed anything in the configuration, but
> who knows. Can somebody explain me what is happening here? I changed username,
> password and number.
>  
>    -- Executing Dial("Zap/2-1", "IAX2/<username>:<password>@sip.coco-connect.de/<number>")
> in new stack
>     -- Called <username>:<password>@sip.coco-connect.de/<number>
>     -- Call accepted by 62.180.50.221 (format g729)
>     -- Format for call is g729
> Jan  4 10:06:42 NOTICE[23409]: channel.c:1758 ast_set_write_format: Unable to find a path
> from gsm to g729
> Jan  4 10:06:42 NOTICE[23409]: channel.c:1791 ast_set_read_format: Unable to find a path
> from g729 to slin
> Jan  4 10:06:42 NOTICE[23409]: channel.c:1791 ast_set_read_format: Unable to find a path
> from g729 to slin
> Jan  4 10:06:42 WARNING[23409]: codec_gsm.c:135 gsmtolin_framein: Huh?  A GSM frame that
> isn't a multiple of 33 or 65 bytes long from IAX2 (20)?
> Jan  4 10:06:42 WARNING[23409]: codec_gsm.c:135 gsmtolin_framein: Huh?  A GSM frame that
> isn't a multiple of 33 or 65 bytes long from IAX2 (20)?
> ...

Looks like your end is offering g729 as a supported encoding format,
and the other end is choosing it, but your system doesn't actually have
the G.729 codec.

In iax.conf, you can either add "disallow=g729", or probably even better,
put "disallow=all" and then specific allow lines for the codecs you want
to support, such as alaw, gsm and so on.

Don't forget a reload in order to act upon the changes.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list