<div dir="ltr">Its because you continued in the dialplan after the attempted bridge and hungup with normal clearing by reaching the final app in the dialplan<div>you would actually have to explicitly execute</div><div>&lt;action application=&quot;hangup&quot; data=&quot;hangup_cause&quot;/&gt;</div>
<div><br></div><div>or set continue_on_fail=false before calling bridge.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 1:19 PM, Muhammad Naseer Bhatti <span dir="ltr">&lt;<a href="mailto:nbhatti@gmail.com" target="_blank">nbhatti@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000"><br>
I think 480 is because as mentioned in the wiki <span>&quot;Unspecified
 causes codes (no value in the &quot;SIP Equiv.&quot; column in the 
table) are translated to SIP &quot;480 Temporarily Unavailable&quot; by 
FreeSwitch.&quot; But why in this case both Q.850 and SIP Equiv cause not 
matching?<br>
  <br>
</span><div class="im">
<div>-- <br>Thanks,<br>



Muhammad Naseer Bhatti<br>


<br>


</div>
<br>
<br></div>
Steven Ayre wrote:
<blockquote type="cite"><div><div class="h5">Missed you&#39;d included the logs ;)
  <div><br></div>
  <div>As suspected, the 480 contains 16 so that&#39;s where normal clearing
 comes from</div>
  <div><br></div>
  <div>480 temporary failure is the SIP cause</div>
  <div>16 Normal Clearing is the ISDN Q850 one</div>

  <div><br></div>
  <div>Internally FS will use ISDN causes and map protocol specific ones
 between them (which isn&#39;t 1:1)<span></span>, Reason lets the endpoint 
override that mapping because its already providing the exact one</div>

  <div><br></div>
  <div><br></div>
  <div><br><br>On Wednesday, July 24, 2013, Steven Ayre  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">16 is normal clearing - they are the q850 names 
for the same thing.<div>
<br></div><div>Why that&#39;s being done for 480 is another question - 
seeing the full call context and any Reason headers might shed might on 
that</div>
<div><br></div><div>480 maps to 41 not 16 iirc, but would be overridden 
by a Reason header or if something else was going on on the call such as
 calling the hangup after the bridge<span></span></div><div><br></div><div><div>

<br>On Wednesday, July 24, 2013, Muhammad Naseer Bhatti  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
  <br>
Got a little confusion here. <br>
FreeSWITCH log: <a href="http://pastebin.freeswitch.org/21226" target="_blank">http://pastebin.freeswitch.org/21226</a><br>
SIP trace: <a href="http://pastebin.freeswitch.org/21227" target="_blank">http://pastebin.freeswitch.org/21227</a><br>
  <br>
Both were taken once after each other but other than the timing, 
everything else remains the same.<br>
  <br>
This is a vanilla install for FreeSWITCH Version 
1.5.5b+git~20130724T035836Z~3ae87091e1 (git 3ae8709 2013-07-24 
03:58:36Z). Just dialing a non existent number (98871002) from a 
registered user 1001. The hangup cause returned by the switch shows<br>
  <span><li><div><span><div style="color:#ffff55;background-color:black"><span></span>mod_sofia.c:<span>463</span>
 Channel sofia/internal/<span>1001</span>@<span>10.211</span><span>.55</span><span>.3</span>:<span>50601</span>
 hanging up, cause: NORMAL_CLEARING</div>

</span></div></li><br>
However the SIP capture shows </span><span>SIP/<span>2.0</span>
 <span>480</span> Temporarily Unavailable. </span>This 480 
is also showing by the switch <span><span>mod_sofia.c:<span>597</span> 
Responding to INVITE with: <span>480</span></span>.
 I know the mapping is done by FreeSWITCH. In this case why 480, 
returned Normal Temporary Failure </span>while the switch shows 
NORMAL_CLEARING? Is this because Q.850 returned is 16 and FreeSWITCH 
mapping for 16 is NORMAL_CLEARING?<br>
  <br>
Or is there something I am missing.<br>
  <br>
  <div>-- <br>Thanks,<br>



Muhammad Naseer Bhatti<br>


<br>


  </div>
</div></blockquote></div></div></blockquote></div>


  </div></div><div class="im"><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</div></blockquote>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</div>