[Serusers] Help with checking header fields

Jiri Kuthan jiri at iptel.org
Sun Mar 23 00:23:35 CET 2008


Jan Janak wrote:
> Do you need to check for a SIP header field or for a connection address 
> within the SDP document in the SIP message body?
> 
>    Jan.
> 
> Steven C. Blair wrote:
>> I need help constructing an if statement to check for a specific header field. If my proxy receives an INVITE I would like to check further into the message body for a connection address with a value of all zeros (0.0.0.0). Does anyone on this list know the syntax for performing this check?
>>
>> Thanks,Steve
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Serusers mailing list
>> Serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
> 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 

I don't think we have a select today, that would do it accurately. (I 
had to check up manual too, we have way too many selects today. See
http://www.iptel.org/ser/doc/search)

So I think you have to resort to reg-exp procedures in textops module.

-jiri



More information about the sr-users mailing list