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)? ... Gerald
Tony Mountifield
2006-Jan-04 07:28 UTC
[Asterisk-Users] Re: suddenly iax calls don't work anymore
In article <20060104150841.1b58d198.gda@gmx.de>, Gerald Dachs <gda@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@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org
Gerald Dachs 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)? > ... > > GeraldSomeone will probably correct me, but it looks like you are trying to use the g729 codec for your calls (or coco-connect.de is forcing you to use g729), but this requires a license from Digium and is not installed on your machine. Try using a different codec if possible or, if you do have a g729 license try re-installing the codec and re-activating it. I think this may solve the problem. But as I say, someone may correct me - I may be completely wrong about this. Faris.