hello friends,
if i use the cpl_process_register within the "Register" it did not identif the mime type
but if i use within the "INVITE" it could able to identify the mime type and it could able to
load.
what might be problem
so the log s and ser.cfg files are as follows first of within register second of in invite
ser.cfg
----
if(method=="REGISTER")
{
cpl_process_register();
-----
log
----
8(4210) DEBUG:parse_content_type_hdr: missing Content-Typeheader
8(4210) DEBUG:cpl_process_register: Content-Type mime found 0, 0
8(4210) parse_headers: flags=1048576
8(4210) DEBUG:parse_accept_hdr: missing Accept header
----
ser.cfg
------
if (method=="INVITE")
{
log(1, "INVITE\n");
cpl_process_register();
setflag(1); /* set foraccounting (the same valueas in log_flag!) */
};
---
log
-------
7(4458) INVITE
7(4458) DEBUG:cpl_process_register: Content-Type mime found 3, 255
7(4458) parse_headers: flags=1048576
7(4458) DEBUG:parse_accept_hdr: missing Accept header
-------
with regards
ser die hard
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!