[Freeswitch-users] Access to sip_history_info from python
John O'Brien
john at whitesmiths.com
Tue Nov 1 13:28:07 MSK 2011
Hi,
I'm a freeswitch newbie.
I have written a python script that processes calls that are diverted to it.
Its sort of a messaging system that triggers some other python processes that run outside of mod_python.
I want to from within the mod_python executed python code have access to the SIP header field History-Info.
I can use this to help in determining how the call ended up been processed by my python code.
The sofia variable sip_history_info is what I need access to but I'm at a loss to figure out how I can get to it from python.
If I could get the entire SIP header I can probably parse that to extract the History-Info.
Your help would be appreciated.
Regards,
John
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list