Hi,
How can I add a header to SDP?
Actually what I want to do is, whenever an INVITE with SDP
comes, search for a ptime and if ptime can not be found, add a default header
to SDP body.
Like
if (has_body()){
if (search_body("ptime") {
# like
below
à #
append_body(“a=ptime:20”);
}
}
Thanks,
Kuddusi
CIFTCIBASI
Next Generation Networks
Teletek
Telecommunication Services Corp.
Ayazma
Dere Cad.
Fulya, Beşiktaş , 34349, www.teletek.net
Tel
: +90 212 227 7030
Direkt:
+90 212 310 2233
Fax : +90 212 227 8700
Email: kuddusi.ciftcibasi@teletek.net
Skype : realkudu
MSN : kuddusic@hotmail.com
Yahoo: kuddusi.
Disclaimer:
This e-mail (including any attachments) may contain confidential and/or privileged information. Copying, disclosure or distribution of the material in this e-mail without Teletek Telekomünikasyon Hizmetleri A.Ş.'s authority is strictly forbidden. If you are not the intended recipient (or have received this e-mail in error), please notify the sender and delete it from your system immediately. Teletek makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever.Any opinions expressed in this message are those of the author and may not necessarily reflect the opinions of Teletek.