<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Avi,<div><br></div><div>are you sure about that ?</div><div><br></div><div>I have LUA scripts which rewrite the destination_number with SetVariable and that works fine.</div><div>Of course, to do that in the XML dialplan, as said before, inline should be used to set the value.</div><div><br><div>
<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; "><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 &nbsp;</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: &nbsp; &nbsp; &nbsp;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: &nbsp; 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">&nbsp;</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: &nbsp; &nbsp; &nbsp;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); ">&nbsp; -&nbsp; &nbsp;<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.&nbsp;</i><b><i>IPeva</i></b><i>&nbsp;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"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>Le 07/05/2011 à 19:52, Avi Marcus a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Indeed, inline is a missing ingredient. As well though is the previously mentioned - you can't (directly) overwrite the destination number. You can either use a new variable throughout, or transfer to set the new destination number. Note that transferring causes the dialplan to be re-run from the start..<div>

<br></div><div>-Avi<br><br><div class="gmail_quote">On Sat, May 7, 2011 at 7:13 PM, Kristian Kielhofner <span dir="ltr">&lt;<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

There is certainly more than one way to skin this cat...<br>
<br>
However, to keep with your current method you should read up on<br>
dialplan hunting vs. execution and "inline" execution:<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Dialplan_XML#Inline_Actions" target="_blank">http://wiki.freeswitch.org/wiki/Dialplan_XML#Inline_Actions</a><br>
<br>
In short you need to add inline="true" to your first extension.<br>
<div><div></div><div class="h5"><br>
On Sat, May 7, 2011 at 11:04 AM, fieldpeak &lt;<a href="mailto:fieldpeak@gmail.com">fieldpeak@gmail.com</a>&gt; wrote:<br>
&gt; Gurus,<br>
&gt;<br>
&gt; i met an issue for dial plan, it sounds easy but puzzled me a few days not<br>
&gt; fix it yet...i belive gurus here could help me...<br>
&gt;<br>
&gt; i want to remove the + of destination number before routing to PSTN GW, e.g.<br>
&gt; when i dial +9123, i would like FS remove +, and then route to the PSTN GW,<br>
&gt; below is the dial plan and log,<br>
&gt;<br>
&gt; See the log, FS did remove '+' of '+9123', but then when it checks the rule<br>
&gt; ‘9_to_GW’, it still checks '+9123' (I expect it is '9123'), and then failed.<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Dial plan:<br>
&gt;<br>
&gt; &lt;extension name="remove_plus_of_dst_num" continue="true"&gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp; &lt;condition field="destination_number" expression="^\+(\d+)$"&gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="effective_destination_number=$1"/&gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp; &lt;/condition&gt;<br>
&gt;<br>
&gt; &lt;/extension&gt;<br>
&gt;<br>
&gt; …...<br>
&gt;<br>
&gt; &lt;extension name="9_to_GW" &gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp; &lt;condition field="destination_number" expression="^(9\d+)$"&gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge"<br>
&gt; data="sofia/internal/$<a href="mailto:1@192.168.200.101">1@192.168.200.101</a>"/&gt;<br>
&gt;<br>
&gt; &nbsp;&nbsp; &lt;/condition&gt;<br>
&gt;<br>
&gt; &lt;/extension&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Log:<br>
&gt;<br>
&gt; freeswitch@mypc&gt; 2011-05-07 22:48:05.717537 [DEBUG] sofia.c:6488 IP<br>
&gt; 192.168.200.201<br>
&gt;<br>
&gt; &nbsp;Approved by acl "<a href="http://192.168.0.0/16[]" target="_blank">192.168.0.0/16[]</a>". Access Granted.<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.717537 [NOTICE] switch_channel.c:812 New Channel<br>
&gt; sofia/inter<br>
&gt;<br>
&gt; nal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [92568c57-ff7b-4dbc-b322-a9babf893e62]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.719537 [DEBUG] sofia.c:4760 Channel<br>
&gt; sofia/internal/+4001@192<br>
&gt;<br>
&gt; .168.200.100 entering state [received][100]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.719537 [DEBUG] sofia.c:4771 Remote SDP:<br>
&gt;<br>
&gt; v=0<br>
&gt;<br>
&gt; o=AudiocodesGW 1062502113 1062501981 IN IP4 192.168.200.201<br>
&gt;<br>
&gt; s=Phone-Call<br>
&gt;<br>
&gt; c=IN IP4 192.168.200.201<br>
&gt;<br>
&gt; t=0 0<br>
&gt;<br>
&gt; m=audio 6060 RTP/AVP 8 0 96<br>
&gt;<br>
&gt; a=rtpmap:8 PCMA/8000<br>
&gt;<br>
&gt; a=rtpmap:0 PCMU/8000<br>
&gt;<br>
&gt; a=rtpmap:96 telephone-event/8000<br>
&gt;<br>
&gt; a=fmtp:96 0-15<br>
&gt;<br>
&gt; a=ptime:20<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.719537 [DEBUG] sofia.c:4908<br>
&gt; (sofia/internal/+4001@192.168.20<br>
&gt;<br>
&gt; 0.100) State Change CS_NEW -&gt; CS_INIT<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.719537 [DEBUG] switch_core_session.c:1116 Send signal<br>
&gt; sofia/<br>
&gt;<br>
&gt; internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [BREAK]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_core_state_machine.c:325<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Running State Change CS_INIT<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_core_state_machine.c:361<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State INIT<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] mod_sofia.c:84<br>
&gt; sofia/internal/+4001@192.168.2<br>
&gt;<br>
&gt; 00.100 SOFIA INIT<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] mod_sofia.c:124<br>
&gt; (sofia/internal/+4001@192.168<br>
&gt;<br>
&gt; .200.100) State Change CS_INIT -&gt; CS_ROUTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_core_session.c:1116 Send signal<br>
&gt; sofia/<br>
&gt;<br>
&gt; internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [BREAK]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_core_state_machine.c:361<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State INIT going to sleep<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_core_state_machine.c:325<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Running State Change CS_ROUTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_channel.c:1668<br>
&gt; (sofia/internal/+4001@1<br>
&gt;<br>
&gt; 92.168.200.100) Callstate Change DOWN -&gt; RINGING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_core_state_machine.c:364<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State ROUTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] mod_sofia.c:147<br>
&gt; sofia/internal/+4001@192.168.<br>
&gt;<br>
&gt; 200.100 SOFIA ROUTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [DEBUG] switch_core_state_machine.c:77<br>
&gt; sofia/internal<br>
&gt;<br>
&gt; /+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Standard ROUTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.722537 [INFO] mod_dialplan_xml.c:331 Processing +4001<br>
&gt; &lt;+4001<br>
&gt;<br>
&gt;&gt;-&gt;+9123 in context default<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing [default-&gt;unloop]<br>
&gt; continu<br>
&gt;<br>
&gt; e=false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (PASS) [unloop]<br>
&gt; ${unroll_lo<br>
&gt;<br>
&gt; ops}(true) =~ /^true$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (FAIL) [unloop]<br>
&gt; ${sip_loope<br>
&gt;<br>
&gt; d_call}() =~ /^true$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing<br>
&gt; [default-&gt;remove_plus_of_<br>
&gt;<br>
&gt; dst_num] continue=true<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (PASS)<br>
&gt; [remove_plus_of_dst_<br>
&gt;<br>
&gt; num] destination_number(+9123) =~ /^\+(\d+)$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Action<br>
&gt; set(destination_number=912<br>
&gt;<br>
&gt; 3)<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing<br>
&gt; [default-&gt;remove_plus_of_<br>
&gt;<br>
&gt; src_num] continue=true<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (PASS)<br>
&gt; [remove_plus_of_src_<br>
&gt;<br>
&gt; num] caller_id_number(+4001) =~ /^\+(\d+)$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Action<br>
&gt; set(effective_caller_id_na<br>
&gt;<br>
&gt; me=4001)<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Action<br>
&gt; set(effective_caller_id_nu<br>
&gt;<br>
&gt; mber=4001)<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing<br>
&gt; [default-&gt;7_8_to_Lync] co<br>
&gt;<br>
&gt; ntinue=false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (FAIL) [7_8_to_Lync]<br>
&gt; destin<br>
&gt;<br>
&gt; ation_number(+9123) =~ /^([78]\d{3})$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing [default-&gt;9_to_GW]<br>
&gt; contin<br>
&gt;<br>
&gt; ue=false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (FAIL) [9_to_GW]<br>
&gt; destinatio<br>
&gt;<br>
&gt; n_number(+9123) =~ /^(9\d+)$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing [default-&gt;1_to_IPP]<br>
&gt; conti<br>
&gt;<br>
&gt; nue=false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (FAIL) [1_to_IPP]<br>
&gt; destinati<br>
&gt;<br>
&gt; on_number(+9123) =~ /^(1\d{3})$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing [default-&gt;DISA]<br>
&gt; continue=<br>
&gt;<br>
&gt; false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (FAIL) [DISA]<br>
&gt; destination_n<br>
&gt;<br>
&gt; umber(+9123) =~ /^\*(3472)$/ break=on-false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> parsing [default-&gt;Recordings]<br>
&gt; con<br>
&gt;<br>
&gt; tinue=false<br>
&gt;<br>
&gt; Dialplan: sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Regex (FAIL) [Recordings]<br>
&gt; destina<br>
&gt;<br>
&gt; tion_number(+9123) =~ /^\*(732673)$/ break=on-false<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.727537 [DEBUG] switch_core_state_machine.c:119<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State Change CS_ROUTING -&gt; CS_EXECUTE<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.727537 [DEBUG] switch_core_session.c:1116 Send signal<br>
&gt; sofia/<br>
&gt;<br>
&gt; internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [BREAK]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.727537 [DEBUG] switch_core_state_machine.c:364<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State ROUTING going to sleep<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.727537 [DEBUG] switch_core_state_machine.c:325<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Running State Change CS_EXECUTE<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.727537 [DEBUG] switch_core_state_machine.c:371<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State EXECUTE<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.727537 [DEBUG] mod_sofia.c:240<br>
&gt; sofia/internal/+4001@192.168.<br>
&gt;<br>
&gt; 200.100 SOFIA EXECUTE<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.727537 [DEBUG] switch_core_state_machine.c:157<br>
&gt; sofia/interna<br>
&gt;<br>
&gt; l/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Standard EXECUTE<br>
&gt;<br>
&gt; EXECUTE sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> set(destination_number=9123)<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.728537 [DEBUG] mod_dptools.c:1060<br>
&gt; sofia/internal/+4001@192.1<br>
&gt;<br>
&gt; 68.200.100 SET [destination_number]=[9123]<br>
&gt;<br>
&gt; EXECUTE sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a><br>
&gt; set(effective_caller_id_name=4001)<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.728537 [DEBUG] mod_dptools.c:1060<br>
&gt; sofia/internal/+4001@192.1<br>
&gt;<br>
&gt; 68.200.100 SET [effective_caller_id_name]=[4001]<br>
&gt;<br>
&gt; EXECUTE sofia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a><br>
&gt; set(effective_caller_id_number=4001<br>
&gt;<br>
&gt; )<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.729537 [DEBUG] mod_dptools.c:1060<br>
&gt; sofia/internal/+4001@192.1<br>
&gt;<br>
&gt; 68.200.100 SET [effective_caller_id_number]=[4001]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.729537 [NOTICE] switch_core_state_machine.c:189<br>
&gt; sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> has executed the last dialplan instruction, hanging<br>
&gt; up.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.729537 [DEBUG] switch_channel.c:2563<br>
&gt; (sofia/internal/+4001@1<br>
&gt;<br>
&gt; 92.168.200.100) Callstate Change RINGING -&gt; HANGUP<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.729537 [NOTICE] switch_core_state_machine.c:191 Hangup<br>
&gt; sofia<br>
&gt;<br>
&gt; /internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.730538 [DEBUG] switch_channel.c:2579 Send signal<br>
&gt; sofia/inter<br>
&gt;<br>
&gt; nal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [KILL]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.730538 [DEBUG] switch_core_session.c:1116 Send signal<br>
&gt; sofia/<br>
&gt;<br>
&gt; internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [BREAK]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.730538 [DEBUG] switch_core_state_machine.c:371<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State EXECUTE going to sleep<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.730538 [DEBUG] switch_core_state_machine.c:325<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Running State Change CS_HANGUP<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.731538 [DEBUG] switch_core_state_machine.c:565<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State HANGUP<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] mod_sofia.c:457 Channel<br>
&gt; sofia/internal/+4001@<br>
&gt;<br>
&gt; 192.168.200.100 hanging up, cause: NORMAL_CLEARING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] mod_sofia.c:519 Responding to INVITE<br>
&gt; with: 48<br>
&gt;<br>
&gt; 0<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] switch_core_state_machine.c:46<br>
&gt; sofia/internal<br>
&gt;<br>
&gt; /+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Standard HANGUP, cause: NORMAL_CLEARING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] switch_core_state_machine.c:565<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State HANGUP going to sleep<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] switch_core_state_machine.c:356<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State Change CS_HANGUP -&gt; CS_REPORTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] switch_core_session.c:1116 Send signal<br>
&gt; sofia/<br>
&gt;<br>
&gt; internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [BREAK]<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] switch_core_state_machine.c:325<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Running State Change CS_REPORTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:05.732538 [DEBUG] switch_core_state_machine.c:625<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State REPORTING<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.017554 [DEBUG] switch_core_state_machine.c:53<br>
&gt; sofia/internal<br>
&gt;<br>
&gt; /+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Standard REPORTING, cause: NORMAL_CLEARING<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.017554 [DEBUG] switch_core_state_machine.c:625<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State REPORTING going to sleep<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.017554 [DEBUG] switch_core_state_machine.c:350<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State Change CS_REPORTING -&gt; CS_DESTROY<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.017554 [DEBUG] switch_core_session.c:1116 Send signal<br>
&gt; sofia/<br>
&gt;<br>
&gt; internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [BREAK]<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.017554 [DEBUG] switch_core_session.c:1288 Session 2<br>
&gt; (sofia/i<br>
&gt;<br>
&gt; nternal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Locked, Waiting on external entities<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.017554 [NOTICE] switch_core_session.c:1306 Session 2<br>
&gt; (sofia/<br>
&gt;<br>
&gt; internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Ended<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.017554 [NOTICE] switch_core_session.c:1308 Close Channel<br>
&gt; sof<br>
&gt;<br>
&gt; ia/internal/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> [CS_DESTROY]<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.018554 [DEBUG] switch_core_state_machine.c:454<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Callstate Change HANGUP -&gt; DOWN<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.018554 [DEBUG] switch_core_state_machine.c:457<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) Running State Change CS_DESTROY<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.018554 [DEBUG] switch_core_state_machine.c:467<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State DESTROY<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.018554 [DEBUG] mod_sofia.c:362<br>
&gt; sofia/internal/+4001@192.168.<br>
&gt;<br>
&gt; 200.100 SOFIA DESTROY<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.018554 [DEBUG] switch_core_state_machine.c:60<br>
&gt; sofia/internal<br>
&gt;<br>
&gt; /+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a> Standard DESTROY<br>
&gt;<br>
&gt; 2011-05-07 22:48:06.018554 [DEBUG] switch_core_state_machine.c:467<br>
&gt; (sofia/intern<br>
&gt;<br>
&gt; al/+<a href="mailto:4001@192.168.200.100">4001@192.168.200.100</a>) State DESTROY going to sleep<br>
&gt;<br>
</div></div><div class="im">&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>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
<font color="#888888">Kristian Kielhofner<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></div></div>
_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><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></blockquote></div><br></div></body></html>