Hi,

I'm on the way to upgrade a dialplan from 1.8 to 16.0.1 and face a problem with user variable defined in sip.conf using setvar. It work like a charm -even on asterisk 13 version- but can't get it work in 16. The variables are defined in pjsip with set_var and a pjsip show endpoint <myEndpoint> does show them, like

myMailMonitor                      :
myOnNOANSWER                       :  main
myPrivateEnv                       :  PPermis
myPrivateVM                        :  yes
mySubscriptions                    :  10

In dialplan -the same that 1.8- I have

exten => _X.,n,Set(__DIAL_OPTIONS=rT)
exten => _X.,n,Set(__PrivateEnv=${myPrivateEnv})
exten => _X.,n,Set(__PrivateVM=${myPrivateVM})
exten => _X.,n,Set(__OnNOANSWER=${myOnNOANSWER})
exten => _X.,n,Set(__MailMonitor=${myMailMonitor})

but variables are empty. Is there a new way to recover those values ?

Thanks for any hint

Regards

--
Daniel

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
     https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Reply via email to