Eric Bishop wrote:
Hi all,

We currently have 2 Asterisk boxes and we pass calls to a fro. All works
great except we now need to pass variables between them.

For example now on box 1 we have:

exten => _23XX,1,SetVar(Foo=1234)
exten => _23XX,2,Dial(SIP/${EXTEN:[EMAIL PROTECTED])

When the call dials into Box 2 the variable Foo does not get passed...

Does anyone have any clever ideas?
as noted in asterisk/docs/README.variables (iirc)

you should see that variable inheritance can occur by prefacing the variable with '_' or '__'

also, depending on the age of your asterisk you might want to start using 'Set' vice 'SetVar'

also, having ${EXTEN:0} , the :0 doesn't do anything, so you should not use it and just have ${EXTEN}

i hope this helps


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to