The var doesn&#39;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.<br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 3:48 PM, Helmut Kuper <span dir="ltr">&lt;<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hello,<br>
<br>
I try to set a custom channel variable within originate command as<br>
described here:<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_commands" target="_blank">http://wiki.freeswitch.org/wiki/Mod_commands</a><br>
<br>
[...]<br>
Note: you can set any channel variable, even custom ones. Use single<br>
quotes to enclose values with spaces, commas, etc.<br>
<br>
   originate {my_own_var=my_value}sofia/<a href="http://mydomain.com/that.ext@1.2.3.4" target="_blank">mydomain.com/that.ext@1.2.3.4</a><br>
15555551212<br>
   originate {my_own_var=&#39;my value&#39;}sofia/<a href="http://mydomain.com/that.ext@1.2.3.4" target="_blank">mydomain.com/that.ext@1.2.3.4</a><br>
15555551212<br>
<br>
[...]<br>
<br>
<br>
<br>
My command is like this:<br>
<br>
originate {my_var=my_data}sofia/internal/<a href="mailto:2850@85.16.246.6">2850@85.16.246.6</a> &amp;park<br>
<br>
When I call info in dialplan, the variable is missing<br>
<br>
<br>
When I do<br>
originate {my_var=my_data}user/<a href="mailto:2850@85.16.246.6">2850@85.16.246.6</a> &amp;park<br>
<br>
the variable is there!<br>
<br>
<br>
Any reasons for this?<br>
<br>
regards<br>
helmut<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.7 (MingW32)<br>
<br>
iD8DBQFMZF4v4tZeNddg3dwRAiwOAJoCGHZEZCrGfDDUPDB10p4p9GCzAQCfbtKS<br>
o+9fmLXxswvtTFebbnoWbuM=<br>
=A/i/<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>