<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">we shouldn't have to play workaround games...&nbsp;<div><br></div><div>these are mapped in mod_sofia.c int he function hangup_cause_to_sip. &nbsp;These values are based on RFC-4497 section 8.4.1. &nbsp;This should be mapping NO_ANSWER to sip cause 480. &nbsp;If that is not happening, its a bug. &nbsp;If that is not the desired response, please review that rfc and if that value is incorrect, please open a jira.</div><div><br></div><div>Mike</div><div><br><div><div>On Apr 10, 2014, at 2:21 PM, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">In this case looks like the bleg hangs up with NO_ANSWER fine<div><br></div><div>The bridge app ends and returns to dialplan, you can see it logs it's reached the end of the dialplan. I think that's why it's hanging up with 16.</div>
<div><br></div><div>hangup_after_bridge only applies to a 'successful' bridge which means 180/183/200 received</div><div><br></div><div>You could try this after the bridge:</div><div><br></div><div>&lt;action application="hangup" data="${bridge_hangup_cause}"&gt;</div>
<div><br></div><div><span></span><br><br>On Thursday, April 10, 2014, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Not all Q.850 codes map into SIP, I know we are missing some that can not map correctly.<br>
<br>
--<br>
Brian West<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'brian@freeswitch.org')">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH , @briankwest<br>
<a href="http://www.freeswitchbook.com/" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com/" target="_blank">http://www.freeswitchcookbook.com</a><br>
<br>
T: +1.918.420.9001 &nbsp;| &nbsp;F: +1.918.420.9002 &nbsp;| &nbsp;M: +1.918.424.WEST<br>
iNUM: +883 5100 1420 9001<br>
ISN: 410*543<br>
<a href="Skype:briankwest">Skype:briankwest</a><br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Apr 10, 2014, at 6:19 AM, Vladimir Getmanshchuk &lt;<a>vladget@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello Everyone!<br>
&gt;<br>
&gt; I have faced same issue as Ross at this thread: <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2011-January/066985.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2011-January/066985.html</a><br>

&gt;<br>
&gt; FS translates q.850 codes from b-leg to a-leg incorrect.<br>
&gt; Looks like there is no solution to translate q850 in correct way?<br>
&gt;<br>
&gt; Please advice!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Additional info:<br>
&gt;<br>
&gt; # freeswitch -version<br>
&gt; FreeSWITCH version: 1.2.11+git~20130711T181514Z~2eab94be78 (git 2eab94b 2013-07-11 18:15:14Z)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; dialplan extension:<br>
&gt; &nbsp; &lt;extension name="default"&gt;<br>
&gt; &nbsp; &nbsp; &lt;condition field="destination_number" expression="^\+?222222222222"&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;action application="bridge" data="{max_forwards=70,progress_timeout=30,hangup_after_bridge=true,sip_cid_type=pid,zrtp_secure_media=false,hold_music=silence[absolute_codec_string=^^:G729@20i:PCMA@20i:PCMU@20i,origination_caller_id_number=+11111111111,origination_caller_id_name=+111111111111]sofia/external/<a href="http://222222222222@2.2.2.2:5062/" target="_blank">222222222222@2.2.2.2:5062</a>"/&gt;<br>

