Thanks Brian, It worked. <br><br>@David, I like to explore the way you suggested. But you may have a look at what Brian told. <br><br>Is it secure to transfer data in header ?<br>If not then what can be the way to make it secure?<br>
<br>Thanks &amp; Regards,<br><br>Jigar.<br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 8:10 PM, David Swardstrom <span dir="ltr">&lt;<a href="mailto:dswardstrom@remotelink.com">dswardstrom@remotelink.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
I have an untested solution to this issue.<br>
Note: I am using JavaScript code examples:<br>
The following will do the &quot;divert&quot;/&quot;transfer&quot; if you have a session.<br>
session.execute(&quot;deflect&quot;, dfltstr);<br>
<br>
When Sip is involved, FreeSwitch when using a SIP &quot;Call Transfer&quot; which asks<br>
some upstream system to send the call to some other system.<br>
<br>
When doing this, a new destination address can be supplied.<br>
This can include a &quot;postd&quot; parameter.<br>
I think postd stands for &quot;post dial&quot; and is a standard parameter that can be<br>
added to the destination address.<br>
RFC 3261, section 19.1.6 has the following example:<br>
Thus, tel:+358-555-1234567;postd=pp22 becomes<br>
sip:+358-555-1234567;postd=<a href="mailto:pp22@foo.com">pp22@foo.com</a>;user=phone<br>
<br>
There should be a way to add a postd string to the new destination address.<br>
So you can put the &quot;user id&quot; into the postd string.<br>
<br>
When the divert/transfer occurs, the new system will get the call as if it<br>
was an originated call.<br>
Looking at the destination string, the presence or absence of postd can<br>
determine how the<br>
call should be handled. If a postd is provided, the value can be used as the<br>
&quot;user id&quot;.<br>
<br>
Note: I was looking at conferencing so planned to pass the conference<br>
information this way.<br>
<br>
Another note: I don&#39;t think that &quot;user=phone&quot; is necessary. The systems seem<br>
to be designed to<br>
work with it provided or not provided.<br>
<br>
If/When I find time, I will code this up as a JavaScript example and add it<br>
to the Wiki.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Two-FreeSWITCH-Box-IVR-Call-Transfer-tp5265404p5265595.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Two-FreeSWITCH-Box-IVR-Call-Transfer-tp5265404p5265595.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5"><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>