Hi,
o Raúl Alexis Betancor Santana [09/11/09 16:33]:
On Friday 11 September 2009 11:11:16 Stefan Sayer wrote:
It seems that I solved the problem, that was simple that with my actual
kamailio config I used domains ... so when the request cames from the SEMS
server I must set $rd = sw_domain and then lookup.
I have also other problems to fix ... but now C2D just works ...
One question, if I want that the announce is played to the callee and not to
the caller ... how could that be done ?
If you just want to connect someone to voicemail, use 'voicemail' as the
application in your request to SEMS / di_dial, and don't use click2dial
B2B application. You might need to pass some parameters to the voicemail
application so you get the email address etc to it, as with incoming calls.
If not, are you sure you want/need to have SEMS out of the RTP path
after the prompt is played?
If not, things are easy: Use B2ABSession instead of B2BSession (see e.g.
callback application, might need a little modification to play something
before conencting).
If yes, you would have to overwrite connectCallee for the callee
session, so that it sends its own SDP and sets sip_relay_only to false,
and after the prompt you need to call the original connectCallee method.
Stefan
--
Stefan Sayer
VoIP Services
[email protected]
www.iptego.com
IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany
Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems