[Freeswitch-users] Channel Variables with spaces

Brian Engert lart2150 at gmail.com
Tue Jan 12 15:08:27 PST 2010


I'm trying to set a channel variable with a space in it when I run the
originate command.  The command only seems to work when I escape the
space with a \ however that backspace get's passed on.  Some examples
are

originate {fax_ident=1231231234,fax_header=testing\
spaces}sofia/gateway/outbound.fax/1004 &txfax(/tmp/fax.tiff)
originate {fax_ident=1231231234,fax_header=testing
spaces}sofia/gateway/outbound.fax/1004 &txfax(/tmp/fax.tiff)

The first one will go through just fine but the fax at the other end
gets "testing\ spaces" the second one gives me
"2010-01-12 16:35:18.41325 [ERR] switch_ivr_originate.c:990 Parse Error!"

I think this could also be done as a profile but I would rather do it
from the call.  I've looked around the wiki and have not seen any
examples that use a space when doing the originate call.

- Brian




More information about the FreeSWITCH-users mailing list