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

Frank Sautter asterisk at sautter.com
Fri Dec 10 12:17:26 MST 2004


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



More information about the asterisk-users mailing list