Hello guys,
I'm connecting to a provider who requires the contact contains the proxy's IP... I know this is weird and totally off-rfc...
I setup the topoh module and used
modparam("topoh", "mask_ip", "[PROXY_IP]:5060")
but this makes the contact:
Contact: sip:[PROXY_IP]:5060;line=sr-Z213nshDqt98-2qiIoT8GFf. y8PWype.SRy0nRo3nCT*
I know this is how it works, but they don't like the additional
";line=...."
Has anyone faced this kind of thing? is there any other way to set this to something like:
Contact: sip:[PROXY_IP]:5060
that won't mess everything?
Thanks all,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Well, they can’t just “not like” things. It’s grammatically valid.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 1:49 PM, David Villasmil david.villasmil.work@gmail.com wrote:
Hello guys,
I'm connecting to a provider who requires the contact contains the proxy's IP... I know this is weird and totally off-rfc...
I setup the topoh module and used
modparam("topoh", "mask_ip", "[PROXY_IP]:5060")
but this makes the contact:
Contact: sip:[PROXY_IP]:5060;line=sr-Z213nshDqt98-2qiIoT8GFf.y8PWype.SRy0nRo3nCT*
I know this is how it works, but they don't like the additional
";line=...."
Has anyone faced this kind of thing? is there any other way to set this to something like:
Contact: sip:[PROXY_IP]:5060
that won't mess everything?
Thanks all,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Agreed
Just not feeling like getting into it with them unless I really have to...
On Mon, 2 Dec 2019 at 22:04, Alex Balashov abalashov@evaristesys.com wrote:
Well, they can’t just “not like” things. It’s grammatically valid.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 1:49 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
I'm connecting to a provider who requires the contact contains the proxy's IP... I know this is weird and totally off-rfc...
I setup the topoh module and used
modparam("topoh", "mask_ip", "[PROXY_IP]:5060")
but this makes the contact:
Contact: sip:[PROXY_IP]:5060;line=sr-Z213nshDqt98-2qiIoT8GFf. y8PWype.SRy0nRo3nCT*
I know this is how it works, but they don't like the additional
";line=...."
Has anyone faced this kind of thing? is there any other way to set this to something like:
Contact: sip:[PROXY_IP]:5060
that won't mess everything?
Thanks all,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
I think this is a case where you should.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 2:12 PM, David Villasmil david.villasmil.work@gmail.com wrote:
Agreed
Just not feeling like getting into it with them unless I really have to...
On Mon, 2 Dec 2019 at 22:04, Alex Balashov abalashov@evaristesys.com wrote: Well, they can’t just “not like” things. It’s grammatically valid.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 1:49 PM, David Villasmil david.villasmil.work@gmail.com wrote:
Hello guys,
I'm connecting to a provider who requires the contact contains the proxy's IP... I know this is weird and totally off-rfc...
I setup the topoh module and used
modparam("topoh", "mask_ip", "[PROXY_IP]:5060")
but this makes the contact:
Contact: sip:[PROXY_IP]:5060;line=sr-Z213nshDqt98-2qiIoT8GFf.y8PWype.SRy0nRo3nCT*
I know this is how it works, but they don't like the additional
";line=...."
Has anyone faced this kind of thing? is there any other way to set this to something like:
Contact: sip:[PROXY_IP]:5060
that won't mess everything?
Thanks all,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Yeah... ugh... here I go... Thanks man
On Mon, 2 Dec 2019 at 22:24, Alex Balashov abalashov@evaristesys.com wrote:
I think this is a case where you should.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 2:12 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Agreed
Just not feeling like getting into it with them unless I really have to...
On Mon, 2 Dec 2019 at 22:04, Alex Balashov abalashov@evaristesys.com wrote:
Well, they can’t just “not like” things. It’s grammatically valid.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 1:49 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
I'm connecting to a provider who requires the contact contains the proxy's IP... I know this is weird and totally off-rfc...
I setup the topoh module and used
modparam("topoh", "mask_ip", "[PROXY_IP]:5060")
but this makes the contact:
Contact: sip:[PROXY_IP]:5060;line=sr-Z213nshDqt98-2qiIoT8GFf. y8PWype.SRy0nRo3nCT*
I know this is how it works, but they don't like the additional
";line=...."
Has anyone faced this kind of thing? is there any other way to set this to something like:
Contact: sip:[PROXY_IP]:5060
that won't mess everything?
Thanks all,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
So that’s probably not it.. just for the heck of it I removed the header completely and added an artificial one exactly like they say they need it... still not working... What does one do in these cases? LOL! Anyway, thanks everyone
On Mon, 2 Dec 2019 at 22:39, David Villasmil david.villasmil.work@gmail.com wrote:
Yeah... ugh... here I go... Thanks man
On Mon, 2 Dec 2019 at 22:24, Alex Balashov abalashov@evaristesys.com wrote:
I think this is a case where you should.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 2:12 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Agreed
Just not feeling like getting into it with them unless I really have to...
On Mon, 2 Dec 2019 at 22:04, Alex Balashov abalashov@evaristesys.com wrote:
Well, they can’t just “not like” things. It’s grammatically valid.
— Sent from mobile, with due apologies for brevity and errors.
On Dec 2, 2019, at 1:49 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
I'm connecting to a provider who requires the contact contains the proxy's IP... I know this is weird and totally off-rfc...
I setup the topoh module and used
modparam("topoh", "mask_ip", "[PROXY_IP]:5060")
but this makes the contact:
Contact: sip:[PROXY_IP]:5060;line=sr-Z213nshDqt98-2qiIoT8GFf. y8PWype.SRy0nRo3nCT*
I know this is how it works, but they don't like the additional
";line=...."
Has anyone faced this kind of thing? is there any other way to set this to something like:
Contact: sip:[PROXY_IP]:5060
that won't mess everything?
Thanks all,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
You could do a really ugly hack...
remove_hf("Contact");
and then insert the Contact with something like...
insert_hf("Contact: sip:$var(user)@PROXYIP;hack=ugly\r\n");
And then on the client leg...
if ($(ru{uri.param,hack}) == "ugly")
replace it with the original....
But this is very, very ugly and Alex's approach is better. =)
Fred Posner fred@qxork.com https://qxork.com Direct/SMS: +1 (336) 439-3733
Need Fred? Call Fred. 336-HEY-FRED Matrix: @fred:matrix.lod.com
Hello Fred,
Yeah that's what I did, just to see if they'd accept the INVITE, but no joy... I don't think they're very clear as to what exactly I should be sending.. So i have a call with them tomorrow, let's see what they say. And thanks for the suggestion!
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
On Mon, Dec 2, 2019 at 10:51 PM Fred Posner fred@palner.com wrote:
You could do a really ugly hack...
remove_hf("Contact");
and then insert the Contact with something like...
insert_hf("Contact: sip:$var(user)@PROXYIP;hack=ugly\r\n");
And then on the client leg...
if ($(ru{uri.param,hack}) == "ugly")
replace it with the original....
But this is very, very ugly and Alex's approach is better. =)
Fred Posner fred@qxork.com https://qxork.com Direct/SMS: +1 (336) 439-3733
Need Fred? Call Fred. 336-HEY-FRED Matrix: @fred:matrix.lod.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users