[Asterisk-Users] REALTIME and VARIABLES

Alessio Focardi afoc at interconnessioni.it
Mon Jan 17 07:15:22 MST 2005


Hi,

I'm having some problem with realtime:

let's say I have a dialplan like this

[globals]

IPPHONES=_3XX

[sip]

exten=>${IPPHONES},1,Answer
  
A call from ip phone 300 comes in, and it's been answered.

Then I "switch" the sip context to realtime, putting the exten in the
db and using the variable name for this as in the file version.

[globals]

IPPHONES=_3XX

[sip]

switch=>Realtime/sip

Calling does not work anymore, extension is not found.

So it seems me that with realtime we cant'use variables as extensions
for an easyer manteniance of the dialplan.

Am I getting it all wrong ?

Tnx for any suggestion!



-- 
Best regards,
 Alessio                          mailto:afoc at interconnessioni.it




More information about the asterisk-users mailing list