Is there anyone can help below, it is still pending, thanks!<br><br>Regards,<br>Charles<br><br><div class="gmail_quote">2011/5/8 fieldpeak <span dir="ltr">&lt;<a href="mailto:fieldpeak@gmail.com">fieldpeak@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">i tested the inline usage, unluckly, it failed. it looks the inline still can not effect 9 to GW rule...<br><br><i>dial plan is:</i><div class="im">
<br>&lt;extension name=&quot;remove_plus_of_dst_num&quot; continue=&quot;true&quot;&gt;<br>
   &lt;condition field=&quot;destination_number&quot; expression=&quot;^\+(\d+)$&quot;&gt;<br></div>       &lt;action <span style="background-color:rgb(255, 255, 51)">inline=&quot;true&quot; </span>application=&quot;set&quot; data=&quot;destination_number=$1&quot;/&gt;<div class="im">
<br>
   &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>...<br>&lt;extension name=&quot;9_to_GW&quot; &gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(9\d+)$&quot;&gt;<br>       &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/$<a href="mailto:1@192.168.200.101" target="_blank">1@192.168.200.101</a>&quot;/&gt;<br>

   &lt;/condition&gt;<br>&lt;/extension&gt;<br><br></div><i>the log is:</i><br><br>freeswitch@mypc&gt;<br>2011-05-08 09:35:40.067099 [ERR] switch_xml.c:1311 Couldnt open C:\FreeSWITCH\conf\<br>autoload_configs\..\sip_profiles\external/*.xml (No such file or directory)<br>

2011-05-08 09:35:40.543126 [ERR] switch_xml.c:1311 Couldnt open C:\FreeSWITCH\conf\<br>dialplan\public/*.xml (No such file or directory)<br><br>+OK [Success]<br><br>2011-05-08 09:35:41.115159 [INFO] mod_pocketsphinx.c:482 PocketSphinx Reloaded<br>

2011-05-08 09:35:41.117159 [INFO] switch_time.c:999 Timezone reloaded 530 defini<br>tions<br>2011-05-08 09:35:44.882374 [DEBUG] sofia.c:6488 IP 192.168.200.201 Approved by a<div class="im"><br>cl &quot;<a href="http://192.168.0.0/16%5B%5D" target="_blank">192.168.0.0/16[]</a>&quot;. Access Granted.<br>
</div>
2011-05-08 09:35:44.883374 [NOTICE] switch_channel.c:812 New Channel sofia/inter<br>nal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [efeb55d7-3712-4a30-9eba-786ad83b2e90]<br>2011-05-08 09:35:44.884374 [DEBUG] sofia.c:4760 Channel sofia/internal/4001@192.<div class="im">
<br>
168.200.100 entering state [received][100]<br></div>2011-05-08 09:35:44.884374 [DEBUG] sofia.c:4771 Remote SDP:<br>v=0<br>o=AudiocodesGW 2088509637 2088509507 IN IP4 192.168.200.201<div class="im"><br>s=Phone-Call<br>c=IN IP4 192.168.200.201<br>

t=0 0<br></div>m=audio 6020 RTP/AVP 8 0 96<div class="im"><br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:96 telephone-event/8000<br>a=fmtp:96 0-15<br>a=ptime:20<br><br></div>2011-05-08 09:35:44.884374 [DEBUG] sofia.c:4908 (sofia/internal/4001@192.168.200<div class="im">
<br>
.100) State Change CS_NEW -&gt; CS_INIT<br></div>2011-05-08 09:35:44.884374 [DEBUG] switch_core_session.c:1116 Send signal sofia/<div class="im"><br>internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [BREAK]<br>
</div>2011-05-08 09:35:44.885374 [DEBUG] switch_core_state_machine.c:325 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Running State Change CS_INIT<br></div>2011-05-08 09:35:44.885374 [DEBUG] switch_core_state_machine.c:361 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State INIT<br></div>
2011-05-08 09:35:44.885374 [DEBUG] mod_sofia.c:84 sofia/internal/4001@192.168.20<br>0.100 SOFIA INIT<br>2011-05-08 09:35:44.885374 [DEBUG] mod_sofia.c:124 (sofia/internal/4001@192.168.<div class="im"><br>200.100) State Change CS_INIT -&gt; CS_ROUTING<br>
</div>
2011-05-08 09:35:44.885374 [DEBUG] switch_core_session.c:1116 Send signal sofia/<div class="im"><br>internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [BREAK]<br></div>2011-05-08 09:35:44.885374 [DEBUG] switch_core_state_machine.c:361 (sofia/intern<div class="im">
<br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State INIT going to sleep<br></div>2011-05-08 09:35:44.885374 [DEBUG] switch_core_state_machine.c:325 (sofia/intern<div class="im"><br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Running State Change CS_ROUTING<br>
</div>
2011-05-08 09:35:44.885374 [DEBUG] switch_channel.c:1668 (sofia/internal/4001@19<div class="im"><br>2.168.200.100) Callstate Change DOWN -&gt; RINGING<br></div>2011-05-08 09:35:44.885374 [DEBUG] switch_core_state_machine.c:364 (sofia/intern<div class="im">
<br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State ROUTING<br></div>2011-05-08 09:35:44.885374 [DEBUG] mod_sofia.c:147 sofia/internal/4001@192.168.2<br>00.100 SOFIA ROUTING<br>2011-05-08 09:35:44.885374 [DEBUG] switch_core_state_machine.c:77 sofia/internal<div class="im">
<br>
/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Standard ROUTING<br></div>2011-05-08 09:35:44.885374 [INFO] mod_dialplan_xml.c:331 Processing 4001 &lt;4001&gt;-<br>&gt;+9123 in context default<br>
Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing [default-&gt;unloop] continue<br>
=false<br>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (PASS) [unloop] ${unroll_loo<div class="im"><br>ps}(true) =~ /^true$/ break=on-false<br>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (FAIL) [unloop] ${sip_looped<br>

_call}() =~ /^true$/ break=on-false<br>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing <span style="background-color:rgb(255, 255, 102)">[default-&gt;remove_plus_of_d</span><br style="background-color:rgb(255, 255, 102)">

<span style="background-color:rgb(255, 255, 102)">st_num] continue=true</span><br style="background-color:rgb(255, 255, 102)"><span style="background-color:rgb(255, 255, 102)">Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (PASS) [remove_plus_of_dst_n</span><br style="background-color:rgb(255, 255, 102)">

<span style="background-color:rgb(255, 255, 102)">um] destination_number(+9123) =~ /^\+(\d+)$/ break=on-false</span><br style="background-color:rgb(255, 255, 102)"><span style="background-color:rgb(255, 255, 102)">Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Action set(destination_number=9123</span><br>
</div>
) <span style="background-color:rgb(255, 0, 0)">INLINE</span><div class="im"><br>EXECUTE sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> set(destination_number=9123)<br></div>
2011-05-08 09:35:44.888374 [DEBUG] mod_dptools.c:1060 sofia/internal/4001@192.16<div class="im"><br>
8.200.100 SET [destination_number]=[9123]<br></div>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing [default-&gt;remove_plus_of_s<br>rc_num] continue=true<br>
Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (FAIL) [remove_plus_of_src_n<div class="im"><br>
um] caller_id_number(4001) =~ /^\+(\d+)$/ break=on-false<br></div>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing [default-&gt;7_8_to_Lync] con<br>tinue=false<br>
Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (FAIL) [7_8_to_Lync] destina<div class="im"><br>
tion_number(+9123) =~ /^([78]\d{3})$/ break=on-false<br></div><span style="background-color:rgb(255, 255, 102)">Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing [default-&gt;9_to_GW] continu</span><br style="background-color:rgb(255, 255, 102)">

<span style="background-color:rgb(255, 255, 102)">e=false</span><br style="background-color:rgb(255, 255, 102)"><span style="background-color:rgb(255, 255, 102)">Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (<span style="background-color:rgb(255, 0, 0)">FAIL</span>) [9_to_GW] destination</span><div class="im">
<br style="background-color:rgb(255, 255, 102)">
<span style="background-color:rgb(255, 255, 102)">_number</span><span style="background-color:rgb(255, 0, 0)">(+9123</span><span style="background-color:rgb(255, 102, 102)">)</span> =~ /^(9\d+)$/ break=on-false<br></div>
Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing [default-&gt;1_to_IPP] contin<br>
ue=false<br>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (FAIL) [1_to_IPP] destinatio<br>n_number(+9123) =~ /^\+{0,1}(1\d{3})$/ break=on-false<div class="im">
<br>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing [default-&gt;DISA] continue=f<br>
alse<br></div>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (FAIL) [DISA] destination_nu<div class="im"><br>mber(+9123) =~ /^\*(3472)$/ break=on-false<br></div>
Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> parsing [default-&gt;Recordings] cont<br>
inue=false<br>Dialplan: sofia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Regex (FAIL) [Recordings] destinat<div class="im"><br>ion_number(+9123) =~ /^\*(732673)$/ break=on-false<br>
</div>2011-05-08 09:35:44.889374 [DEBUG] switch_core_state_machine.c:119 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State Change CS_ROUTING -&gt; CS_EXECUTE<br></div>2011-05-08 09:35:44.889374 [DEBUG] switch_core_session.c:1116 Send signal sofia/<div class="im">
<br>internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [BREAK]<br></div>
2011-05-08 09:35:44.889374 [DEBUG] switch_core_state_machine.c:364 (sofia/intern<div class="im"><br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State ROUTING going to sleep<br></div>
2011-05-08 09:35:44.889374 [DEBUG] switch_core_state_machine.c:325 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Running State Change CS_EXECUTE<br></div>2011-05-08 09:35:44.889374 [DEBUG] switch_core_state_machine.c:371 (sofia/intern<div class="im">
<br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State EXECUTE<br></div>
2011-05-08 09:35:44.889374 [DEBUG] mod_sofia.c:240 sofia/internal/4001@192.168.2<br>00.100 SOFIA EXECUTE<br>2011-05-08 09:35:44.889374 [DEBUG] switch_core_state_machine.c:157 sofia/interna<div class="im"><br>l/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Standard EXECUTE<br>
</div>
2011-05-08 09:35:44.889374 [NOTICE] switch_core_state_machine.c:189 sofia/intern<div class="im"><br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> has executed the last dialplan instruction, hanging up.<br>
</div>2011-05-08 09:35:44.889374 [DEBUG] switch_channel.c:2563 (sofia/internal/4001@19<div class="im"><br>
2.168.200.100) Callstate Change RINGING -&gt; HANGUP<br></div>2011-05-08 09:35:44.889374 [NOTICE] switch_core_state_machine.c:191 Hangup sofia<div class="im"><br>/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
</div>
2011-05-08 09:35:44.890375 [DEBUG] switch_channel.c:2579 Send signal sofia/inter<div class="im"><br>nal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [KILL]<br></div>2011-05-08 09:35:44.890375 [DEBUG] switch_core_session.c:1116 Send signal sofia/<div class="im">
<br>
internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [BREAK]<br></div>2011-05-08 09:35:44.890375 [DEBUG] switch_core_state_machine.c:371 (sofia/intern<div class="im"><br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State EXECUTE going to sleep<br>
</div>
2011-05-08 09:35:44.890375 [DEBUG] switch_core_state_machine.c:325 (sofia/intern<div class="im"><br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Running State Change CS_HANGUP<br></div>
2011-05-08 09:35:44.891375 [DEBUG] switch_core_state_machine.c:565 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State HANGUP<br></div>2011-05-08 09:35:44.891375 [DEBUG] mod_sofia.c:457 Channel sofia/internal/4001@1<div class="im"><br>92.168.200.100 hanging up, cause: NORMAL_CLEARING<br>
</div>2011-05-08 09:35:44.891375 [DEBUG] mod_sofia.c:519 Responding to INVITE with: 48<br>
0<br>2011-05-08 09:35:44.891375 [DEBUG] switch_core_state_machine.c:46 sofia/internal<div class="im"><br>/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Standard HANGUP, cause: NORMAL_CLEARING<br>
</div>2011-05-08 09:35:44.891375 [DEBUG] switch_core_state_machine.c:565 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State HANGUP going to sleep<br></div>2011-05-08 09:35:44.891375 [DEBUG] switch_core_state_machine.c:356 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State Change CS_HANGUP -&gt; CS_REPORTING<br></div>
2011-05-08 09:35:44.891375 [DEBUG] switch_core_session.c:1116 Send signal sofia/<div class="im"><br>internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [BREAK]<br></div>2011-05-08 09:35:44.891375 [DEBUG] switch_core_state_machine.c:325 (sofia/intern<div class="im">
<br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Running State Change CS_REPORTING<br></div>2011-05-08 09:35:44.891375 [DEBUG] switch_core_state_machine.c:625 (sofia/intern<div class="im">
<br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State REPORTING<br></div>
2011-05-08 09:35:45.153390 [DEBUG] switch_core_state_machine.c:53 sofia/internal<div class="im"><br>/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Standard REPORTING, cause: NORMAL_CLEARING<br>
</div>2011-05-08 09:35:45.153390 [DEBUG] switch_core_state_machine.c:625 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State REPORTING going to sleep<br></div>2011-05-08 09:35:45.153390 [DEBUG] switch_core_state_machine.c:350 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State Change CS_REPORTING -&gt; CS_DESTROY<br></div>
2011-05-08 09:35:45.153390 [DEBUG] switch_core_session.c:1116 Send signal sofia/<div class="im"><br>internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [BREAK]<br></div>2011-05-08 09:35:45.153390 [DEBUG] switch_core_session.c:1288 Session 4 (sofia/i<div class="im">
<br>
nternal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Locked, Waiting on external entities<br></div>2011-05-08 09:35:45.153390 [NOTICE] switch_core_session.c:1306 Session 4 (sofia/<div class="im">
<br>internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Ended<br></div>
2011-05-08 09:35:45.153390 [NOTICE] switch_core_session.c:1308 Close Channel sof<div class="im"><br>ia/internal/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> [CS_DESTROY]<br></div>2011-05-08 09:35:45.154390 [DEBUG] switch_core_state_machine.c:454 (sofia/intern<div class="im">
<br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Callstate Change HANGUP -&gt; DOWN<br></div>2011-05-08 09:35:45.154390 [DEBUG] switch_core_state_machine.c:457 (sofia/intern<div class="im">
<br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) Running State Change CS_DESTROY<br></div>
2011-05-08 09:35:45.154390 [DEBUG] switch_core_state_machine.c:467 (sofia/intern<div class="im"><br>al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State DESTROY<br></div>2011-05-08 09:35:45.154390 [DEBUG] mod_sofia.c:362 sofia/internal/4001@192.168.2<br>

00.100 SOFIA DESTROY<br>2011-05-08 09:35:45.154390 [DEBUG] switch_core_state_machine.c:60 sofia/internal<div class="im"><br>/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a> Standard DESTROY<br>
</div>2011-05-08 09:35:45.154390 [DEBUG] switch_core_state_machine.c:467 (sofia/intern<div class="im"><br>
al/<a href="mailto:4001@192.168.200.100" target="_blank">4001@192.168.200.100</a>) State DESTROY going to sleep<br><br><br></div><div><div></div><div class="h5"><div class="gmail_quote">2011/5/8 David Ponzone <span dir="ltr">&lt;<a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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 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;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><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;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<div><font face="&#39;Helvetica Neue&#39;"><font color="#1C00FF">David Ponzone  </font><font size="3" color="#000000"><span style="font-size:12px">Direction Technique</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>

<div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">tel:      01 74 03 18 97</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">gsm:   06 66 98 76 34</span></font></font></div>

<div><font face="&#39;Helvetica Neue&#39;"><br></font></div><div><font color="#1C00FF" face="&#39;Helvetica Neue&#39;">Service Client<span> </span></font><font face="&#39;Helvetica Neue&#39;"><font color="#FF0000">IP</font></font><font color="#1C00FF" face="&#39;Helvetica Neue&#39;">eva</font></div>

<div><font color="#1C00FF" face="&#39;Helvetica Neue&#39;"><span style="color:rgb(0, 0, 0);font-family:Helvetica"><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size:13px">tel:      0811 46 26 26</span></font></font></div>

<div><font size="3" face="&#39;Helvetica Neue&#39;"><span style="font-size:13px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><a>www.ipeva.fr</a></span><span style="color:rgb(101, 104, 149)">  -   <span style="color:rgb(0, 34, 243);text-decoration:underline"><a>www.ipeva-studio.com</a></span></span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)">

<span><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;text-align:justify;color:rgb(192, 192, 192)"><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l&#39;intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d&#39;altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s&#39;il a été altéré, déformé ou falsifié. Si vous n&#39;êtes pas destinataire de ce message, merci de le détruire immédiatement et d&#39;avertir l&#39;expéditeur.</i></div>

<div style="text-decoration:underline;text-align:justify"><font color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></span><br>
</div>
<br><div><div>Le 07/05/2011 à 19:52, Avi Marcus a écrit :</div><div><div></div><div><br><blockquote type="cite"><div dir="ltr">Indeed, inline is a missing ingredient. As well though is the previously mentioned - you can&#39;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" target="_blank">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 &quot;inline&quot; 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=&quot;true&quot; to your first extension.<br>
<div><div></div><div><br>
On Sat, May 7, 2011 at 11:04 AM, fieldpeak &lt;<a href="mailto:fieldpeak@gmail.com" target="_blank">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 &#39;+&#39; of &#39;+9123&#39;, but then when it checks the rule<br>
&gt; ‘9_to_GW’, it still checks &#39;+9123&#39; (I expect it is &#39;9123&#39;), 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=&quot;remove_plus_of_dst_num&quot; continue=&quot;true&quot;&gt;<br>
&gt;<br>
&gt;    &lt;condition field=&quot;destination_number&quot; expression=&quot;^\+(\d+)$&quot;&gt;<br>
&gt;<br>
&gt;        &lt;action application=&quot;set&quot; data=&quot;effective_destination_number=$1&quot;/&gt;<br>
&gt;<br>
&gt;    &lt;/condition&gt;<br>
&gt;<br>
&gt; &lt;/extension&gt;<br>
&gt;<br>
&gt; …...<br>
&gt;<br>
&gt; &lt;extension name=&quot;9_to_GW&quot; &gt;<br>
&gt;<br>
&gt;    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(9\d+)$&quot;&gt;<br>
&gt;<br>
&gt;        &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;sofia/internal/$<a href="mailto:1@192.168.200.101" target="_blank">1@192.168.200.101</a>&quot;/&gt;<br>
&gt;<br>
&gt;    &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;  Approved by acl &quot;<a href="http://192.168.0.0/16%5B%5D" target="_blank">192.168.0.0/16[]</a>&quot;. 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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">4001@192.168.200.100</a> Standard EXECUTE<br>
&gt;<br>
&gt; EXECUTE sofia/internal/+<a href="mailto:4001@192.168.200.100" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">4001@192.168.200.100</a>) State DESTROY going to sleep<br>
&gt;<br>
</div></div><div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><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>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>

</blockquote></div></div></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>
</div></div></blockquote></div><br>