Read the originate variable in my dialplan

Help
Kib Eki
2012-02-28
2013-05-30
  • Kib Eki

    Kib Eki - 2012-02-28

    Hi,

    what is the syntax to get the variables and their values in my dialplan?

    I can see this in the activaTSP logfile: Variable: originating=105,activa=1

    I want to use the variable activa in my dialplan. But ${activa} is never existent.

    I use the latest 1.4 release of asterisk.

     
  • activatsp

    activatsp - 2012-02-28

    Hi!

    It seems that you are not using the correct option separator for Asterisk 1.4, probably in your example ${originating} value is "105,activa=1"

    Asterisk 1.4 separator is "|" ->  originating=105|activa=1
    Asterisk 1.6 default separator is "," -> originating=105,activa=1

    Try using "|" -> originating=105|activa=1

    Activa Team

     
  • Kib Eki

    Kib Eki - 2012-02-28

    Thanks, but I am using the latest activatsp client and the only thing I edited in the configuration dialog was "active=1".
    The originate must be inserted automatically by activa.

     
  • activatsp

    activatsp - 2012-02-28

    Hi!

    It's true… As a workarround you can try to input "|activa=1" in the Orig. Variable textbox.

    In this case, ${originating} -> 105, and ${activa}=1

    Activa Team

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks