Re: [SR-Users] Contact header modification - Kamailio

2022-08-03 Thread Alex Balashov
gt; > > > > > Henning > > > > > > > > -- > > > > Henning Westerholt – https://skalatan.de/blog/ > > > > Kamailio services – https://gilawa.com > > > > > > > > From: Ankit Jayswal > > Sent: Mo

Re: [SR-Users] Contact header modification - Kamailio

2022-08-03 Thread Ankit Jayswal
//skalatan.de/blog/ > > > > Kamailio services – https://gilawa.com > > > > > > > > From: Ankit Jayswal > > Sent: Monday, August 1, 2022 4:26 PM > > To: Henning Westerholt > > Cc: Kamailio (SER) - Users Mailing List ; > Amey Naik ; Devanand Jal

Re: [SR-Users] Contact header modification - Kamailio

2022-08-02 Thread Alex Balashov
: Monday, August 1, 2022 4:26 PM > To: Henning Westerholt > Cc: Kamailio (SER) - Users Mailing List ; Amey > Naik ; Devanand Jalla > Subject: Re: [SR-Users] Contact header modification - Kamailio > > > > Hello, > Thanks for your reply, but I am looking to replace the

Re: [SR-Users] Contact header modification - Kamailio

2022-08-01 Thread Ankit Jayswal
awa.com > > > > *From:* Ankit Jayswal > *Sent:* Monday, August 1, 2022 4:26 PM > *To:* Henning Westerholt > *Cc:* Kamailio (SER) - Users Mailing List ; > Amey Naik ; Devanand Jalla < > devanand.ja...@engagely.ai> > *Subject:* Re: [SR-Users] Contact header

Re: [SR-Users] Contact header modification - Kamailio

2022-08-01 Thread Ankit Jayswal
Hello, Yes, actually my call flow for outbound calls is, Kamailio => Asterisk => Kamailio (route(PSTN)). SIP trunk is available at Kamailio server. So, when final outbound INVITE goes to the SIP trunk provider it expects a particular Contact header IP, instead of Asterisk server IP. On Mon, Aug 1,

Re: [SR-Users] Contact header modification - Kamailio

2022-08-01 Thread Alex Balashov
Before you do this, I would ask yourself why you’re doing this, and whether it’s a good idea from a technical point of view. > On Aug 1, 2022, at 8:36 AM, Ankit Jayswal wrote: > > Hello Team, > > I am in need to modify the contact header in Kamailio before sending an > INVITE request to the S

Re: [SR-Users] Contact header modification - Kamailio

2022-08-01 Thread Henning Westerholt
Users Mailing List ; Amey Naik ; Devanand Jalla Subject: Re: [SR-Users] Contact header modification - Kamailio Hello, Thanks for your reply, but I am looking to replace the value in the Contact header. Which function can help me to do this ? I tried, assign_hf_value("Contact", "http

Re: [SR-Users] Contact header modification - Kamailio

2022-08-01 Thread Ankit Jayswal
Hello, Thanks for your reply, but I am looking to replace the value in the Contact header. Which function can help me to do this ? I tried, *assign_hf_value("Contact", "http://sip:00912269240xxx@10.52.26.98:5060>>");* But that is not working properly, it assigns value but previous value also remai

Re: [SR-Users] Contact header modification - Kamailio

2022-08-01 Thread Henning Westerholt
Hello, the topos module can do that, among other things. Alternatively there is also the topoh module, which do not need any backend storage. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: sr-users On Behalf