How to add custom headers to some Trying and ACK responses?

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

 



Hello there,

I need to add several suctom headers to some outgoing Trying and ACK responses.
It's not a problem in respect of INVITE, CALLING, OK, etc. But such responses as Trying and ACK are sent automatically.
It looks like making a custom module with implemented on_tx_response callback is a good idea, but I see no way to connect pjsip_tx_data with some call or smth else.
For some calls I need to add custom header, another calls - not...

Any idea how to understand what the pjsip_tx_data is about?

---
Alexey Ermoshin
_______________________________________________
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