[Freeswitch-users] A further question about originate

Rupa Schomaker rupa at rupa.com
Thu Aug 12 20:46:33 PDT 2010


The var doesn't survive over sip.  The first example initiates a sip call
that is then handled by FS.  No var.  The second one is handled internally.

On Thu, Aug 12, 2010 at 3:48 PM, Helmut Kuper <helmut.kuper at ewetel.de>wrote:

> -----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-----
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
-Rupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100812/6b9696fd/attachment.html 


More information about the FreeSWITCH-users mailing list