I would hardly trust getting an email to tell you if it executed?<div>did you run your app in the foreground with some debug prints to STDERR to see if its executing?</div><div>did you try using netcat or ngrep to monitor the wire ?</div>
<div><br><br><div class="gmail_quote">2010/5/10 Christian Löschenkohl <span dir="ltr">&lt;<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
yes, and this is my problem<br>
it looks normal but the scripts are not executed (i send a email in the fist line of<br>
the script and there is no mail send to me here).<br>
the call is hung up without much comment, the dialplan runs through until the hangup -<br>
without the bridge command executed from the script.<br>
<br>
attended transfer is here, with this it works<br>
<a href="http://pastebin.freeswitch.org/12959" target="_blank">http://pastebin.freeswitch.org/12959</a><br>
<br>
the scripts do also work if i call the extension directly.<br>
the extension 50 also rings if i put the bridge in the dialplan - my only problem here<br>
is that it looks like the script is called but it is never executed.<br>
<br>
br<br>
<div class="im"><br>
<br>
<br>
Anthony Minessale wrote:<br>
<br>
&gt; it looks like it works fine to me.<br>
&gt;<br>
&gt; the call transfers back to the dialplan where it again executes your<br>
&gt; socket app and that app either does nothing<br>
&gt; or hangs up.<br>
&gt;<br>
&gt; See line 789 of your pastebin.<br>
&gt;<br>
&gt;<br>
&gt; 2010/5/10 Christian Löschenkohl &lt;<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><br>
</div>&gt; &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;     the scripts do some database lookups (setting callers name) and do<br>
&gt;     find the called<br>
&gt;     user e.g. expand the called 50 to <a href="mailto:50@customer.domain.com">50@customer.domain.com</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:50@customer.domain.com">50@customer.domain.com</a>&gt; and finaly do the call bridge.<br>
<div class="im">&gt;<br>
&gt;     the transfer itself is done by the phone/softclient with a refer<br>
&gt;     packet, as far as i can see.<br>
&gt;<br>
&gt;     a debug trace is here<br>
&gt;     <a href="http://pastebin.freeswitch.org/12958" target="_blank">http://pastebin.freeswitch.org/12958</a><br>
&gt;<br>
&gt;     br<br>
&gt;<br>
&gt;     Anthony Minessale wrote:<br>
&gt;<br>
&gt;      &gt; what exactly does your script call to try to make it transfer?<br>
&gt;      &gt;<br>
&gt;      &gt; 2010/5/10 Christian Löschenkohl<br>
&gt;     &lt;<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><br>
&gt;     &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&gt;<br>
</div>&gt;      &gt; &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><br>
<div><div></div><div class="h5">&gt;     &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&gt;&gt;&gt;<br>
&gt;      &gt;<br>
&gt;      &gt;     hello<br>
&gt;      &gt;<br>
&gt;      &gt;     i have a problem with a freeswitch hosted pbx system.<br>
&gt;      &gt;     when i call in to a extension (e.g. 40) an answer the call<br>
&gt;     and then<br>
&gt;      &gt;     do a blind transfer to extension 50 it<br>
&gt;      &gt;     doesn&#39;t work.<br>
&gt;      &gt;     the outbound socket script do not work or do not get called<br>
&gt;     in this<br>
&gt;      &gt;     case (no mail from the script).<br>
&gt;      &gt;<br>
&gt;      &gt;     on the other hand if i do a attended transfer it works as it<br>
&gt;     should<br>
&gt;      &gt;     (sending mail in the script works).<br>
&gt;      &gt;     the same context, the same scripts.<br>
&gt;      &gt;<br>
&gt;      &gt;     we use snom 320 phones, the sip refer looks normal.<br>
&gt;      &gt;     blind transfer also doesn&#39;t work with a softclient (sjphone)<br>
&gt;      &gt;<br>
&gt;      &gt;     where could i start?<br>
&gt;      &gt;<br>
&gt;      &gt;     br<br>
&gt;      &gt;<br>
&gt;      &gt;     --<br>
&gt;      &gt;     Ing. Christian Löschenkohl<br>
&gt;      &gt;     Technische Leitung, Forschung &amp; Entwicklung VoIP<br>
&gt;      &gt;<br>
&gt;      &gt;     xpirio<br>
&gt;      &gt;     Telekommunikation &amp; Service GmbH<br>
&gt;      &gt;     Lakeside B04<br>
&gt;      &gt;     9020 Klagenfurt<br>
&gt;      &gt;     Austria<br>
&gt;      &gt;<br>
&gt;      &gt;     T  +43 (0) 5 77 11 - 1000<br>
&gt;      &gt;     F  +43 (0) 5 77 11 - 1002<br>
&gt;      &gt;     E  <a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><br>
&gt;     &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&gt;<br>
</div></div>&gt;      &gt;     &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><br>
<div class="im">&gt;     &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&gt;&gt;<br>
&gt;      &gt;<br>
&gt;      &gt;     _______________________________________________<br>
&gt;      &gt;     FreeSWITCH-users mailing list<br>
&gt;      &gt;     <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;      &gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;&gt;<br>
&gt;      &gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;      &gt;<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;      &gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; --<br>
&gt;      &gt; Anthony Minessale II<br>
&gt;      &gt;<br>
&gt;      &gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;      &gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;      &gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;      &gt;<br>
&gt;      &gt; AIM: anthm<br>
&gt;      &gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt;     &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt;      &gt; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:MSN%25253Aanthony_minessale@hotmail.com">MSN%253Aanthony_minessale@hotmail.com</a>&gt;&gt;<br>
<div class="im">&gt;      &gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt;     &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt;      &gt; &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:PAYPAL%25253Aanthony.minessale@gmail.com">PAYPAL%253Aanthony.minessale@gmail.com</a>&gt;&gt;<br>
<div class="im">&gt;      &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;<br>
&gt;     &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch<br>
&gt;      &gt;<br>
&gt;      &gt; FreeSWITCH Developer Conference<br>
&gt;      &gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt;      &gt; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:sip%25253A888@conference.freeswitch.org">sip%253A888@conference.freeswitch.org</a>&gt;&gt;<br>
<div class="im">&gt;      &gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt;      &gt; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:googletalk%25253Aconf%25252B888@conference.freeswitch.org">googletalk%253Aconf%252B888@conference.freeswitch.org</a>&gt;&gt;<br>
<div class="im">&gt;      &gt; pstn:+19193869900<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;      &gt;<br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; FreeSWITCH-users mailing list<br>
&gt;      &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div><div><div></div><div class="h5">&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;      &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;      &gt;<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;      &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     Ing. Christian Löschenkohl<br>
&gt;     Technische Leitung, Forschung &amp; Entwicklung VoIP<br>
&gt;<br>
&gt;     xpirio<br>
&gt;     Telekommunikation &amp; Service GmbH<br>
&gt;     Lakeside B04<br>
&gt;     9020 Klagenfurt<br>
&gt;     Austria<br>
&gt;<br>
&gt;     T  +43 (0) 5 77 11 - 1000<br>
&gt;     F  +43 (0) 5 77 11 - 1002<br>
&gt;     E  <a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><br>
&gt;     &lt;mailto:<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>&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>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<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>
&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; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&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>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt; pstn:+19193869900<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>
&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>
<br>
<br>
--<br>
Ing. Christian Löschenkohl<br>
Technische Leitung, Forschung &amp; Entwicklung VoIP<br>
<br>
xpirio<br>
Telekommunikation &amp; Service GmbH<br>
Lakeside B04<br>
9020 Klagenfurt<br>
Austria<br>
<br>
T  +43 (0) 5 77 11 - 1000<br>
F  +43 (0) 5 77 11 - 1002<br>
E  <a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a><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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</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="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>