Hello,
we want to use sip-communicator in our project. In our use case we have to exchange some SIP OPTION messages between caller and callee before a call can be established (SIP INVITE, SIP RINGING messages). What would be the correct way (as you proposed) to extend sip-communicator to reach our goal?
Should we extend existing classes like 'OperationSetBasicTelephonySipImpl' with our changes? Or should we provide a new OperationSet? Is there maybe another possibility?
I would prefer the new OperationSet approach, but I am not sure whether it is possible to integrate my own OperationSet functionality before the INVITE message is sent.
I would appreciate it if somebody could give me a hint.
El 15/11/2010, a las 09:50, Maxim Moschko escribió:
Hello,
we want to use sip-communicator in our project. In our use case we have to exchange some SIP OPTION messages between caller and callee before a call can be established (SIP INVITE, SIP RINGING messages). What would be the correct way (as you proposed) to extend sip-communicator to reach our goal?
Should we extend existing classes like 'OperationSetBasicTelephonySipImpl' with our changes? Or should we provide a new OperationSet? Is there maybe another possibility?
I would prefer the new OperationSet approach, but I am not sure whether it is possible to integrate my own OperationSet functionality before the INVITE message is sent.
I would appreciate it if somebody could give me a hint.
Hello,
we want to use sip-communicator in our project. In our use case we have
to exchange some SIP OPTION messages between caller and callee before a
call can be established (SIP INVITE, SIP RINGING messages). What would
be the correct way (as you proposed) to extend sip-communicator to reach
our goal?
Should we extend existing classes like
'OperationSetBasicTelephonySipImpl' with our changes? Or should we
provide a new OperationSet? Is there maybe another possibility?
I would prefer the new OperationSet approach, but I am not sure whether
it is possible to integrate my own OperationSet functionality before the
INVITE message is sent.
OperationSet-s are only meant for other bundles to access functionality
within protocol providers. If you don't need this then you could simply
create a new class inside the SIP provider implementation and add
whatever you need in there.