[Freeswitch-users] A further question about originate

Helmut Kuper helmut.kuper at ewetel.de
Thu Aug 12 13:48:47 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I try to set a custom channel variable within originate command as
described here:

http://wiki.freeswitch.org/wiki/Mod_commands

[...]
Note: you can set any channel variable, even custom ones. Use single
quotes to enclose values with spaces, commas, etc.

   originate {my_own_var=my_value}sofia/mydomain.com/that.ext at 1.2.3.4
15555551212
   originate {my_own_var='my value'}sofia/mydomain.com/that.ext at 1.2.3.4
15555551212

[...]



My command is like this:

originate {my_var=my_data}sofia/internal/2850 at 85.16.246.6 &park

When I call info in dialplan, the variable is missing


When I do
originate {my_var=my_data}user/2850 at 85.16.246.6 &park

the variable is there!


Any reasons for this?

regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFMZF4v4tZeNddg3dwRAiwOAJoCGHZEZCrGfDDUPDB10p4p9GCzAQCfbtKS
o+9fmLXxswvtTFebbnoWbuM=
=A/i/
-----END PGP SIGNATURE-----



More information about the FreeSWITCH-users mailing list