<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>use expression="(+)(\d)"</FONT></DIV>
<DIV><FONT size=2>and $2 as result</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=fieldpeak@gmail.com href="mailto:fieldpeak@gmail.com">fieldpeak</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=FreeSWITCH-users@lists.freeswitch.org
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, May 07, 2011 11:04
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Freeswitch-users] How to
manipulate destination number beforerouting to PSTN GW</DIV>
<DIV><BR></DIV>
<P class=MsoNormal>Gurus,</P>
<P class=MsoNormal><BR></P>
<P class=MsoNormal>i met an issue for dial plan, it sounds easy but puzzled me
a few days not fix it yet...i belive gurus here could help me...<BR></P>
<P class=MsoNormal><BR></P>
<P class=MsoNormal>i want to remove the + of destination number before routing
to PSTN GW, e.g. when i dial +9123, i would like FS remove +, and then route
to the PSTN GW, below is the dial plan and log, </P>
<P class=MsoNormal>See the log, FS did remove '+' of '+9123', but then when it
checks the rule 9_to_GW, it still checks '+9123' (I expect it is '9123'),
and then failed.</P>
<P class=MsoNormal>Thanks.</P>
<P class=MsoNormal> </P>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal">Dial plan:</B></P>
<P class=MsoNormal><extension name="remove_plus_of_dst_num"
continue="true"></P>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN><condition field="destination_number" expression="^\+(\d+)$"></P>
<P class=MsoNormal><SPAN
style="mso-spacerun: yes">
</SPAN><action application="set"
data="effective_destination_number=$1"/></P>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN></condition></P>
<P class=MsoNormal></extension></P>
<P class=MsoNormal>
...</P>
<P class=MsoNormal><extension name="9_to_GW" ></P>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN><condition field="destination_number" expression="^(9\d+)$"></P>
<P class=MsoNormal><SPAN
style="mso-spacerun: yes">
</SPAN><action application="bridge" data="sofia/internal/$<A
href="mailto:1@192.168.200.101">1@192.168.200.101</A>"/></P>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN></condition></P>
<P class=MsoNormal></extension></P>
<P class=MsoNormal> </P>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal">Log:</B></P>
<P class=MsoNormal>freeswitch@mypc> 2011-05-07 22:48:05.717537 [DEBUG]
sofia.c:6488 IP 192.168.200.201</P>
<P class=MsoNormal><SPAN style="mso-spacerun: yes"> </SPAN>Approved by
acl "<A href="http://192.168.0.0/16[]">192.168.0.0/16[]</A>". Access
Granted.</P>
<P class=MsoNormal>2011-05-07 22:48:05.717537 [NOTICE] switch_channel.c:812
New Channel sofia/inter</P>
<P class=MsoNormal>nal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>
[92568c57-ff7b-4dbc-b322-a9babf893e62]</P>
<P class=MsoNormal>2011-05-07 22:48:05.719537 [DEBUG] sofia.c:4760 Channel
sofia/internal/+4001@192</P>
<P class=MsoNormal>.168.200.100 entering state [received][100]</P>
<P class=MsoNormal>2011-05-07 22:48:05.719537 [DEBUG] sofia.c:4771 Remote
SDP:</P>
<P class=MsoNormal>v=0</P>
<P class=MsoNormal>o=AudiocodesGW 1062502113 1062501981 IN IP4
192.168.200.201</P>
<P class=MsoNormal>s=Phone-Call</P>
<P class=MsoNormal>c=IN IP4 192.168.200.201</P>
<P class=MsoNormal>t=0 0</P>
<P class=MsoNormal>m=audio 6060 RTP/AVP 8 0 96</P>
<P class=MsoNormal>a=rtpmap:8 PCMA/8000</P>
<P class=MsoNormal>a=rtpmap:0 PCMU/8000</P>
<P class=MsoNormal>a=rtpmap:96 telephone-event/8000</P>
<P class=MsoNormal>a=fmtp:96 0-15</P>
<P class=MsoNormal>a=ptime:20</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>2011-05-07 22:48:05.719537 [DEBUG] sofia.c:4908
(sofia/internal/+4001@192.168.20</P>
<P class=MsoNormal>0.100) State Change CS_NEW -> CS_INIT</P>
<P class=MsoNormal>2011-05-07 22:48:05.719537 [DEBUG]
switch_core_session.c:1116 Send signal sofia/</P>
<P class=MsoNormal>internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [BREAK]</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG]
switch_core_state_machine.c:325 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Running State
Change CS_INIT</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG]
switch_core_state_machine.c:361 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State INIT</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG] mod_sofia.c:84
sofia/internal/+4001@192.168.2</P>
<P class=MsoNormal>00.100 SOFIA INIT</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG] mod_sofia.c:124
(sofia/internal/+4001@192.168</P>
<P class=MsoNormal>.200.100) State Change CS_INIT -> CS_ROUTING</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG]
switch_core_session.c:1116 Send signal sofia/</P>
<P class=MsoNormal>internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [BREAK]</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG]
switch_core_state_machine.c:361 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State INIT going
to sleep</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG]
switch_core_state_machine.c:325 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Running State
Change CS_ROUTING</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG] switch_channel.c:1668
(sofia/internal/+4001@1</P>
<P class=MsoNormal>92.168.200.100) Callstate Change DOWN -> RINGING</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG]
switch_core_state_machine.c:364 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State ROUTING</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG] mod_sofia.c:147
sofia/internal/+4001@192.168.</P>
<P class=MsoNormal>200.100 SOFIA ROUTING</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [DEBUG]
switch_core_state_machine.c:77 sofia/internal</P>
<P class=MsoNormal>/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Standard
ROUTING</P>
<P class=MsoNormal>2011-05-07 22:48:05.722537 [INFO] mod_dialplan_xml.c:331
Processing +4001 <+4001</P>
<P class=MsoNormal>>->+9123 in context default</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->unloop] continu</P>
<P class=MsoNormal>e=false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (PASS)
[unloop] ${unroll_lo</P>
<P class=MsoNormal>ops}(true) =~ /^true$/ break=on-false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (FAIL)
[unloop] ${sip_loope</P>
<P class=MsoNormal>d_call}() =~ /^true$/ break=on-false</P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->remove_plus_of_</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">dst_num]
continue=true</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (PASS)
[remove_plus_of_dst_</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">num]
destination_number(+9123) =~ /^\+(\d+)$/ break=on-false</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Action
set(destination_number=912</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">3)</SPAN></P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->remove_plus_of_</P>
<P class=MsoNormal>src_num] continue=true</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (PASS)
[remove_plus_of_src_</P>
<P class=MsoNormal>num] caller_id_number(+4001) =~ /^\+(\d+)$/
break=on-false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Action
set(effective_caller_id_na</P>
<P class=MsoNormal>me=4001)</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Action
set(effective_caller_id_nu</P>
<P class=MsoNormal>mber=4001)</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->7_8_to_Lync] co</P>
<P class=MsoNormal>ntinue=false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (FAIL)
[7_8_to_Lync] destin</P>
<P class=MsoNormal>ation_number(+9123) =~ /^([78]\d{3})$/ break=on-false</P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->9_to_GW] contin</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">ue=false</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (FAIL)
[9_to_GW] destinatio</SPAN></P>
<P class=MsoNormal><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">n_number</SPAN><SPAN
style="BACKGROUND: red; mso-highlight: red">(+9123</SPAN><SPAN
style="BACKGROUND: yellow; mso-highlight: yellow">) =~ /^(9\d+)$/
break=on-false</SPAN></P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->1_to_IPP] conti</P>
<P class=MsoNormal>nue=false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (FAIL)
[1_to_IPP] destinati</P>
<P class=MsoNormal>on_number(+9123) =~ /^(1\d{3})$/ break=on-false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->DISA] continue=</P>
<P class=MsoNormal>false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (FAIL)
[DISA] destination_n</P>
<P class=MsoNormal>umber(+9123) =~ /^\*(3472)$/ break=on-false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> parsing
[default->Recordings] con</P>
<P class=MsoNormal>tinue=false</P>
<P class=MsoNormal>Dialplan: sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Regex (FAIL)
[Recordings] destina</P>
<P class=MsoNormal>tion_number(+9123) =~ /^\*(732673)$/ break=on-false</P>
<P class=MsoNormal>2011-05-07 22:48:05.727537 [DEBUG]
switch_core_state_machine.c:119 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State Change
CS_ROUTING -> CS_EXECUTE</P>
<P class=MsoNormal>2011-05-07 22:48:05.727537 [DEBUG]
switch_core_session.c:1116 Send signal sofia/</P>
<P class=MsoNormal>internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [BREAK]</P>
<P class=MsoNormal>2011-05-07 22:48:05.727537 [DEBUG]
switch_core_state_machine.c:364 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State ROUTING
going to sleep</P>
<P class=MsoNormal>2011-05-07 22:48:05.727537 [DEBUG]
switch_core_state_machine.c:325 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Running State
Change CS_EXECUTE</P>
<P class=MsoNormal>2011-05-07 22:48:05.727537 [DEBUG]
switch_core_state_machine.c:371 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State EXECUTE</P>
<P class=MsoNormal>2011-05-07 22:48:05.727537 [DEBUG] mod_sofia.c:240
sofia/internal/+4001@192.168.</P>
<P class=MsoNormal>200.100 SOFIA EXECUTE</P>
<P class=MsoNormal>2011-05-07 22:48:05.727537 [DEBUG]
switch_core_state_machine.c:157 sofia/interna</P>
<P class=MsoNormal>l/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Standard
EXECUTE</P>
<P class=MsoNormal>EXECUTE sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>
set(destination_number=9123)</P>
<P class=MsoNormal>2011-05-07 22:48:05.728537 [DEBUG] mod_dptools.c:1060
sofia/internal/+4001@192.1</P>
<P class=MsoNormal>68.200.100 SET [destination_number]=[9123]</P>
<P class=MsoNormal>EXECUTE sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>
set(effective_caller_id_name=4001)</P>
<P class=MsoNormal>2011-05-07 22:48:05.728537 [DEBUG] mod_dptools.c:1060
sofia/internal/+4001@192.1</P>
<P class=MsoNormal>68.200.100 SET [effective_caller_id_name]=[4001]</P>
<P class=MsoNormal>EXECUTE sofia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>
set(effective_caller_id_number=4001</P>
<P class=MsoNormal>)</P>
<P class=MsoNormal>2011-05-07 22:48:05.729537 [DEBUG] mod_dptools.c:1060
sofia/internal/+4001@192.1</P>
<P class=MsoNormal>68.200.100 SET [effective_caller_id_number]=[4001]</P>
<P class=MsoNormal>2011-05-07 22:48:05.729537 [NOTICE]
switch_core_state_machine.c:189 sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> has executed the
last dialplan instruction, hanging up.</P>
<P class=MsoNormal> </P>
<P class=MsoNormal>2011-05-07 22:48:05.729537 [DEBUG] switch_channel.c:2563
(sofia/internal/+4001@1</P>
<P class=MsoNormal>92.168.200.100) Callstate Change RINGING -> HANGUP</P>
<P class=MsoNormal>2011-05-07 22:48:05.729537 [NOTICE]
switch_core_state_machine.c:191 Hangup sofia</P>
<P class=MsoNormal>/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [CS_EXECUTE]
[NORMAL_CLEARING]</P>
<P class=MsoNormal>2011-05-07 22:48:05.730538 [DEBUG] switch_channel.c:2579
Send signal sofia/inter</P>
<P class=MsoNormal>nal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [KILL]</P>
<P class=MsoNormal>2011-05-07 22:48:05.730538 [DEBUG]
switch_core_session.c:1116 Send signal sofia/</P>
<P class=MsoNormal>internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [BREAK]</P>
<P class=MsoNormal>2011-05-07 22:48:05.730538 [DEBUG]
switch_core_state_machine.c:371 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State EXECUTE
going to sleep</P>
<P class=MsoNormal>2011-05-07 22:48:05.730538 [DEBUG]
switch_core_state_machine.c:325 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Running State
Change CS_HANGUP</P>
<P class=MsoNormal>2011-05-07 22:48:05.731538 [DEBUG]
switch_core_state_machine.c:565 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State HANGUP</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG] mod_sofia.c:457 Channel
sofia/internal/+4001@</P>
<P class=MsoNormal>192.168.200.100 hanging up, cause: NORMAL_CLEARING</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG] mod_sofia.c:519
Responding to INVITE with: 48</P>
<P class=MsoNormal>0</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG]
switch_core_state_machine.c:46 sofia/internal</P>
<P class=MsoNormal>/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Standard HANGUP,
cause: NORMAL_CLEARING</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG]
switch_core_state_machine.c:565 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State HANGUP
going to sleep</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG]
switch_core_state_machine.c:356 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State Change
CS_HANGUP -> CS_REPORTING</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG]
switch_core_session.c:1116 Send signal sofia/</P>
<P class=MsoNormal>internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [BREAK]</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG]
switch_core_state_machine.c:325 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Running State
Change CS_REPORTING</P>
<P class=MsoNormal>2011-05-07 22:48:05.732538 [DEBUG]
switch_core_state_machine.c:625 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State
REPORTING</P>
<P class=MsoNormal>2011-05-07 22:48:06.017554 [DEBUG]
switch_core_state_machine.c:53 sofia/internal</P>
<P class=MsoNormal>/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Standard
REPORTING, cause: NORMAL_CLEARING</P>
<P class=MsoNormal>2011-05-07 22:48:06.017554 [DEBUG]
switch_core_state_machine.c:625 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State REPORTING
going to sleep</P>
<P class=MsoNormal>2011-05-07 22:48:06.017554 [DEBUG]
switch_core_state_machine.c:350 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State Change
CS_REPORTING -> CS_DESTROY</P>
<P class=MsoNormal>2011-05-07 22:48:06.017554 [DEBUG]
switch_core_session.c:1116 Send signal sofia/</P>
<P class=MsoNormal>internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [BREAK]</P>
<P class=MsoNormal>2011-05-07 22:48:06.017554 [DEBUG]
switch_core_session.c:1288 Session 2 (sofia/i</P>
<P class=MsoNormal>nternal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Locked, Waiting
on external entities</P>
<P class=MsoNormal>2011-05-07 22:48:06.017554 [NOTICE]
switch_core_session.c:1306 Session 2 (sofia/</P>
<P class=MsoNormal>internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Ended</P>
<P class=MsoNormal>2011-05-07 22:48:06.017554 [NOTICE]
switch_core_session.c:1308 Close Channel sof</P>
<P class=MsoNormal>ia/internal/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> [CS_DESTROY]</P>
<P class=MsoNormal>2011-05-07 22:48:06.018554 [DEBUG]
switch_core_state_machine.c:454 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Callstate Change
HANGUP -> DOWN</P>
<P class=MsoNormal>2011-05-07 22:48:06.018554 [DEBUG]
switch_core_state_machine.c:457 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) Running State
Change CS_DESTROY</P>
<P class=MsoNormal>2011-05-07 22:48:06.018554 [DEBUG]
switch_core_state_machine.c:467 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State DESTROY</P>
<P class=MsoNormal>2011-05-07 22:48:06.018554 [DEBUG] mod_sofia.c:362
sofia/internal/+4001@192.168.</P>
<P class=MsoNormal>200.100 SOFIA DESTROY</P>
<P class=MsoNormal>2011-05-07 22:48:06.018554 [DEBUG]
switch_core_state_machine.c:60 sofia/internal</P>
<P class=MsoNormal>/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A> Standard
DESTROY</P>
<P class=MsoNormal>2011-05-07 22:48:06.018554 [DEBUG]
switch_core_state_machine.c:467 (sofia/intern</P>
<P class=MsoNormal>al/+<A
href="mailto:4001@192.168.200.100">4001@192.168.200.100</A>) State DESTROY
going to sleep</P>
<P>
<HR>
<P></P>_______________________________________________<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></BLOCKQUOTE></BODY></HTML>