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's your call to hangup <br><br><br> <extension name="7016"><br> <condition field="destination_number" expression="^7016$"><br>
<action application="set" data="sip_ignore_remote_cause=true"/><br> <action application="hangup" data="no_answer"/><br> </condition><br> </extension><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: "tony"<<a href="mailto:sip%3Atony@deathstar.freeswitch.org">sip:tony@deathstar.freeswitch.org</a>>;tag=352a2a46<br> To: "7016" <<a href="mailto:sip%3A7016@deathstar.freeswitch.org">sip:7016@deathstar.freeswitch.org</a>>;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="NO_ANSWER"<br> Content-Length: 0<br><br><br> <extension name="7016"><br> <condition field="destination_number" expression="^7016$"><br>
<action application="set" data="sip_ignore_remote_cause=true"/><br> <action application="hangup" data="user_busy"/><br> </condition><br> </extension><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: "tony"<<a href="mailto:sip%3Atony@deathstar.freeswitch.org">sip:tony@deathstar.freeswitch.org</a>>;tag=aa3b2b1d<br> To: "7016" <<a href="mailto:sip%3A7016@deathstar.freeswitch.org">sip:7016@deathstar.freeswitch.org</a>>;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="USER_BUSY"<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"><<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>></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>
<action application="set" data="sip_ignore_remote_cause=true"/><br>
<action application="hangup" data="NO_ANSWER"/><br>
which gives a<br>
"SIP/2.0 480 Temporarily Unavailable." Message , which is fine.<br>
<br>
For the target number being busy or having another state, we use this.<br>
<anti-action application="set" data="sip_ignore_remote_cause=true"/><br>
<anti-action application="hangup" data="${hangup_cause}"/><br>
which gives a<br>
"SIP/2.0 486 Busy Here."" 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="NORMAL_CLEARING".<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>