Stefan Sayer wrote: > Hello, > > o Jeremy A [07/05/08 05:43]: >> I'd like to send a SIP NOTIFY from a python script under the SEMS ivr >> module. >> > > you need to add a function sendRequest to IvrDialogBase.cpp, like this: > > and register it in IvrDialogBase_methods. > > you get the reply then in onSipReply event handler.
Hello Stefan, thanks for this. Reading the sources it appears to me that an AmSIPDialog::sendRequest is sent to the other party in the call rather than the party in the headers supplied. What I am trying to do is notify a third party of an event triggered by the IVR dialog. In addition I am not using a SUBSCRIBE/NOTIFY scheme - simply a NOTIFY - which I believe is RFC compliant as used by MWI NOTIFY - with application dependant data in the NOTIFY body. My guess is I will have to set up a new AmSIPDialog object and use that - plus spend a few days learning the intricacies of SEMS core - but I'm always hopeful there is an easier way. Jeremy _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
