<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Christian,<div><br></div><div>if you send the mail using a shell call to "sendmail", it's possible it won't work.</div><div>Some weeks ago, I and another person have noticed that when you do that, sendmail crashes.</div><div>I don't know what was the cause and if it is fixed.</div><div><br></div><div>Writing to console would be a simpler way to know your script is executed.</div><div><br></div><div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone </font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space"> </span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); "> - <span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>Le 11/05/2010 à 00:45, Christian Löschenkohl a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>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">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><br><br><br>Anthony Minessale wrote:<br><br><blockquote type="cite">it looks like it works fine to me.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">the call transfers back to the dialplan where it again executes your <br></blockquote><blockquote type="cite">socket app and that app either does nothing<br></blockquote><blockquote type="cite">or hangs up.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">See line 789 of your pastebin.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">2010/5/10 Christian Löschenkohl <christian.loeschenkohl@xpirio.com <br></blockquote><blockquote type="cite"><mailto:christian.loeschenkohl@xpirio.com>><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> the scripts do some database lookups (setting callers name) and do<br></blockquote><blockquote type="cite"> find the called<br></blockquote><blockquote type="cite"> user e.g. expand the called 50 to 50@customer.domain.com<br></blockquote><blockquote type="cite"> <mailto:50@customer.domain.com> and finaly do the call bridge.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> the transfer itself is done by the phone/softclient with a refer<br></blockquote><blockquote type="cite"> packet, as far as i can see.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> a debug trace is here<br></blockquote><blockquote type="cite"> http://pastebin.freeswitch.org/12958<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> br<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Anthony Minessale wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">what exactly does your script call to try to make it transfer?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2010/5/10 Christian Löschenkohl<br></blockquote></blockquote><blockquote type="cite"> <christian.loeschenkohl@xpirio.com<br></blockquote><blockquote type="cite"> <mailto:christian.loeschenkohl@xpirio.com><br></blockquote><blockquote type="cite"><blockquote type="cite"><mailto:christian.loeschenkohl@xpirio.com<br></blockquote></blockquote><blockquote type="cite"> <mailto:christian.loeschenkohl@xpirio.com>>><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> hello<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> i have a problem with a freeswitch hosted pbx system.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> when i call in to a extension (e.g. 40) an answer the call<br></blockquote></blockquote><blockquote type="cite"> and then<br></blockquote><blockquote type="cite"><blockquote type="cite"> do a blind transfer to extension 50 it<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> doesn't work.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> the outbound socket script do not work or do not get called<br></blockquote></blockquote><blockquote type="cite"> in this<br></blockquote><blockquote type="cite"><blockquote type="cite"> case (no mail from the script).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> on the other hand if i do a attended transfer it works as it<br></blockquote></blockquote><blockquote type="cite"> should<br></blockquote><blockquote type="cite"><blockquote type="cite"> (sending mail in the script works).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> the same context, the same scripts.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> we use snom 320 phones, the sip refer looks normal.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> blind transfer also doesn't work with a softclient (sjphone)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> where could i start?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> br<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> --<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Ing. Christian Löschenkohl<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Technische Leitung, Forschung & Entwicklung VoIP<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> xpirio<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Telekommunikation & Service GmbH<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Lakeside B04<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> 9020 Klagenfurt<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Austria<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> T +43 (0) 5 77 11 - 1000<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> F +43 (0) 5 77 11 - 1002<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> E christian.loeschenkohl@xpirio.com<br></blockquote></blockquote><blockquote type="cite"> <mailto:christian.loeschenkohl@xpirio.com><br></blockquote><blockquote type="cite"><blockquote type="cite"> <mailto:christian.loeschenkohl@xpirio.com<br></blockquote></blockquote><blockquote type="cite"> <mailto:christian.loeschenkohl@xpirio.com>><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> _______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> FreeSWITCH-users mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> FreeSWITCH-users@lists.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"> <mailto:FreeSWITCH-users@lists.freeswitch.org><br></blockquote><blockquote type="cite"><blockquote type="cite"> <mailto:FreeSWITCH-users@lists.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"> <mailto:FreeSWITCH-users@lists.freeswitch.org>><br></blockquote><blockquote type="cite"><blockquote type="cite"> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite"><blockquote type="cite"> http://www.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Anthony Minessale II<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FreeSWITCH http://www.freeswitch.org/<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">ClueCon http://www.cluecon.com/<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Twitter: http://twitter.com/FreeSWITCH_wire<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">AIM: anthm<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">MSN:anthony_minessale@hotmail.com<br></blockquote></blockquote><blockquote type="cite"> <mailto:MSN%3Aanthony_minessale@hotmail.com><br></blockquote><blockquote type="cite"><blockquote type="cite"><mailto:MSN%3Aanthony_minessale@hotmail.com<br></blockquote></blockquote><blockquote type="cite"> <mailto:MSN%253Aanthony_minessale@hotmail.com>><br></blockquote><blockquote type="cite"><blockquote type="cite">GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<br></blockquote></blockquote><blockquote type="cite"> <mailto:PAYPAL%3Aanthony.minessale@gmail.com><br></blockquote><blockquote type="cite"><blockquote type="cite"><mailto:PAYPAL%3Aanthony.minessale@gmail.com<br></blockquote></blockquote><blockquote type="cite"> <mailto:PAYPAL%253Aanthony.minessale@gmail.com>><br></blockquote><blockquote type="cite"><blockquote type="cite">IRC: irc.freenode.net <http://irc.freenode.net><br></blockquote></blockquote><blockquote type="cite"> <http://irc.freenode.net> #freeswitch<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FreeSWITCH Developer Conference<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sip:888@conference.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"> <mailto:sip%3A888@conference.freeswitch.org><br></blockquote><blockquote type="cite"><blockquote type="cite"><mailto:sip%3A888@conference.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"> <mailto:sip%253A888@conference.freeswitch.org>><br></blockquote><blockquote type="cite"><blockquote type="cite">googletalk:conf+888@conference.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org><br></blockquote><blockquote type="cite"><blockquote type="cite"><mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"> <mailto:googletalk%253Aconf%252B888@conference.freeswitch.org>><br></blockquote><blockquote type="cite"><blockquote type="cite">pstn:+19193869900<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"> ------------------------------------------------------------------------<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FreeSWITCH-users@lists.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"> <mailto:FreeSWITCH-users@lists.freeswitch.org><br></blockquote><blockquote type="cite"><blockquote type="cite">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite"><blockquote type="cite">http://www.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> --<br></blockquote><blockquote type="cite"> Ing. Christian Löschenkohl<br></blockquote><blockquote type="cite"> Technische Leitung, Forschung & Entwicklung VoIP<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> xpirio<br></blockquote><blockquote type="cite"> Telekommunikation & Service GmbH<br></blockquote><blockquote type="cite"> Lakeside B04<br></blockquote><blockquote type="cite"> 9020 Klagenfurt<br></blockquote><blockquote type="cite"> Austria<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> T +43 (0) 5 77 11 - 1000<br></blockquote><blockquote type="cite"> F +43 (0) 5 77 11 - 1002<br></blockquote><blockquote type="cite"> E christian.loeschenkohl@xpirio.com<br></blockquote><blockquote type="cite"> <mailto:christian.loeschenkohl@xpirio.com><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> _______________________________________________<br></blockquote><blockquote type="cite"> FreeSWITCH-users mailing list<br></blockquote><blockquote type="cite"> FreeSWITCH-users@lists.freeswitch.org<br></blockquote><blockquote type="cite"> <mailto:FreeSWITCH-users@lists.freeswitch.org><br></blockquote><blockquote type="cite"> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br></blockquote><blockquote type="cite"> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite"> http://www.freeswitch.org<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">Anthony Minessale II<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FreeSWITCH http://www.freeswitch.org/<br></blockquote><blockquote type="cite">ClueCon http://www.cluecon.com/<br></blockquote><blockquote type="cite">Twitter: http://twitter.com/FreeSWITCH_wire<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">AIM: anthm<br></blockquote><blockquote type="cite">MSN:anthony_minessale@hotmail.com <br></blockquote><blockquote type="cite"><mailto:MSN%3Aanthony_minessale@hotmail.com><br></blockquote><blockquote type="cite">GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <br></blockquote><blockquote type="cite"><mailto:PAYPAL%3Aanthony.minessale@gmail.com><br></blockquote><blockquote type="cite">IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FreeSWITCH Developer Conference<br></blockquote><blockquote type="cite">sip:888@conference.freeswitch.org <br></blockquote><blockquote type="cite"><mailto:sip%3A888@conference.freeswitch.org><br></blockquote><blockquote type="cite">googletalk:conf+888@conference.freeswitch.org <br></blockquote><blockquote type="cite"><mailto:googletalk%3Aconf%2B888@conference.freeswitch.org><br></blockquote><blockquote type="cite">pstn:+19193869900<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">------------------------------------------------------------------------<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote><blockquote type="cite">FreeSWITCH-users@lists.freeswitch.org<br></blockquote><blockquote type="cite">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br></blockquote><blockquote type="cite">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite">http://www.freeswitch.org<br></blockquote><br><br>-- <br>Ing. Christian Löschenkohl<br>Technische Leitung, Forschung & Entwicklung VoIP<br><br>xpirio<br>Telekommunikation & 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 christian.loeschenkohl@xpirio.com<br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></div></body></html>