Here is what I get when I test it.<br>you may want to look at your console for the blue Hangup lines and confirm it&#39;s your call to hangup <br><br><br>    &lt;extension name=&quot;7016&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^7016$&quot;&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&gt;<br>        &lt;action application=&quot;hangup&quot; data=&quot;no_answer&quot;/&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br>
<br>send 644 bytes to udp/[72.128.89.126]:42988 at 14:34:29.043915:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 480 Temporarily Unavailable<br>   Via: SIP/2.0/UDP 10.0.1.8:50606;branch=z9hG4bK-d8754z-6077f64f00ed157e-1---d8754z-;rport=42988;received=72.128.89.126<br>
   From: &quot;tony&quot;&lt;<a href="mailto:sip%3Atony@deathstar.freeswitch.org">sip:tony@deathstar.freeswitch.org</a>&gt;;tag=352a2a46<br>   To: &quot;7016&quot; &lt;<a href="mailto:sip%3A7016@deathstar.freeswitch.org">sip:7016@deathstar.freeswitch.org</a>&gt;;tag=HUye00UQZKySQ<br>
   Call-ID: N2Y1MWYwZjA2YzJlY2ZhY2VjYzRhNDZmMzczYWMwN2Q.<br>   CSeq: 1 INVITE<br>   User-Agent: The Guy In IRC IS WRONG<br>   Accept: application/sdp<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<br>
   Supported: timer, precondition, path, replaces<br>   Allow-Events: talk, refer<br>   Reason: Q.850;cause=19;text=&quot;NO_ANSWER&quot;<br>   Content-Length: 0<br><br><br>    &lt;extension name=&quot;7016&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^7016$&quot;&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&gt;<br>        &lt;action application=&quot;hangup&quot; data=&quot;user_busy&quot;/&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br>
<br><br>send 630 bytes to udp/[72.128.89.126]:42988 at 14:35:31.286436:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 486 Busy Here<br>   Via: SIP/2.0/UDP 10.0.1.8:50606;branch=z9hG4bK-d8754z-223ae00e1829097e-1---d8754z-;rport=42988;received=72.128.89.126<br>
   From: &quot;tony&quot;&lt;<a href="mailto:sip%3Atony@deathstar.freeswitch.org">sip:tony@deathstar.freeswitch.org</a>&gt;;tag=aa3b2b1d<br>   To: &quot;7016&quot; &lt;<a href="mailto:sip%3A7016@deathstar.freeswitch.org">sip:7016@deathstar.freeswitch.org</a>&gt;;tag=j4Q71UcUvvmcK<br>
   Call-ID: NDcyNmQyYjY5YWQwOTI3MjZiZWFlZDQyNDIyZjZlMDA.<br>   CSeq: 1 INVITE<br>   User-Agent: The Guy In IRC IS WRONG<br>   Accept: application/sdp<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<br>
   Supported: timer, precondition, path, replaces<br>   Allow-Events: talk, refer<br>   Reason: Q.850;cause=17;text=&quot;USER_BUSY&quot;<br>   Content-Length: 0<br><br><br><br><div class="gmail_quote">On Fri, Sep 18, 2009 at 2:53 AM, Peter P GMX <span dir="ltr">&lt;<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello ,<br>
<br>
I try  to hangup aa call with a certain cause code.<br>
<br>
If the user dials a number which we currently do not serve we send<br>
    &lt;action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&gt;<br>
    &lt;action application=&quot;hangup&quot; data=&quot;NO_ANSWER&quot;/&gt;<br>
which gives a<br>
    &quot;SIP/2.0 480 Temporarily Unavailable.&quot; Message , which is fine.<br>
<br>
For the target number being busy or having another state, we use this.<br>
    &lt;anti-action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&gt;<br>
    &lt;anti-action application=&quot;hangup&quot; data=&quot;${hangup_cause}&quot;/&gt;<br>
which gives a<br>
    &quot;SIP/2.0 486 Busy Here.&quot;&quot; Message , which is fine in case of Busy.<br>
<br>
However in both cases the SIP mssage has the following cause code:<br>
    Reason: Q.850;cause=16;text=&quot;NORMAL_CLEARING&quot;.<br>
which can lead to problems when forwarding to a PSTN Gateway.<br>
<br>
How can we achieve, that the cause code is in sync with the deiivered<br>
message?<br>
<br>
We are on Trunk 14741M.<br>
<br>
Best regards<br>
Peter<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <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="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>