Incoming SIP requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,



I want to check the received NOTIFY requests, can someone tall me how to do
that?

I can't find it here :
http://www.pjsip.org/pjsip/docs/html/structpjsua__callback.htm


 is there any function for that ex. on_request_received?



I want to implement a message waiting function, so I need to check the
received notify requests to see if the Message-Waiting is Yes or No?
Please tell me if I'm wrong.

Here is what I see in my console :



NOTIFY sip:1016 at ...:5067;transport=UDP SIP/2.0
Via: SIP/2.0/UDP .... ;rport;branch=z9hG4bK8vgjrmv7H387S
Max-Forwards: 70
From: <sip:1016@....>;tag=SaUQXQ1aKS4Fr
To: <sip:1016 at .....>
Call-ID: c12b0e28-4aaf-122c-b09e-001e68aa270f
CSeq: 108851152 NOTIFY
Contact: <sip:mod_sofia at ...:5060>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10876M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
Event: message-summary
Allow-Events: talk, presence, dialog, call-info, sla,
include-session-description, presence.winfo, message-summary, refer
Subscription-State: terminated;timeout
Content-Type: application/simple-message-summary
Content-Length: 65

Messages-Waiting: no
Message-Account: sip:1016 at .....
....................................................................................



Any suggestions please...

Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081222/32e70b75/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux