[asterisk-users] Re: Defining sip users through mysql
Arkaitz
arkaitzj at gmail.com
Tue Oct 3 08:56:17 MST 2006
Hi again,
I've found a strange thing. If I use the same account from a
softphone(twinkle) it behaves well.
As fas as i've tried, connecting both phones, a linksys phone and
twinkle, at the same time to the same account and calling to the same
extension asterisk works well for the twinkle but fails for the
linksys like this:
Oct 3 17:26:30 WARNING[15685]: channel.c:2380 set_format: Unable to
find a codec translation path from g729 to gsm
Oct 3 17:26:30 WARNING[15685]: file.c:824 ast_streamfile: Unable to
open demo-instruct (format g729): No such file or directory
Oct 3 17:26:30 WARNING[15685]: pbx.c:5798 pbx_builtin_background:
ast_streamfile failed on SIP/linksys-081ac210 for demo-instruct
-- Executing WaitExten("SIP/linksys-081ac210", "") in new stack
Oct 3 17:26:30 WARNING[15685]: channel.c:2380 set_format: Unable to
find a codec translation path from ulaw to g729
Oct 3 17:26:30 WARNING[15685]: channel.c:2380 set_format: Unable to
find a codec translation path from ulaw to g729
I can't find why the file paths should be different depending on the sip client.
Any hint?
Thanks for your time
On 10/3/06, Arkaitz <arkaitzj at gmail.com> wrote:
> Hi all,
> I had the same problem before so i tried reinstalling and using all
> the defaults i could. But unfortunatelly it's the same, it seems that
> mysql defined users can't access to the codec files. In both
> situations the phone registers and i can see it with "sip show
> peers"(with rtcachefriends=yes for mysql).
> Using default context with default extensions.conf
> Using sip.conf:
> [linksys]
> callerid="linksys"
> type=friend
> user=linksys
> secret=linksys
> context=default
> host=dynamic
> If I call extension 2:
>
> -- Executing BackGround("SIP/linksys-081a5678", "demo-moreinfo")
> in new stack
> -- Playing 'demo-moreinfo' (language 'en')
> -- Executing Goto("SIP/linksys-081a5678", "s|instruct") in new stack
> -- Goto (default,s,6)
> -- Executing BackGround("SIP/linksys-081a5678", "demo-instruct")
> in new stack
> -- Playing 'demo-instruct' (language 'en')
> -- Executing WaitExten("SIP/linksys-081a5678", "") in new stack
> -- Timeout on SIP/linksys-081a5678, going to 't'
> -- Executing Goto("SIP/linksys-081a5678", "#|1") in new stack
> -- Goto (default,#,1)
> -- Executing Playback("SIP/linksys-081a5678", "demo-thanks") in new stack
> -- Playing 'demo-thanks' (language 'en')
> -- Executing Hangup("SIP/linksys-081a5678", "") in new stack
> All correct.
>
> Using mysql:
> mysql> select callerid,type,name,secret,context,host,allow,disallow from sip;
> +----------+--------+---------+---------+---------+---------+-------------------------+----------+
> | callerid | type | name | secret | context | host | allow
> | disallow |
> +----------+--------+---------+---------+---------+---------+-------------------------+----------+
> | Linksys | friend | linksys | linksys | default | dynamic |
> g729;ilbc;gsm;ulaw;alaw | all |
> +----------+--------+---------+---------+---------+---------+-------------------------+----------+
> If I call extension 2:
> -- SIP Seeding peer from astdb: 'linksys' at linksys at 20.0.0.70:5060 for 3600
> -- Executing BackGround("SIP/linksys-081a5678", "demo-moreinfo")
> in new stack
> Oct 3 13:16:17 WARNING[13896]: channel.c:2380 set_format: Unable to
> find a codec translation path from g729 to gsm
> Oct 3 13:16:17 WARNING[13896]: file.c:824 ast_streamfile: Unable to
> open demo-moreinfo (format g729): No such file or directory
> Oct 3 13:16:17 WARNING[13896]: pbx.c:5798 pbx_builtin_background:
> ast_streamfile failed on SIP/linksys-081a5678 for demo-moreinfo
> -- Executing Goto("SIP/linksys-081a5678", "s|instruct") in new stack
> -- Goto (default,s,6)
> -- Executing BackGround("SIP/linksys-081a5678", "demo-instruct")
> in new stack
> Oct 3 13:16:17 WARNING[13896]: channel.c:2380 set_format: Unable to
> find a codec translation path from g729 to gsm
> Oct 3 13:16:17 WARNING[13896]: file.c:824 ast_streamfile: Unable to
> open demo-instruct (format g729): No such file or directory
> Oct 3 13:16:17 WARNING[13896]: pbx.c:5798 pbx_builtin_background:
> ast_streamfile failed on SIP/linksys-081a5678 for demo-instruct
> -- Executing WaitExten("SIP/linksys-081a5678", "") in new stack
> Oct 3 13:16:17 WARNING[13896]: channel.c:2380 set_format: Unable to
> find a codec translation path from ulaw to g729
> Oct 3 13:16:17 WARNING[13896]: channel.c:2380 set_format: Unable to
> find a codec translation path from ulaw to g729
> -- Timeout on SIP/linksys-081a5678, going to 't'
> -- Executing Goto("SIP/linksys-081a5678", "#|1") in new stack
> -- Goto (default,#,1)
> -- Executing Playback("SIP/linksys-081a5678", "demo-thanks") in new stack
> -- Playing 'demo-thanks' (language 'en')
>
> I only hear demo-thanks.
> Any hint please?
> Thanks for your time
>
> --
> Arkaitz
>
--
Arkaitz
More information about the asterisk-users
mailing list