Having spaces in variables

  1. 7 years ago

    I am using the originatevariables= option to pass variables to asterisk but it seems to trunk out any spaces.

    Example, I am setting CIDNAME=FIRST LAST, but it shows up as FIRSTLAST without the space. I have tried "FIRST LAST", 'FIRST LAST', but it did not work.

    Is there any way to make it work?

    Thanks

  2. admin

    20 Dec 2016 Administrator

    not sure if its possible in current fop2 unless there is a way to encode spaces in originate variables....?

  3. I have tried and there doesn't seem to be a way.
    What I'll do instead is send a 1 word variable and astdb will set the correct caller id based on the word received.

  4. admin

    23 Dec 2016 Administrator

    The next fop2 release will respect spaces for originatevariables set in fop2.cfg

or Sign Up to reply!