&gt; &nbsp; &nbsp; &lt;/condition&gt;<br>
&gt; &nbsp; &lt;/extension&gt;<br>
&gt;<br>
&gt;<br>
&gt; SIP trace:<br>
&gt; #<br>
&gt; U 2014/04/10 10:19:43.079198 <a href="http://2.2.2.2:5062/" target="_blank">2.2.2.2:5062</a> -&gt; <a href="http://1.1.1.1:5080/" target="_blank">1.1.1.1:5080</a><br>
&gt; SIP/2.0 480 Temporarily not available.<br>
&gt; Via: SIP/2.0/UDP 1.1.1.1:5080;rport=5080;branch=z9hG4bKBXQm2F3cHgFcK.<br>
&gt; From: "+111111111111" &lt;<a>sip:+111111111111@1.1.1.1</a>&gt;;tag=t8yp14HU53Xrj.<br>
&gt; To: &lt;<a href="http://sip:+222222222222@4.4.4.4:5060/" target="_blank">sip:+222222222222@4.4.4.4:5060</a>&gt;;tag=gK0699dffd.<br>
&gt; Call-ID: 5f60343b-3b3c-1232-d9ba-020820d8e22d.<br>
&gt; CSeq: 58226505 INVITE.<br>
&gt; Reason: Q.850;cause=19.<br>
&gt; Content-Length: 0.<br>
&gt; .<br>
&gt;<br>
&gt; #<br>
&gt; U 2014/04/10 10:19:43.084570 <a href="http://1.1.1.1:5060/" target="_blank">1.1.1.1:5060</a> -&gt; <a href="http://2.2.2.2:5060/" target="_blank">2.2.2.2:5060</a><br>
&gt; SIP/2.0 480 Temporarily Unavailable.<br>
&gt; Via: SIP/2.0/UDP 2.2.2.2;branch=z9hG4bK26dc.1612d515.0.<br>
&gt; Via: SIP/2.0/UDP 3.3.3.3:5060;branch=z9hG4bK420c53ac;rport=5060.<br>
&gt; Max-Forwards: 16.<br>
&gt; From: "pbx234" &lt;<a>sip:111111111111@3.3.3.3</a>&gt;;tag=as333cf884.<br>
&gt; To: &lt;<a href="sip:0599#">sip:0599#</a><a href="http://222222222222@2.2.2.2:5060/" target="_blank">222222222222@2.2.2.2:5060</a>&gt;;tag=veXaXcyc8118e.<br>
&gt; Call-ID: <a href="http://6c86be36267a0f6d54a34060364a3490@3.3.3.3:5060/" target="_blank">6c86be36267a0f6d54a34060364a3490@3.3.3.3:5060</a>.<br>
&gt; CSeq: 102 INVITE.<br>
&gt; User-Agent: FS.<br>
&gt; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY.<br>
&gt; Supported: timer, precondition, path, replaces.<br>
&gt; Allow-Events: talk, hold, conference, refer.<br>
&gt; Reason: Q.850;cause=16;text="NORMAL_CLEARING".<br>
&gt; Content-Length: 0.<br>
&gt; Remote-Party-ID: "Outbound Call" &lt;<a>sip:222222222222@2.2.2.2</a>&gt;;party=calling;privacy=off;screen=no.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2014-04-10 10:50:03.470035 [DEBUG] sofia.c:4937 Remote Reason: 19<br>
&gt; 2014-04-10 10:50:03.490051 [ALERT] switch_ivr.c:828 sofia/external/<a href="http://222222222222@2.2.2.2:5062/" target="_blank">222222222222@2.2.2.2:5062</a> receive message [SIGNAL_DATA]<br>
&gt; 2014-04-10 10:50:03.490051 [DEBUG] sofia.c:5719 Channel sofia/external/<a href="http://222222222222@2.2.2.2:5062/" target="_blank">222222222222@2.2.2.2:5062</a> entering state [terminated][480]<br>
&gt; 2014-04-10 10:50:03.490051 [NOTICE] sofia.c:6528 Hangup sofia/external/<a href="http://222222222222@2.2.2.2:5062/" target="_blank">222222222222@2.2.2.2:5062</a> [CS_EXCHANGE_MEDIA] [NO_ANSWER]<br>
&gt; 2014-04-10 10:50:03.490051 [DEBUG] switch_channel.c:3130 Send signal sofia/external/<a href="http://222222222222@2.2.2.2:5062/" target="_blank">222222222222@2.2.2.2:5062</a>&gt; _________________________________________________________________________<br>

&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="javascript:;" onclick="_e(event, 'cvml', '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>
<br>
</blockquote></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>