HOW DO I CHANGE Reason: Q.850;cause=16;text="NORMAL_CLEARING" to the REAL CAUSE

1,271 views
Skip to first unread message

abisio

unread,
Aug 5, 2019, 11:55:16 PM8/5/19
to ASTPP
I am using ASTPP 401 to control some gateways abroad. When no circuits are available or the call is rejected the gateway send 503 or something; however ASTPP returns
 Reason: Q.850;cause=16;text="NORMAL_CLEARING"

STATUS
SIP/2.0 503 Service Unavailable
but in
MESSAGE HEADER Reason: Q.850;cause=16;text="NORMAL_CLEARING"
This is causing problems when REROUTING THE CALL.

Is there anyway to change the MESSAGE HEADER to the REAL DISCONNECT CODE ?

Find enclosed captured example:




SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP XXXXXXX  ;rport=53016;branch=z9hG4bKPjdf106d1b2a4842ba8e54b89301328331
Max-Forwards: 70
From: <sip:7770...@astpp401.mydomain.com>;tag=940eae017bd948619698bbd596413cee
To: <sip:03597...@astpp401.mydomain.com>;tag=0F62jFNQXjQgS
Call-ID: 837d3817007b4b1f858d0b8c13fa8b10
CSeq: 19958 INVITE
User-Agent: ASTPP
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer

Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0


Devang Nathwani

unread,
Aug 10, 2019, 1:48:37 AM8/10/19
to as...@googlegroups.com
Hello,

Try adding disable_q850_reason=true dialplan param.

--
=====================================================================
Documentation: https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/5ee082c4-c6cb-4b82-8228-b9f7db9af9ee%40googlegroups.com.


--
Thanks,
Devang Nathwani

Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Alex Bisio

unread,
Aug 13, 2019, 2:34:24 PM8/13/19
to as...@googlegroups.com
I am sorry; I do not understand where do I need to change that. In the PROFILE ?

Or where ?


Alex Bisio


Devang Nathwani

unread,
Aug 14, 2019, 12:27:12 AM8/14/19
to as...@googlegroups.com
Hello,

No it is a dialplan variable, you should check in astpp.xml.lua, you may add it under whichever flow you are using.

abisio

unread,
Aug 18, 2019, 11:16:22 PM8/18/19
to ASTPP
Dewang

Yes, making the change in the ASTPP.XML.LUA did the trick.  Thank you very much !!!!!

However is there a way to report the REAL CAUSE as Q.850 instead of 16 Normal Call Clearing ?

On Wednesday, August 14, 2019 at 12:27:12 AM UTC-4, Devang Nathwani wrote:
Hello,

No it is a dialplan variable, you should check in astpp.xml.lua, you may add it under whichever flow you are using.

On Wed, Aug 14, 2019 at 12:04 AM Alex Bisio <abi...@gmail.com> wrote:
I am sorry; I do not understand where do I need to change that. In the PROFILE ?

Or where ?


Alex Bisio


On Sat, Aug 10, 2019 at 1:48 AM Devang Nathwani <devang....@inextrix.com> wrote:
Hello,

Try adding disable_q850_reason=true dialplan param.

On Tue, Aug 6, 2019 at 9:25 AM abisio <abi...@gmail.com> wrote:
I am using ASTPP 401 to control some gateways abroad. When no circuits are available or the call is rejected the gateway send 503 or something; however ASTPP returns
 Reason: Q.850;cause=16;text="NORMAL_CLEARING"

STATUS
SIP/2.0 503 Service Unavailable
but in
MESSAGE HEADER Reason: Q.850;cause=16;text="NORMAL_CLEARING"
This is causing problems when REROUTING THE CALL.

Is there anyway to change the MESSAGE HEADER to the REAL DISCONNECT CODE ?

Find enclosed captured example:




SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP XXXXXXX  ;rport=53016;branch=z9hG4bKPjdf106d1b2a4842ba8e54b89301328331
Max-Forwards: 70
From: <sip:77...@astpp401.mydomain.com>;tag=940eae017bd948619698bbd596413cee
To: <sip:035...@astpp401.mydomain.com>;tag=0F62jFNQXjQgS

Call-ID: 837d3817007b4b1f858d0b8c13fa8b10
CSeq: 19958 INVITE
User-Agent: ASTPP
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer

Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0


--
=====================================================================
Documentation: https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to as...@googlegroups.com.


--
Thanks,
Devang Nathwani

Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

--
=====================================================================
Documentation: https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to as...@googlegroups.com.

--
=====================================================================
Documentation: https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to as...@googlegroups.com.

Slamis

unread,
Dec 6, 2019, 8:04:22 AM12/6/19
to ASTPP
Hi

What was the exact change?

Thanks!

Alex Bisio

unread,
Dec 7, 2019, 4:40:49 AM12/7/19
to as...@googlegroups.com
Read below add those lines to the ASTPP.XML.LUA

Alex Bisio


--
=====================================================================
Documentation: https://docs.astppbilling.org/display/itplmars/ASTPP

Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/edbb7023-6e70-4f16-acb5-40ee982b2408%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages