Hi,
I want to check whether a parameter exists in a header and I am using the
search_hf() function defined in textops module. I am surprised that is always
returning true whether the searched pattern exists or not.
To be specific, I need to check if the "received" parameter exists in the top
m
Hugh Waite writes:
> We've used this to detect a Supported keyword:
>
> if ((is_present_hf("Supported")) && in_list("timer", "$hdr(Supported)",
> "," )) {
thanks for remaining me about in_list() that i wrote myself.
-- juha
___
SIP Express Router (S
Jon Farmer writes:
> > I have also seen a couple of script methods that look at the voicemail
> > directory structure for file changes and trigger an application like sipsak
> > to generate the notifications and let kamailio relay them. From what I see,
> > the consensus is not to go this route. I
I am not sure if Supported can appear many times in a message, that
might require using the [*] index as Juha pointed.
For sake of completion, the search_hf() could be an alternative for now,
getting a flag to walk through all headers matching the name:
- http://kamailio.org/docs/modules/stab
We've used this to detect a Supported keyword:
if ((is_present_hf("Supported")) && in_list("timer", "$hdr(Supported)",
"," )) {
...
}
Hugh
On 14/03/2013 03:27, Juha Heinanen wrote:
is there currently a proper way to test if a particular keyword appears
in Supported or Require header or is a
On 12 March 2013 19:32, Daniel W. Graham wrote:
> While I have seen other posts I have not found anything that describes my
> scenario.
>
> **
>
> ** **
>
> I have also seen a couple of script methods that look at the voicemail
> directory structure for file changes and trigger an application
Hello,
the groups of speakers at Kamailio World Conference got new members,
among them Prof. Dr. Thomas Magedantz from Technische Universitat
Berlin/FhG Fokus and Alan Duric, a pioneer in VoIP, among other
positions being co-founder of Telio, more details at:
- http://conference.kamailio.c
Hi,
We have an ugly message looping scenario where a SIP request message received
at Kamailio is forwarded to the switch/router and back to Kamailio in a loop
until the Max-forwards header value becomes 0 or the transaction times out.
After receiving an incoming INVITE request from a local us