Hello ,

I try  to hangup aa call with a certain cause code.

If the user dials a number which we currently do not serve we send
    <action application="set" data="sip_ignore_remote_cause=true"/>
    <action application="hangup" data="NO_ANSWER"/>
which gives a
    "SIP/2.0 480 Temporarily Unavailable." Message , which is fine.

For the target number being busy or having another state, we use this.
    <anti-action application="set" data="sip_ignore_remote_cause=true"/>
    <anti-action application="hangup" data="${hangup_cause}"/>
which gives a
    "SIP/2.0 486 Busy Here."" Message , which is fine in case of Busy.

However in both cases the SIP mssage has the following cause code:
    Reason: Q.850;cause=16;text="NORMAL_CLEARING".
which can lead to problems when forwarding to a PSTN Gateway.

How can we achieve, that the cause code is in sync with the deiivered
message?

We are on Trunk 14741M.

Best regards
Peter

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to