[asterisk-users] Fwd: {s} - extension
Daniel Suleyman
danikpro at gmail.com
Sun Mar 9 00:19:05 CST 2008
ok, then I'm not understanding something.
How I can call with xlite to my Asterisk not sending extension?
when I want to call I pick up phone, hear ring (piiiiiii) and I need
to type some extension otherwise nothing hapens....
2008/3/8, Tilghman Lesher <tilghman at mail.jeffandtilghman.com>:
> On Saturday 08 March 2008 02:52:39 Daniel Suleyman wrote:
> > Here is the log, my extensions is in the default section
> <snip>
> > INVITE sip:999 at 192.168.85.29 SIP/2.0
> <snip>
> > [ Context 'default' created by 'pbx_config' ]
> > '7007' => 1. Goto(7007-${CNT}|1)
> > [pbx_config] '7007-2' => 1. Set(GLOBAL(CNT)=1)
> > [pbx_config] 2. Answer() [pbx_config] 3.
> > Playback(hello-world|skip) [pbx_config] 4. Hangup()
> > [pbx_config] '7008' => 1.
> > Set(GLOBAL(connid)=0) [pbx_config] 2.
> > Set(GLOBAL(resultid)=0) [pbx_config] 3.
> > Set(GLOBAL(fetchid)=0) [pbx_config] 4. MYSQL(Connect
> > connid localhost root test test) [pbx_config]
> > 5. MYSQL(Query resultid ${connid} Select a from a)
> > [pbx_config]
> > 6. MYSQL(Fetch fetchid ${resultid} a)
> > [pbx_config] 7. MYSQL(Clear ${resultid}) [pbx_config] 8.
> > MYSQL(Disconnect ${connid}) [pbx_config] 9. goto(${a}|1)
> > [pbx_config] 's' => 1. Answer()
> > [pbx_config] '_7007-.' => 1.
> > Set(GLOBAL(CNT)=$[${CNT}+1]) [pbx_config] 2. Answer()
> > [pbx_config] 3. Playback(tt-weasels|skip)
> > [pbx_config] 4. Hangup()
> > [pbx_config]
> <snip>
>
> I don't see extension "999" anywhere in your default context. "s" is ONLY
> used when an extension is NOT sent, not as a default when nothing matches.
>
> --
> Tilghman
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list