data exchange with pjsip modules

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

 



Hi all,

I want to add a custom sip header field to all SIP messages sent by pjsip ; the only way I found to do this is to create a module so I can catch the SIP message and do the stuff before it being sent.
The problem I'm facing is that the value of that sip header can vary depending on the context. But I didn't found how to retrieve the call or account context in my module.
Does anybody know how I could retrieve the pjsip account or pjsip call info from a pjsip module?
Note that I'm using pjsua2 at the top, so my final goal is to retrieve the pjsua2 account/call class pointer in my module...

Thanks for any help
Regards,
Thibault
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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