<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852"></HEAD>
<BODY>
<DIV><SPAN class=765480714-13122011><FONT size=2 face=Consolas>I am trying to 
send a different hangup cause to the caller party. In the Dial plan i am using 
this public xml file (the asterisks "*"&nbsp;in the code are digits 
ommited):</FONT></SPAN></DIV>
<DIV><SPAN class=765480714-13122011><FONT size=2 
face=Consolas></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=765480714-13122011><FONT size=2 face=Consolas>&lt;extension 
name="lcr_******"&gt;<BR>&nbsp;&nbsp; &lt;condition field="network_addr" 
expression="***.***.***.***"/&gt;<BR>&nbsp;&nbsp; &lt;condition 
field="destination_number" 
expression="^5***#(\d+)$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="set" 
data="absolute_codec_string=G729"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="set" 
data="continue_on_fail=yes"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="set" 
data="sip_ignore_remote_cause=true"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="set" 
data="hangup_after_bridge=true"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="bridge" 
data="sofia/gateway/co*****/5***#$1"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="hangup" data="<EM><FONT 
face=Arial>NORMAL_CIRCUIT_CONGESTION</FONT></EM>"/&gt;<BR>&nbsp;&nbsp; 
&lt;/condition&gt;<BR>&lt;/extension&gt;</FONT></SPAN></DIV>
<DIV><FONT size=2 face=Consolas></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011>when a call is 
made, the dialplan shows me that all is ok</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011>This is the 
Freeswitch server A who play the normal circuit congestion 
dialplan:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011><BR>2011-12-13 
12:59:37.390188 [NOTICE] switch_channel.c:907 New Channel <A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.*** 
[5a591069-4d76-45c9-93ea-f38e85d17aa2]<BR>2011-12-13 12:59:37.390188 [INFO] 
mod_dialplan_xml.c:336 Processing 
*******&lt;********&gt;-&gt;5*******#21********** in context 
public<BR>2011-12-13 12:59:37.390188 [NOTICE] switch_channel.c:907 New Channel 
sofia/external/5*******#21********** 
[11fc5e4e-045f-4ce9-81ec-5049c248cb34]<BR>2011-12-13 12:59:37.414191 [NOTICE] 
sofia.c:5872 Hangup sofia/external/5*******#21********** [CS_CONSUME_MEDIA] 
[CALL_REJECTED]<BR>2011-12-13 12:59:37.426196 [INFO] mod_dptools.c:2696 
Originate Failed.&nbsp; Cause: CALL_REJECTED<BR>2011-12-13 12:59:37.426196 
[NOTICE] mod_dptools.c:916 Hangup <A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.*** 
[CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION]<BR>2011-12-13 12:59:37.426196 [NOTICE] 
switch_core_session.c:1353 Session 304414 (<A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.***) 
Ended<BR>2011-12-13 12:59:37.426196 [NOTICE] switch_core_session.c:1355 Close 
Channel <A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.*** 
[CS_DESTROY]<BR>2011-12-13 12:59:37.426196 [NOTICE] switch_core_session.c:1353 
Session 304415 (sofia/external/5*******#21**********) Ended<BR>2011-12-13 
12:59:37.426196 [NOTICE] switch_core_session.c:1355 Close Channel 
sofia/external/5*******#21********** [CS_DESTROY]</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011>And this is the 
other freeswitch i am using for testing pourposes to check if the cause code is 
the right one: </SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011>2011-12-13 
16:05:13.556630 [NOTICE] switch_channel.c:779 New Channel <A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.*** 
[8a188730-f366-4a49-964e-e4e66fae973c]<BR>2011-12-13 16:05:13.560645 [INFO] 
mod_dialplan_xml.c:331 Processing 1000 &lt;1000&gt;-&gt;500321261452652 in 
context public<BR>2011-12-13 16:05:13.560645 [NOTICE] switch_channel.c:779 New 
Channel sofia/external/5*******#21********** 
[e03f896f-f935-42f9-b83f-49a30de216e7]<BR>2011-12-13 16:05:13.600636 [NOTICE] 
sofia.c:5051 Hangup sofia/external/5*******#21********** [CS_CONSUME_MEDIA] 
[NORMAL_TEMPORARY_FAILURE]<BR>2011-12-13 16:05:13.604647 [INFO] 
mod_dptools.c:2393 Originate Failed.&nbsp; Cause: 
NORMAL_TEMPORARY_FAILURE<BR>2011-12-13 16:05:13.604647 [NOTICE] 
mod_dptools.c:2456 Hangup <A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.*** 
[CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE]<BR>2011-12-13 16:05:13.604647 [NOTICE] 
switch_core_session.c:1228 Session 108345 (<A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.***) 
Ended<BR>2011-12-13 16:05:13.604647 [NOTICE] switch_core_session.c:1230 Close 
Channel <A 
href="mailto:sofia/external/***********@109.***.28">sofia/external/***********@109.***.28</A>.*** 
[CS_DESTROY]<BR>2011-12-13 16:05:13.604647 [NOTICE] switch_core_session.c:1228 
Session 108346 (sofia/external/5*******#21**********) Ended<BR>2011-12-13 
16:05:13.604647 [NOTICE] switch_core_session.c:1230 Close Channel 
sofia/external/5*******#21********** [CS_DESTROY]</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011>For me to receive 
a 34 or a 41 it is not a problem, but for my client they can manage 34 but not 
41 error to redirect traffic to other provider.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011>Can someone help 
me with this issue?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas><SPAN 
class=765480714-13122011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Consolas><SPAN class=765480714-13122011>I&nbsp;beg you 
pardon&nbsp;for my english </SPAN></FONT></DIV>
<DIV><FONT size=2 face=Consolas></FONT>&nbsp;</DIV>
<DIV align=left>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal align=left><B><SPAN 
style="FONT-FAMILY: 'Lucida Sans'; COLOR: #6d1f80; FONT-SIZE: 10pt; mso-no-proof: yes">Josue 
Diaz Cruz</SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><SPAN 
style="FONT-FAMILY: 'Lucida Sans'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes">Departamento 
Tecnico y Soporte</SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN 
style="COLOR: blue; mso-no-proof: yes"><A 
href="mailto:jdiaz@coinfru.com"><EM>jdiaz@coinfru.com</EM></A><?xml:namespace 
prefix = o ns = "urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Lucida Sans'; COLOR: blue; FONT-SIZE: 9pt; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><EM><SPAN 
style="mso-no-proof: yes"><o:p></o:p></SPAN></EM></P><SPAN 
style="FONT-FAMILY: 'Times New Roman'; COLOR: blue; FONT-SIZE: 12pt; mso-no-proof: yes; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ES; mso-fareast-language: ES; mso-bidi-language: AR-SA"><?xml:namespace 
prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 
stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" 
o:spt="75" coordsize="21600,21600"><v:stroke 
joinstyle="miter"></v:stroke><v:formulas><v:f 
eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f 
eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f 
eqn="prod @3 21600 pixelWidth"></v:f><v:f 
eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f 
eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f 
eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f 
eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" 
gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" 
v:ext="edit"></o:lock></v:shapetype><FONT color=#808080 size=2 
face="Lucida Sans"><FONT color=#000000 face=Consolas></FONT><STRONG><IMG 
border=0 hspace=0 alt="" align=baseline src="cid:765480714@13122011-0F29" 
width=122 height=76></STRONG></FONT></SPAN></P></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>