<br>Thanks, Anca<br>Yes, I modifed the codes to call the xcap_GetNewDoc() .<br>Your guess is right. I forgot to include the xcap_client module in the config file.<br>Now it is O.K.<br>I really appreciate your help. <br>Thanks again.<br>
<br>Regards,<br><br>Jeon<br><br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 10:34 AM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca@voice-system.ro">anca@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Jeon,<br>
<br>
Did you modify something in the sources?<br>
If you set rls_integrated_xcap_server =1, xcap_GetNewDoc is never called, normally.<br>
If bind_xcap fails it's because probably you have not loaded xcap_client module.<br>
<br>
regards,<br>
Anca<br>
<br>
Yoo Chan Jeon wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hello,<br>
<br>
I found out that xacp_GetNewDoc() was not set at the mod_init() in rls/rls.c file.<br>
xcap_GetNewDoc = xcap_api.getNewDoc was not called because I set the rls_integrated_xcap_server =1 in the config.<br>
It causes the segmentation fault.<br>
After I set it 0, bind_xcap= (bind_xcap_t)find_export("bind_xcap",1,0) return null in the mod_init().<br>
It should returns the object. Does any body know why it returns NULL?<br>
<br>
Thanks.<br>
Jeon<br>
<br></div><div><div></div><div class="Wj3C7c">
On Fri, Nov 14, 2008 at 6:15 PM, Yoo Chan Jeon <<a href="mailto:yoojeon@gmail.com" target="_blank">yoojeon@gmail.com</a> <mailto:<a href="mailto:yoojeon@gmail.com" target="_blank">yoojeon@gmail.com</a>>> wrote:<br>
<br>
Hi,<br>
I need your help.<br>
It crashed in the xcap_GetNewDoc() call in the rls/subscribe.c.<br>
I modifed the codes to move that api to other spot to check if it<br>
dose not crash, But It always crashed in the same api.<br>
I got the following error. I do not guess what I did wrong.<br>
Thanks your help.<br>
Jeon.<br>
<br>
Nov 14 18:01:07 [12080] DBG:core:get_hdr_field: cseq <CSeq>: <1><br>
<SUBSCRIBE><br>
Nov 14 18:01:07 [12080] DBG:maxfwd:is_maxfwd_present: value = 70<br>
Nov 14 18:01:07 [12080] DBG:uri:has_totag: no totag<br>
Nov 14 18:01:07 [12080] DBG:core:parse_headers: flags=78<br>
Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: start searching:<br>
hash=45320, isACK=0<br>
Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: proceeding to<br>
pre-RFC3261 transaction matching<br>
Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: non-ACK matched<br>
Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: REF_UNSAFE: after<br>
is 2<br>
Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: transaction found<br>
(T=0xa86fe6f8)<br>
Nov 14 18:01:07 [12080] DBG:tm:t_retransmit_reply: nothing to<br>
retransmit<br>
Nov 14 18:01:07 [12080] DBG:tm:t_check_trans: UNREF_UNSAFE: after is 1<br>
Nov 14 18:01:07 [12080] DBG:core:destroy_avp_list: destroying list<br>
(nil)<br>
Nov 14 18:01:07 [12080] DBG:core:receive_msg: cleaning up<br>
Nov 14 18:01:09 [12062] INFO:core:handle_sigs: child process 12074<br>
exited by a signal 11<br>
Nov 14 18:01:09 [12102] CRITICAL:core:receive_fd: EOF on 14<br>
Nov 14 18:01:09 [12102] DBG:core:handle_ser_child: dead child 5,<br>
pid 12074 (shutting down?)<br>
Nov 14 18:01:09 [12102] DBG:core:io_watch_del: io_watch_del<br>
(0x8175e80, 14, -1, 0x0) fd_no=25 called<br>
Nov 14 18:01:09 [12062] INFO:core:handle_sigs: core was generated<br>
Nov 14 18:01:09 [12062] INFO:core:handle_sigs: terminating due to<br>
SIGCHLD<br>
Nov 14 18:01:09 [12102] INFO:core:sig_usr: signal 15 received<br>
Nov 14 18:01:09 [12070] INFO:core:sig_usr: signal 15 received<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br>