Hi Aleksandr,
Maybe you can use the `hf_value_exists function`
https://www.kamailio.org/docs/modules/5.2.x/modules/textopsx.html#textopsx.…
On Wed, 10 Apr 2019, at 4:16 PM, Techinnovation wrote:
Hello,
How can I change the status where Reason: q.850;cause=31. ?
This code change status for all where we receive status 480 to 404. Is it possible to
this code also to add second condition - if reason is like "q.850;cause=31"
failure_route[MANAGE_FAILURE] {
...
if (t_check_status("480")) {
t_reply("404","Unallocated number");
exit;
}
Need to modify this massage.
*SIP/2.0 480 Temporarily Not Available.
*Allow: UPDATE,REFER,INFO.
Call-ID:
6b11b153405a5103330697b774b97f5a@192.168.2.2:5060.
Contact: <sip:192.168.3.3:5060>.
CSeq: 102 INVITE.
From: "380668375820" <sip:380668375820@192.168.2.2>;tag=as445242c0.
*Reason: q.850;cause=31.
*Server: Cirpack/v4.76 (gw_sip).
To:
<sip:9052946032@192.168.3.3:5060>;tag=00-07929-6e4a3079-75447e2a5.
Content-Length: 0.
Thanks.
BR,
Aleksandr
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users