My apologies, and thanks for the info.<br><br>--Stephen<br><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 11:06 AM, Rupa Schomaker <span dir="ltr">&lt;<a href="mailto:rupa@rupa.com">rupa@rupa.com</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;">Stephen, I think you&#39;ve jumped into the middle of a thread about sip 302, not about http.<div>
<br></div><div>Anyway, you might want to look at using mod_curl instead of mod_spidermonkey_curl. mod_curl can give you a json response which you can then parse easily in javascript or any other language.  The json response has the http response code, all headers, and the body.<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Wed, Nov 25, 2009 at 12:01 PM, Stephen Crosby <span dir="ltr">&lt;<a href="mailto:stevecrozz@gmail.com" target="_blank">stevecrozz@gmail.com</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;">

Surprisingly, I&#39;ve found no way to access the HTTP response status code using mod_spidermonkey_curl. I&#39;d love to see this feature added or discussed if it already exists and I&#39;m missing it.<br><font color="#888888"><br>

--Stephen</font><div><div></div><div><br>
<br><div class="gmail_quote">On Wed, Nov 25, 2009 at 9:45 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</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;">


In trunk there is a sofia profile setting to allow dialplan processing of 302 responses.  This won&#39;t get you back into your same javascript, but you can probably do something clever from there.<br>
<br>
Mike<br>
<br>
On Nov 24, 2009, at 5:04 PM, John Platts wrote:<br>
<br>
&gt;<br>
&gt; I have considered writing JavaScript code to bridge two calls together. However, I would like to perform custom handling of the 302 Moved Temporarily response. How do I handle the 302 Moved Temporarily response if I use JavaScript?<br>



<div><div></div><div>&gt;<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br>-Rupa<br>
</div>
<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>
<br></blockquote></div><br>