Setting diversion header in 302 response to INVITE

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

 



Hi,

I'm trying to build a SIP Redirect Server using pjsua in Python. I don't
need to set up any media between the caller and redirect server, since all
I will do is send either a 302 Moved Temporarily or a 403 Forbidden (only
some endpoints will be allowed to use the redirect server).

I'm trying to set the following diversion header fields before I answer the
call:
1. Call has been redirected to a destination different from original target
2. The number to which the call has been redirected
3. The reason for the redirection

I'm not sure how to set the diversion header in pjsua. Any help would be
greatly appreciated!

-- 
Thanks and regards,
AnirudhR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141127/e5fa7555/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