Frank Sautter
2004-Dec-10 12:17 UTC
[Asterisk-Users] include and hint in extensions.conf with new realtime feature - how?
hi, i'm a bit puzzled because i do not get include and hint to work with the new realtime enginge (cvs-head from 2004-12-09). other things (sipfriends and "normal" extensions) work perfect with the realtime engine. the entries in the static extensions.conf file i used before where: exten => 183,hint,SIP/snom220 exten => 183,1,Macro(stdexten,443,SIP/snom220,183) exten => 187,hint,SIP/zyx2000 exten => 187,1,Macro(stdexten,447,SIP/zyx2000,187) the entries in the table for realtime config look like this: SELECT context, exten AS ext, priority AS prio, app, appdata FROM extensions WHERE exten IN (183,187); +----------+-----+------+-------------+------------------------------+ | context | ext | prio | app | appdata | +----------+-----+------+-------------+------------------------------+ | from-sip | 183 | hint | SIP/snom220 | NULL | | from-sip | 183 | 1 | Macro | stdexten|442|SIP/snom220|183 | | from-sip | 187 | hint | SIP/zyx2000 | NULL | | from-sip | 187 | 1 | Macro | stdexten|443|SIP/zyx2000|187 | +----------+-----+------+-------------+------------------------------+ i also tried to put the parameter for the hint command into the 'appdata' column. my other problem is: how can includes of other contexts be accomplished? regards frank sautter
Brian West
2004-Dec-10 12:34 UTC
[Asterisk-Users] include and hint in extensions.conf with newrealtime feature - how?
I don't think realtime supports the hint function. (atleast not yet.) bkw> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Frank Sautter > Sent: Friday, December 10, 2004 1:17 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] include and hint in extensions.conf with > newrealtime feature - how? > > hi, > > i'm a bit puzzled because i do not get include and hint to work with the > new realtime enginge (cvs-head from 2004-12-09). > other things (sipfriends and "normal" extensions) work perfect with the > realtime engine. > > the entries in the static extensions.conf file i used before where: > exten => 183,hint,SIP/snom220 > exten => 183,1,Macro(stdexten,443,SIP/snom220,183) > exten => 187,hint,SIP/zyx2000 > exten => 187,1,Macro(stdexten,447,SIP/zyx2000,187) > > the entries in the table for realtime config look like this: > SELECT context, exten AS ext, priority AS prio, app, appdata FROM > extensions WHERE exten IN (183,187); > +----------+-----+------+-------------+------------------------------+ > | context | ext | prio | app | appdata | > +----------+-----+------+-------------+------------------------------+ > | from-sip | 183 | hint | SIP/snom220 | NULL | > | from-sip | 183 | 1 | Macro | stdexten|442|SIP/snom220|183 | > | from-sip | 187 | hint | SIP/zyx2000 | NULL | > | from-sip | 187 | 1 | Macro | stdexten|443|SIP/zyx2000|187 | > +----------+-----+------+-------------+------------------------------+ > > i also tried to put the parameter for the hint command into the > 'appdata' column. > > my other problem is: how can includes of other contexts be accomplished? > > regards > frank sautter > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Matthew Boehm
2004-Dec-10 12:44 UTC
[Asterisk-Users] include and hint in extensions.conf with newrealtime feature - how?
I don't believe hint works with RealTime. As far as including other contexts, I would guess that you just use a Goto. But Im not positive so give it a try and let us know. Matthew ----- Original Message ----- From: "Frank Sautter" <asterisk@sautter.com> To: <asterisk-users@lists.digium.com> Sent: Friday, December 10, 2004 1:17 PM Subject: [Asterisk-Users] include and hint in extensions.conf with newrealtime feature - how?> hi, > > i'm a bit puzzled because i do not get include and hint to work with the > new realtime enginge (cvs-head from 2004-12-09). > other things (sipfriends and "normal" extensions) work perfect with the > realtime engine. > > the entries in the static extensions.conf file i used before where: > exten => 183,hint,SIP/snom220 > exten => 183,1,Macro(stdexten,443,SIP/snom220,183) > exten => 187,hint,SIP/zyx2000 > exten => 187,1,Macro(stdexten,447,SIP/zyx2000,187) > > the entries in the table for realtime config look like this: > SELECT context, exten AS ext, priority AS prio, app, appdata FROM > extensions WHERE exten IN (183,187); > +----------+-----+------+-------------+------------------------------+ > | context | ext | prio | app | appdata | > +----------+-----+------+-------------+------------------------------+ > | from-sip | 183 | hint | SIP/snom220 | NULL | > | from-sip | 183 | 1 | Macro | stdexten|442|SIP/snom220|183 | > | from-sip | 187 | hint | SIP/zyx2000 | NULL | > | from-sip | 187 | 1 | Macro | stdexten|443|SIP/zyx2000|187 | > +----------+-----+------+-------------+------------------------------+ > > i also tried to put the parameter for the hint command into the > 'appdata' column. > > my other problem is: how can includes of other contexts be accomplished? > > regards > frank sautter > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Seemingly Similar Threads
- snom - blinking leds on fuction keys when call is not yet established - how?
- snom220
- how can PRI, BRI and analog cards achieve a synchronous clock / timing
- Q: PRI leading 0 (area access code) or 00 (country access code) missing on incoming callerid
- chan_capi-cm-0.5 release announcement