|
From: | Tim Na |
Subject: | [Partysip-dev] Implementing a plugin module |
Date: | Tue, 11 Jun 2002 17:15:11 +0900 |
Hi, Aymeric and all
I am working on simple plugin module that will also receive
REGISTER
message and act on its own.
I imitate what Aymeric has done for rgstrar module using
the
"psp_core_add_imp_register_hook(fn, PSP_HOOK_FIRST)"
function.
Luckily I was able to compile and plug the module in with
partysip, but
it is not receiving the REGISTER message...
Is there something I am missing doing it ??
Below I am showing the log message during the
execution.
Thanks in advance.
Regards,
Tim Na
L0 -1023782295- <psp_utils.c: 171> INFO: registrar
plugin: Number of auth rules: 0. Number of user entries: 4
L2 -1023782295- <udp_core.c: 54> INFO: udp plugin: plugin_init()! L2 -1023782295- <syntax_core.c: 42> INFO: syntax plugin: plugin_init()! L2 -1023782295- <filter_core.c: 51> INFO: filter plugin: plugin_init()! L3 -1023782295- <filter_core.c: 130> INFO: filter plugin: Authentication is turned off! L2 -1023782295- <auth_core.c: 53> INFO: auth plugin: plugin_init()! L3 -1023782295- <auth_core.c: 72> INFO: auth plugin: Authentication is turned off! L2 -1023782295- <rgstrar_core.c: 52> INFO: rgstrar plugin: plugin_init()! L2 -1023782295- <ls_sless_core.c: 50> INFO: ls_sless plugin: plugin_init()! L0 -1023782295- <ls_sless.c: 159> INFO: ls_sless plugin: configured to forward INV with an IP in the rquri! L0 -1023782295- <ls_sless.c: 169> INFO: ls_sless plugin: configured to forward INV with a Route header! L0 -1023782295- <ls_sless.c: 174> INFO: ls_sless plugin: configured to forward REQ with an IP in the rquri! L0 -1023782295- <ls_sless.c: 179> INFO: ls_sless plugin: configured to forward REQ with an IP in the rquri! L0 -1023782295- <ls_sless.c: 189> INFO: ls_sless plugin: configured to forward REQ with a Route header! L2 -1023782295- <ls_localdb_core.c: 45> INFO: ls_localdb plugin: plugin_init()! L2 -1023782295- <ls_sfull_core.c: 50> INFO: ls_sfull plugin: plugin_init()! L2 -1023782295- <pua_core.c: 22> INFO: pua plugin: plugin_init()! <=============== Module is plugged in :-) L2 -1023782301- <udp.c: 153> INFO: udp plugin: hook1: cb_rcv_udp_message()! L1 -1023782301- <udp.c: 158> WAITING FOR UDP MESSAGE L3 -1023782301- <udp.c: 165> INFO: udp plugin: RCV UDP MESSAGE L3 -1023782301- <udp.c: 167> REGISTER sip:165.213.114.66 SIP/2.0 Via: SIP/2.0/UDP 165.213.114.66:10507
From:
<sip:address@hidden>;tag=d13ece3b-6580-4d70-b153-5dfec0713055
To: <sip:address@hidden>
Call-ID: address@hidden
CSeq: 1 REGISTER
Contact: <sip:165.213.114.66:10507>;methods="INVITE,
MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"
User-Agent: Windows RTC/1.0
Expires: 1200
Event: registration
Allow-Events: presence
Content-Length: 0
L1 -1023782301- <udp.c: 158> WAITING FOR UDP MESSAGE L5 -1023782301- <udp.c: 175> WARNING: udp plugin: no data available! L1 -1023782301- <imp.c: 357> INFO: imp module: dispatching request! L5 -1023782301- <sipevent.c: 80> MESSAGE REC. CALLID:ceab66f9-b902-461b-b284-adbf4dd3b422 :-( L1 -1023782301- <psp_core.c: 456> Branch hash (remote client is not compliant): z9hG4bKl7044e6c622e139a14ff81d6ed4603a4e L3 -1023782301- <psp_req.c: 28> INFO: Allocating psp_req ressource! L3 -1023782301- <syntax.c: 46> INFO: syntax plugin: validate syntax. (NOT IMPLEMENTED) L3 -1023782301- <filter.c: 59> INFO: filter plugin: checking rules. (NOT IMPLEMENTED) L0 -1023782301- <rgstrar.c: 68> INFO: rgstrar plugin: Updating contact list of a user! L3 -1023782301- <rgstrar.c: 88> INFO: rgstrar plugin: Expires header set to 1200! L3 -1023782301- <rgstrar.c: 107> INFO: rgstrar plugin: User Registration saved! L3 -1023782301- <transaction.c: 35> INFO: allocating transaction ressource 1 ceab66f9-b902-461b-b284-adbf4dd3b422 L3 -1023782301- <nist.c: 30> INFO: allocating NIST context L3 -1023782301- <transaction.c: 242> sipevent evt->transactionid: 1 L3 -1023782301- <transaction.c: 243> sipevent tr->state: 15 L3 -1023782301- <transaction.c: 244> sipevent evt->type: 12 L3 -1023782301- <transaction.c: 245> sipevent evt->sip: 41148 L1 -1023782301- <psp_core4.c: 83> INFO: psp_core_cb_rcvregister! L3 -1023782301- <transaction.c: 276> sipevent evt: method called! L3 -1023782301- <rgstrar.c: 128> INFO: rgstrar plugin: Adding bindings in 200 OK for REGISTER!! L3 -1023782301- <psp_req.c: 56> INFO: free psp_req ressouce! L3 -1023782301- <transaction.c: 242> sipevent evt->transactionid: 1 L3 -1023782301- <transaction.c: 243> sipevent tr->state: 16 L3 -1023782301- <transaction.c: 244> sipevent evt->type: 20 L3 -1023782301- <transaction.c: 245> sipevent evt->sip: 41978 L2 -1023782301- <udp.c: 209> INFO: udp plugin: hook2: cb_snd_udp_message()! L1 -1023782301- <udp.c: 281> INFO: udp_plugin: message sent to 165.213.114.66 on port 10507 L1 -1023782301- <psp_core4.c: 143> INFO: psp_core_cb_snd2xx! L3 -1023782301- <transaction.c: 276> sipevent evt: method called! |
[Prev in Thread] | Current Thread | [Next in Thread] |