[Asterisk-Users] include and hint in extensions.conf with newrealtime feature - how?

Brian West brian at bkw.org
Fri Dec 10 12:34:43 MST 2004


I don't think realtime supports the hint function. (atleast not yet.)

bkw

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Frank Sautter
> Sent: Friday, December 10, 2004 1:17 PM
> To: asterisk-users at 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 at 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




More information about the asterisk-users mailing list