services – https://gilawa.com
Kamailio Merchandising – https://skalatan.de/merchandising
-Original Message-
From: sr-users On Behalf Of Alex Balashov
Sent: Monday, November 18, 2019 4:12 PM
To: sr-users@lists.kamailio.org
Subject: Re: [SR-Users] Parsing Contact Port Field
I looked here
> Oops. No, it’s not a bug, it’s just that the URI isn’t the only value present
> in $ct.
>
> Try $(ct{nameaddr.uri}{uri.host})
Yup, that fixed it. Thanks again!
I have another question about how I’m applying these to some routing logic but
I’ll start a new thread for that in a bit.
:13 PM
> To: Henning Westerholt
> Cc: Kamailio (SER) - Users Mailing List
> Subject: Re: [SR-Users] Parsing Contact Port Field
>
> Ah, okay. Sorry, I didn’t know!
>
> And yes, the select docs are in the wiki, but they are not linked from
> /w/documentation, right? I too
mailio Merchandising – https://skalatan.de/merchandising
From: Alex Balashov
Sent: Monday, November 18, 2019 3:13 PM
To: Henning Westerholt
Cc: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Parsing Contact Port Field
Ah, okay. Sorry, I didn’t know!
And yes, the select docs are in th
bably also necessary.
>>>
>>> You are somehow wrong about the documentation, it is also in the wiki, but
>>> documented without much explanations.
>>>
>>> https://www.kamailio.org/wiki/cookbooks/devel/selects
>>>
>>> Cheers,
>>
;
>> https://www.kamailio.org/wiki/cookbooks/devel/selects
>>
>> Cheers,
>>
>> Henning
>>
>> --
>> Henning Westerholt – https://skalatan.de/blog/
>> Kamailio services – https://gilawa.com
>> Kamailio Merchandising – https://skalatan.d
gt;
> Henning
>
> --
> Henning Westerholt – https://skalatan.de/blog/
> Kamailio services – https://gilawa.com
> Kamailio Merchandising – https://skalatan.de/merchandising
>
> From: sr-users On Behalf Of Alex
> Balashov
> Sent: Monday, November 18, 2019 2:37 PM
>
com/>
Kamailio Merchandising – https://skalatan.de/merchandising
From: sr-users On Behalf Of Alex Balashov
Sent: Monday, November 18, 2019 2:37 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Parsing Contact Port Field
Just be careful with selects as they are a construct importe
Just be careful with selects as they are a construct imported from SER as part
of the sip-router integration of 2010 (what a fascinating time to have been
alive!)
Like some other SER constructs, they are not widely used and so I am not sure
what the maintenance and support commitment to them
Hi Sergiu,
> @contact.uri.hostport might be what you are looking for.
>
> For more:
> http://www.kamailio.org/wiki/cookbooks/devel/selects
That worked perfectly, thanks!
For the other beginners out there, here are two snippets for posterity:
== TO LOG ==
xlog("L_INFO", "contact.uri.host =
Hi Michael,
*@contact.uri.hostport* might be what you are looking for.
For more:
http://www.kamailio.org/wiki/cookbooks/devel/selects
Cheers.
--Sergiu
On Tue, Nov 12, 2019 at 8:32 AM Michael Iedema
wrote:
> Hello everyone,
>
> I have a potentially silly beginners question: how can I parse
Hello everyone,
I have a potentially silly beginners question: how can I parse the contact port
field and act on it in my routing logic?
I know that the $ct variable contains the entire contact header and I can print
it in an xlog() call. However, I’d like to do something like the following
12 matches
Mail list logo