PJSIP Invited Auto Answer - NOTIFY Event: talk

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

 



Hi,

I'm trying to implement an invited auto answer function.
The SIP server sends NOTIFY *Event: talk* requests,what I need is to create
a callback for the incoming notify requests to catch the talk event ( I'm
not sure is one already exists for that purpose )

Here is one example of the received NOTIFY message

NOTIFY sip:3006 at 192.168.1.1:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP X.X.X.188;rport;branch=z9hG4bK700tpFNvZ6NFg
Max-Forwards: 70
From: "John" <sip:3005@192.168.1.3 <sip%3A3005 at 192.168.1.3>
>;tag=2mUvFXt7aFU6e
To: <sip:3006 at 192.168.1.1:5060;transport=UDP>
Call-ID: e50172f3-65b2-122e-2faa-001fc6bbc65d
CSeq: 4265938 NOTIFY
Contact: <sip:mod_sofia@ X.X.X.188:5060>
User-Agent: PJSUA
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
*Event: talk*
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla,
include-session-description, presence.winfo, message-summary, refer
Subscription-State: terminated;reason=timeout
Content-Length: 0

Any help will be very appreciated

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101108/d8e626d7/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