the seg was a typo (resolved)<br><br>how were you calling the deflect the way that had no change?<br>every time i tried it sofia has taken down the channel once it completed.<br><br><br><br><div class="gmail_quote">On Thu, Nov 20, 2008 at 1:16 PM, Andy Spitzer <span dir="ltr">&lt;<a href="mailto:woof@nortel.com">woof@nortel.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;">Woof!<br>
<br>
Thanks for the changes!<br>
<div class="Ih2E3d"><br>
On Wed, 19 Nov 2008 21:09:19 -0500, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>
<br>
&gt; try latest code and see how that works.<br>
<br>
</div>FreeSWITCH Version 1.0.trunk (10481)<br>
<br>
No difference with just &quot;deflect&quot;--the call does not clear when the REFER is<br>
completed, nor are there any events published on the outbound socket vis-a-vis<br>
the NOTIFYs.<br>
<br>
The behavior that would work the best for me would be an event with the final<br>
response (success or fail), so my app can wait for it and know if it can hang up<br>
the call (on success), or it needs to do something else on failure.<br>
<br>
An event on each and every NOTIFY would be acceptable as well (not the just the final),<br>
but that would probably push some of the SIPishness of parsing the fragments into<br>
the application.<br>
<div class="Ih2E3d"><br>
<br>
&gt; I also added api command &quot;uuid_deflect &lt;uuid&gt; <a href="mailto:sip%3Afoo@bar.com">sip:foo@bar.com</a>&quot; that should reply<br>
&gt; with the sipfrag.<br>
<br>
</div>Alas, that one caused a core dump:<br>
<br>
*** glibc detected *** /usr/local/freeswitch/bin/freeswitch: free(): invalid pointer: 0xb2980de8 ***<br>
======= Backtrace: =========<br>
/lib/libc.so.6[0xba9ac1]<br>
/lib/libc.so.6(cfree+0x90)[0xbad0f0]<br>
/usr/local/freeswitch/mod/mod_commands.so[0x48ce91]<br>
/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_api_execute+0xbd)[0x160b0d]<br>
/usr/local/freeswitch/mod/mod_event_socket.so[0x2f008d]<br>
/usr/local/freeswitch/mod/mod_event_socket.so[0x2f0e73]<br>
/usr/local/freeswitch/mod/mod_event_socket.so[0x2f2531]<br>
/usr/local/freeswitch/lib/libfreeswitch.so.1[0x1b60b6]<br>
/lib/libpthread.so.0[0x27450b]<br>
/lib/libc.so.6(clone+0x5e)[0xc13b2e]<br>
<br>
Program terminated with signal 6, Aborted.<br>
#0 &nbsp;0x00110416 in __kernel_vsyscall ()<br>
(gdb) where<br>
#0 &nbsp;0x00110416 in __kernel_vsyscall ()<br>
#1 &nbsp;0x00b69690 in raise () from /lib/libc.so.6<br>
#2 &nbsp;0x00b6af91 in abort () from /lib/libc.so.6<br>
#3 &nbsp;0x00ba19eb in __libc_message () from /lib/libc.so.6<br>
#4 &nbsp;0x00ba9ac1 in _int_free () from /lib/libc.so.6<br>
#5 &nbsp;0x00bad0f0 in free () from /lib/libc.so.6<br>
#6 &nbsp;0x0048ce91 in uuid_deflect (<br>
 &nbsp; &nbsp;cmd=0x9ce1809 &quot;0852cadf-1156-4bac-87a2-7475da4930b9 <a href="mailto:sip%3A206@woof.us.nortel.com">sip:206@woof.us.nortel.com</a>&quot;, session=0x0, stream=0xace929a8) at mod_commands.c:1289<br>
#7 &nbsp;0x00160b0d in switch_api_execute (cmd=0x9ce17fc &quot;uuid_deflect&quot;,<br>
 &nbsp; &nbsp;arg=0x9ce1809 &quot;0852cadf-1156-4bac-87a2-7475da4930b9 <a href="mailto:sip%3A206@woof.us.nortel.com">sip:206@woof.us.nortel.com</a>&quot;, session=0x0, stream=0xace929a8) at src/switch_loadable_module.c:1527<br>
#8 &nbsp;0x002f008d in api_exec (thread=0x0, obj=0xace92a54)<br>
 &nbsp; &nbsp;at mod_event_socket.c:1090<br>
#9 &nbsp;0x002f0e73 in parse_command (listener=0xb2920cd0, event=0xace93390,<br>
 &nbsp; &nbsp;reply=0xace93124 &quot;&quot;, reply_len=512) at mod_event_socket.c:1415<br>
#10 0x002f2531 in listener_run (thread=0xacef5b68, obj=0xb2920cd0)<br>
 &nbsp; &nbsp;at mod_event_socket.c:1786<br>
#11 0x001b60b6 in dummy_worker (opaque=0xacef5b68)<br>
 &nbsp; &nbsp;at threadproc/unix/thread.c:138<br>
#12 0x0027450b in start_thread () from /lib/libpthread.so.0<br>
#13 0x00c13b2e in clone () from /lib/libc.so.6<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
--Woof!<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>