[Freeswitch-users] mod_python
hkalyoncu
hkalyoncu at gmail.com
Tue Mar 8 10:58:00 MSK 2011
thanks for your kind reply but im afraid its not working either.
anyway i have to do it with serialize method. not a nice solution but at
least working :).
here is my solution for anybody who needs it :
s = Event.serialize(params)
s2 = s.replace("\'", "")[:-2]
d = dict(item.split(":") for item in s2.split("\n"))
caller = d["Caller-Caller-ID-Number"]
callee = d["Caller-Destination-Number"]
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-python-tp6088430p6112761.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
More information about the FreeSWITCH-users
mailing list