Re: [OpenSIPS-Users] STIR/Shaken payload issue.

2021-05-24 Thread Sunil More
Hello All,
Thank you kne...@yahoo.com.

Yes I was too using sngrep to grab the header. Upon using ngrep I  found
that everything was fine. Thanks for pointing it out.

Regards,
Sunil More

On Mon, 24 May 2021 at 11:40, Sunil More 
wrote:

> Hello All,
>
> I tried the same with Opensips version 3.1.2 , Still the same result. The
> Payload is not a valid JSON.
>
> version: opensips 3.1.2 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll, sigio_rt, select.
> git revision: 539ab0b3a
> main.c compiled on 05:43:20 May 24 2021 with gcc 7
>
> Regards,
> Sunil More
>
> ------ Forwarded message -
> From: Sunil More 
> Date: Thu, 20 May 2021 at 15:55
> Subject: STIR/Shaken payload issue.
> To: users@lists.opensips.org 
>
>
> Hello All,
>
>
>
> I was working to use stir shaken module. The certificates are put in place
> and Identity Header is also created. However the Identity when tried to put
> on JWT.io for validation , I can observe that the payload is not good.
>
> Here is the identity Heade
> *Identity*:
> eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9hcHBzLnNhbWVzcGFjZS5jb20vc2VydmVyLmNydCJ9
> .
> eyJhdHRlc3QiOCIiwiZGVzdCI6eyJ0biI6WyI5MTk1MDMzMzgyNzUiXX0sImlhdCI6MTYyMDkxMDc3Nywib3JpZyI6eyJ0biI6IjkxOTUwMzMzODI3NiJ9LCJvcmlnaWQiOiJkc2FkYXNhc2Zkcy1kc2FkYXNkLXNWRzIn0
> .JzYHlbStXK7gpmRWVZY_IC8VmeZfaKWBzGTOfGU82OQ3w28lctaYv-
> YAzBdjqjUGJKISid327KSzUGGvpXYBSg;info= apps.samespace.com/server.crt>;ppt="shaken"
>
>
> After JWT.io
> Header for algorithm and token type  looks ok ..
> {
>
>   "alg": "ES256",
>
>   "ppt": "shaken",
>
>   "typ": "passport",
>
>   "x5u": "https://apps.samespace.com/server.crt;
>
> }
>
> However payload looks like this which is probably some invalid JSON, I am
> not sure what could cause this.
>
>
> "{\"attest\"8\"\"�#��'F�#��#�\u0013�S\u000�#sR%���&�\u0017B#�\u0013c#\u0003�\u0013\u0003ssr�&�&�r#��'F�#�#�\u0013�S\u000�#sb'��&�&�v�B#�\u0016F\u00176\u00176fG2�G6\u0016F\u00176B�5ds\"}"
>
> Here is the code snippet used .
>
>
> stir_shaken_auth("B", $var(origid),$var(cert), $var(privKey),"
> https://apps.samespace.com/server.crt","919503338276","919503338275;);
>
>
>
> I am using opensips version as below
>
>
>
> version: opensips 3.1.1 (x86_64/linux)
>
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
>
> poll method support: poll, epoll, sigio_rt, select.
>
> git revision: 229ec0793
>
> main.c compiled on 11:50:44 Jan 15 2021 with gcc 7
>
>
>
> Kindly let me know if there is something wrong that I could be doing. I
> checked the sample from 
> *https://transnexus.com/whitepapers/understanding-stir-shaken/
> <https://transnexus.com/whitepapers/understanding-stir-shaken/>*
>
> The Identity from this example shows a good payload.
>
>
>
>
>
> Regards,
>
> Sunil More
>
> Phone : 919503338275
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Fwd: STIR/Shaken payload issue.

2021-05-24 Thread Sunil More
Hello All,

I tried the same with Opensips version 3.1.2 , Still the same result. The
Payload is not a valid JSON.

version: opensips 3.1.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: 539ab0b3a
main.c compiled on 05:43:20 May 24 2021 with gcc 7

Regards,
Sunil More

-- Forwarded message -
From: Sunil More 
Date: Thu, 20 May 2021 at 15:55
Subject: STIR/Shaken payload issue.
To: users@lists.opensips.org 


Hello All,



I was working to use stir shaken module. The certificates are put in place
and Identity Header is also created. However the Identity when tried to put
on JWT.io for validation , I can observe that the payload is not good.

Here is the identity Heade
*Identity*:
eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9hcHBzLnNhbWVzcGFjZS5jb20vc2VydmVyLmNydCJ9
.
eyJhdHRlc3QiOCIiwiZGVzdCI6eyJ0biI6WyI5MTk1MDMzMzgyNzUiXX0sImlhdCI6MTYyMDkxMDc3Nywib3JpZyI6eyJ0biI6IjkxOTUwMzMzODI3NiJ9LCJvcmlnaWQiOiJkc2FkYXNhc2Zkcy1kc2FkYXNkLXNWRzIn0
.JzYHlbStXK7gpmRWVZY_IC8VmeZfaKWBzGTOfGU82OQ3w28lctaYv-
YAzBdjqjUGJKISid327KSzUGGvpXYBSg;info=<https://apps.samespace.com/server.crt
>;ppt="shaken"


After JWT.io
Header for algorithm and token type  looks ok ..
{

  "alg": "ES256",

  "ppt": "shaken",

  "typ": "passport",

  "x5u": "https://apps.samespace.com/server.crt;

}

However payload looks like this which is probably some invalid JSON, I am
not sure what could cause this.

"{\"attest\"8\"\"�#��'F�#��#�\u0013�S\u000�#sR%���&�\u0017B#�\u0013c#\u0003�\u0013\u0003ssr�&�&�r#��'F�#�#�\u0013�S\u000�#sb'��&�&�v�B#�\u0016F\u00176\u00176fG2�G6\u0016F\u00176B�5ds\"}"

Here is the code snippet used .


stir_shaken_auth("B", $var(origid),$var(cert), $var(privKey),"
https://apps.samespace.com/server.crt","919503338276","919503338275;);



I am using opensips version as below



version: opensips 3.1.1 (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll, sigio_rt, select.

git revision: 229ec0793

main.c compiled on 11:50:44 Jan 15 2021 with gcc 7



Kindly let me know if there is something wrong that I could be doing. I
checked the sample from
*https://transnexus.com/whitepapers/understanding-stir-shaken/
<https://transnexus.com/whitepapers/understanding-stir-shaken/>*

The Identity from this example shows a good payload.





Regards,

Sunil More

Phone : 919503338275

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
10
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] STIR/Shaken payload issue.

2021-05-20 Thread Sunil More
Hello All,  I was working to use stir shaken module. The certificates are put in place and Identity Header is also created. However the Identity when tried to put on JWT.io for validation , I can observe that the payload is not good.  Here is the identity Header Identity: eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9hcHBzLnNhbWVzcGFjZS5jb20vc2VydmVyLmNydCJ9.eyJhdHRlc3QiOCIiwiZGVzdCI6eyJ0biI6WyI5MTk1MDMzMzgyNzUiXX0sImlhdCI6MTYyMDkxMDc3Nywib3JpZyI6eyJ0biI6IjkxOTUwMzMzODI3NiJ9LCJvcmlnaWQiOiJkc2FkYXNhc2Zkcy1kc2FkYXNkLXNWRzIn0.JzYHlbStXK7gpmRWVZY_IC8VmeZfaKWBzGTOfGU82OQ3w28lctaYv-YAzBdjqjUGJKISid327KSzUGGvpXYBSg;info=;ppt="shaken"After JWT.io Header for algorithm and token type  looks ok ..{  "alg": "ES256",  "ppt": "shaken",  "typ": "passport",  "x5u": "https://apps.samespace.com/server.crt"}However payload looks like this which is probably some invalid JSON, I am not sure what could cause this."{\"attest\"8\"\"�#��'F�#��#�\u0013�S\u000�#sR%���&�\u0017B#�\u0013c#\u0003�\u0013\u0003ssr�&�&�r#��'F�#�#�\u0013�S\u000�#sb'��&�&�v�B#�\u0016F\u00176\u00176fG2�G6\u0016F\u00176B�5ds\"}"Here is the code snippet used . stir_shaken_auth("B", $var(origid),$var(cert), $var(privKey),"https://apps.samespace.com/server.crt","919503338276","919503338275"); I am using opensips version as below  version: opensips 3.1.1 (x86_64/linux)flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAITADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535poll method support: poll, epoll, sigio_rt, select.git revision: 229ec0793main.c compiled on 11:50:44 Jan 15 2021 with gcc 7 Kindly let me know if there is something wrong that I could be doing. I checked the sample from https://transnexus.com/whitepapers/understanding-stir-shaken/The Identity from this example shows a good payload.   Regards,Sunil MorePhone : 919503338275Sent from Mail for Windows 10 

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-14 Thread Sunil More
Hello Liviu Chircu and Team,

I have recompiled and checked with said commit of opensips
opensips -V
version: opensips 3.1.1 (x86_64/linux)
git revision: 2212865f1
main.c compiled on 07:18:08 Jan 15 2021 with gcc 7

Now the logs are seen as NOTICE and not ERROR.

L_INFO does not make it to HEP logs
L_ALERT makes it to HEP as NOTICE
and other logs used as xlog("Anything ") also make it as NOTICE.

should they look like this or L_INFO should be seen as INFO while L_ALERT
seen as ALERT .

Sunil More

Manager - DevOps

91 95033 38275

sunil.m...@samespace.com



<https://www.samespace.com/>


On Wed, Jan 13, 2021 at 7:55 PM Liviu Chircu  wrote:

> On 13.01.2021 15:24, Sunil More wrote:
> > I am using opensips 3.1.1 along with homer 7 and I could observe that
> > logs are going to Homer with type as ERROR.
> >
> > Here's opensips -V
> > version: opensips 3.1.1 (x86_64/linux)
> > git revision: 229ec0793
> > main.c compiled on 10:46:42 Jan  7 2021 with gcc 7
> >
> Hi,
>
> This has been fixed on Dec 10th [1], so you have 3 options:
>
> * pull latest 3.1 source code and rebuild OpenSIPS
> * install nightly 3.1 packages
> * wait until 3.1.2 release
>
> [1]: https://github.com/OpenSIPS/opensips/commit/2212865f19d
>
> Cheers,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
 <http://www.samespace.com>



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-13 Thread Sunil More
Thanks Liviu Chircu . I will do one of those .


On Wed, Jan 13, 2021, 7:55 PM Liviu Chircu  wrote:

> On 13.01.2021 15:24, Sunil More wrote:
> > I am using opensips 3.1.1 along with homer 7 and I could observe that
> > logs are going to Homer with type as ERROR.
> >
> > Here's opensips -V
> > version: opensips 3.1.1 (x86_64/linux)
> > git revision: 229ec0793
> > main.c compiled on 10:46:42 Jan  7 2021 with gcc 7
> >
> Hi,
>
> This has been fixed on Dec 10th [1], so you have 3 options:
>
> * pull latest 3.1 source code and rebuild OpenSIPS
> * install nightly 3.1 packages
> * wait until 3.1.2 release
>
> [1]: https://github.com/OpenSIPS/opensips/commit/2212865f19d
>
> Cheers,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
 <http://www.samespace.com>



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-13 Thread Sunil More
Hello All,

I am using opensips 3.1.1 along with homer 7 and I could observe that logs
are going to Homer with type as ERROR.

Here's opensips -V
version: opensips 3.1.1 (x86_64/linux)
git revision: 229ec0793
main.c compiled on 10:46:42 Jan  7 2021 with gcc 7

Here are  global  params
# Global Parameters 
log_level=3
log_stderror=no
log_facility=LOG_LOCAL3


here's the log line in script
xlog("This is a outbound Call $tt/$si/$rm/$ci/$fU/$rU ");

here's the HEP ngrep trace log

HEP3.
_..
.
..=...d.
...d.
..5..
..5..hERROR:This is a outbound Call /
10.153.53.157/INVITE/3BOQOHazTu/abcde/16468107000..3BOQOHazTu

Is there a way to control the type of log or is there something wrong that
I am doing here. I have also tried to log using

  xlog("L_INFO","This is a outbound Call $tt/$si/$rm/$ci/$fU/$rU ");  but
that doesn't go to HEP not does it show up in tail syslogs.



Sunil More

Manager - DevOps

91 95033 38275

sunil.m...@samespace.com



<https://www.samespace.com/>

-- 
 <http://www.samespace.com>



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips 3.1 and Homer 7

2021-01-06 Thread Sunil More
Hello Bogdan-Andrei,

Looks like I had two versions of opensips installed in different
prefixes and the one used was opensips 3.0.0 .
I created a fresh setup with opensips-3.1.1 and yes the logs are available.
I will take up the rtpengine issue with their channel.

Thanks.

Sunil More

Manager - DevOps

91 95033 38275

sunil.m...@samespace.com



<https://www.samespace.com/>


On Wed, Jan 6, 2021 at 9:01 PM Bogdan-Andrei Iancu 
wrote:

> Hi Sunil,
>
> What is the exact version of opensips you are using ? do an "opensips -V"
> and check for the revision number.
> Also
>
> 1) OpenSIPS does not sent any QoS data as it does not have it. This is
> something for RTPengine to do
>
> 2) The type of the log records was fixed, so consider an update to latest
> 3.1 (3.1.1)
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS Bootcamp 2020 online
>   https://opensips.org/training/OpenSIPS_eBootcamp_2020/
>
> On 1/5/21 3:01 PM, Sunil More wrote:
>
>
> Hello All,
>
> I am using homer 7 and opensips 3.1. I am using the tracer module along
> with hep to send to helify-server.
>
> here is a snippet of the config.
>
> #--- Loading Tracer
> loadmodule "tracer.so"
> modparam("tracer", "trace_on", 1)
> modparam("tracer", "trace_id","[tid]uri=hep:hep_dst")
>
> #- Loading PROTOCOLs 
> -
> loadmodule "proto_udp.so"
> loadmodule "proto_tls.so"
> loadmodule "proto_hep.so"
> modparam("proto_hep", "hep_id", "[hep_dst] 10.153.53.167:9060
> ; transport=udp")
> modparam("proto_hep", "homer5_on", 1)
> modparam("proto_hep", "hep_port", )
>
> Using trace as below
>
> trace("tid", "t", "sip|xlog",100);
>
> I am able to get sip traces in Homer UI .  I am using rtpengine with
> opensips and getting rtcp logs.  However
>
> - I am not able to get Qos
>
> - logs are sent to Homer but with *method RTP and type RTP.* (they are
> not displayed in the logs tab)
>
>
> I tried hep.js and I could populate Qos , SIP msgs and Logs in respective
> tabs.
>
>
> Could anyone please point me in the right direction?
>
>
> Sunil More
>
> Manager - DevOps
>
> 91 95033 38275
>
> sunil.m...@samespace.com
>
>
>
> <https://www.samespace.com/>
>
>
>
> <http://www.samespace.com>
>
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

-- 
 <http://www.samespace.com>



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips 3.1 and Homer 7

2021-01-05 Thread Sunil More
Hello All,

I am using homer 7 and opensips 3.1. I am using the tracer module along
with hep to send to helify-server.

here is a snippet of the config.

#--- Loading Tracer
loadmodule "tracer.so"
modparam("tracer", "trace_on", 1)
modparam("tracer", "trace_id","[tid]uri=hep:hep_dst")

#- Loading PROTOCOLs
-
loadmodule "proto_udp.so"
loadmodule "proto_tls.so"
loadmodule "proto_hep.so"
modparam("proto_hep", "hep_id", "[hep_dst] 10.153.53.167:9060
; transport=udp")
modparam("proto_hep", "homer5_on", 1)
modparam("proto_hep", "hep_port", )

Using trace as below

trace("tid", "t", "sip|xlog",100);


I am able to get sip traces in Homer UI .  I am using rtpengine with
opensips and getting rtcp logs.  However

- I am not able to get Qos

- logs are sent to Homer but with *method RTP and type RTP.* (they are not
displayed in the logs tab)


I tried hep.js and I could populate Qos , SIP msgs and Logs in respective
tabs.


Could anyone please point me in the right direction?


Sunil More

Manager - DevOps

91 95033 38275

sunil.m...@samespace.com



<https://www.samespace.com/>

-- 
 <http://www.samespace.com>



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Unable to connect to tls

2019-11-05 Thread Sunil More
Hi All,

I am having trouble to make connection using tls. I am using a polycom
sound point 550 phone.
I observe the below error.

ERROR:proto_tls:tls_print_errstack: TLS errstack: error:1417A0C1:SSL
routines:tls_post_process_client_hello:no shared cipher


using cipher list as below:

modparam("tls_mgm", "ciphers_list",
"[dom1]ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384")


Opensips Details:

version: opensips 3.0.1 (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll, sigio_rt, select.

git revision: dac56fa49

main.c compiled on 06:28:01 Oct 24 2019 with gcc 7


openssl version : OpenSSL 1.1.1  11 Sep 2018


OS : ubuntu 18.04 LTS



Regards,

Sunil More
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Issue : TLS Opensips restarts as soon as it receives a message

2019-10-05 Thread Sunil More
Hi Team,

We have recently configured opensips to use TLS. It started fine. However
as soon as it receives any message it restarts. I am using the
following environment

1. Ubuntu 18.04
2. Opensips 3.0.0
3. OpenSSL 1.1.1  11 Sep 2018

 Kindly let us know what can be done here.

Regards,
Sunil More
Ph: 919503338275
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Identify RFC1918 Address in request domain

2019-05-07 Thread Sunil More
Hi All,

I am using a setup on GCP with advertised IP address. It will be used as an
edge proxy to send/receive calls. I have a VPN client connecting directly
to the GCP instance on its private interface.

I want to forward inbound calls to clients. While doing this I want to
identify if the forwarding IP is private IP (RFC1918) or public IP and
likewise use the advertised IP address. How can I do this ?

Regards,
Sunil More
Ph. 919503338275
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Remove Route Header before forwarding

2019-03-31 Thread Sunil More
Hello Team,

Was checking for an update.

Regards,
Sunil More

On Fri, Mar 29, 2019, 8:07 AM Sunil More  wrote:

> Hi All,
> I am trying to route an inbound call to a registered subscriber with a
> failover to PSTN. The subscriber is registers to my Opensips box via
> another Opensips box. I am using path function to add path to the
> subscribers registration. When I lookup , a Route header is added to the
> INVITE message. However if the subscriber had lost network during this
> lookup the call fails with 408 as progress timeout. At this point when i
> try to failover the call to PSTN network , the Route header causes issues
> with other sip providers and the call fails. I want to remove Route Header
> before forwarding the call.
>
> Could anyone suggest me a method. I have already tried remove_hf , it did
> not work.
>
>
> Thanking You,
> Sunil More
> Ph : 9503338275
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Remove Route Header before forwarding

2019-03-28 Thread Sunil More
Hi All,
I am trying to route an inbound call to a registered subscriber with a
failover to PSTN. The subscriber is registers to my Opensips box via
another Opensips box. I am using path function to add path to the
subscribers registration. When I lookup , a Route header is added to the
INVITE message. However if the subscriber had lost network during this
lookup the call fails with 408 as progress timeout. At this point when i
try to failover the call to PSTN network , the Route header causes issues
with other sip providers and the call fails. I want to remove Route Header
before forwarding the call.

Could anyone suggest me a method. I have already tried remove_hf , it did
not work.


Thanking You,
Sunil More
Ph : 9503338275
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users