o Juha Heinanen on 10/13/2011 03:14 PM:
when i try to run my 1.4 ivr scripts in master, i get error:
Oct 13 16:11:50 sip sems[13049]: [#b53e0b70] [ivr_log, Ivr.cpp:78] ERROR:
Ivr-Python:<type 'exceptions.TypeError'> raised: onSessionStart() takes
exactly 2 arguments (1 given)
i have in 1.4:
def onSessionStart(self, hdrs):
how is it in master?
onSessionStart is called when the session starts, which in master can
also happen e.g. when the ACK is received.
you can get the headers in onInvite
def onInvite(self, hdrs):
...
def onSessionStart(self):
...
if you spot any occurences in the documentation, fixes are welcome.
Stefan
-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev