origination_caller_id number is not ok as a variable unless its in {} as part of the dial string<br>it&#39;s an exception that is parsed before the channel is even created.<br><br>I think you are drawing the wrong conclusion about what works and doesn&#39;t work.<br>
If you can produce a dial string that contains {origination_caller_id_number=x} you will always be able to set it.<br><br>I assume you are using a recent version of FS as we did have a small bug with this variable a few weeks ago.<br>
<br><br><div class="gmail_quote">On Mon, Mar 2, 2009 at 10:19 AM, Peter P GMX <span dir="ltr">&lt;<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Anthony,<br>
<br>
I do this when I orginate the call. This way we suppress the cid when we<br>
call party A and transfer A to an internal extension (our callback<br>
application).<br>
But now comes the part that does not work:<br>
After A enters the target number B (via DTMF), we set the cid variables<br>
via uuid_setvar and then transfer A via uuid_transfer to party B.<br>
However uuid_setvar does not work in that case.<br>
<br>
BUT: If we do the same scenario and do not suppress the cid in the<br>
originate part, then uuid_setvar works correctly and sets the cid_number.<br>
<br>
Best regards<br>
Peter<br>
<br>
Anthony Minessale schrieb:<br>
<div class="Ih2E3d">&gt; put origination_caller_id_number in the dial string of any call and<br>
&gt; you can set the caller id individually for that leg<br>
&gt;<br>
&gt; {origination_caller_id_number=1234}&lt;any normal dial string&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Mar 1, 2009 at 3:38 PM, Peter P GMX &lt;<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a><br>
</div><div><div></div><div class="Wj3C7c">&gt; &lt;mailto:<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hello,<br>
&gt;<br>
&gt;     I have the following problem while providing callback (mod_eventsocket<br>
&gt;     is used):<br>
&gt;     1) I want to call a certain destination number A with a suppressed<br>
&gt;     caller_id_number (this works fine with some vars in the<br>
&gt;     origination string)<br>
&gt;     2) The destination number A picks up the phone and enters a target<br>
&gt;     number B by DTMF<br>
&gt;     3) freeswitch then forwards the call to target number B by DTMF and I<br>
&gt;     want to show the number A. I do this with uuid_setvar. The problem is<br>
&gt;     that it still shows unknown.<br>
&gt;     This is all with SIP.<br>
&gt;<br>
&gt;     uuid_setvar however worked if I did not set the caller_id_number to<br>
&gt;     unknown. Per default this is then &quot;00000000000&quot; and can then be<br>
&gt;     changed<br>
&gt;     with uuid_setvar to the number of A.<br>
&gt;     But if I set caller_id_number to unknown I can no longer change it<br>
&gt;     to A.<br>
&gt;<br>
&gt;     Any hint?<br>
&gt;<br>
&gt;     Best regards<br>
&gt;     Peter<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Freeswitch-users mailing list<br>
&gt;     <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
</div></div>&gt;     &lt;mailto:<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<div class="Ih2E3d">&gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
</div>&gt; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
<div class="Ih2E3d">&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
</div>&gt; &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch<br>
<div class="Ih2E3d">&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
</div>&gt; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
<div class="Ih2E3d">&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>&gt; &lt;<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>&gt;<br>
<div class="Ih2E3d">&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
</div>&gt; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt; pstn:213-799-1400<br>
&gt; ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>