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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@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
Jan:
I think I need to examine and forward based on the Connection Address in the SDP document. I'm trying to "fudge" routing to fix a call transfer problem.
-steve
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Monday, March 17, 2008 11:34 AM To: Steven C. Blair Cc: serusers@iptel.org Subject: Re: [Serusers] Help with checking header fields
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers