o Raúl Alexis Betancor Santana [09/11/09 16:59]:
On Friday 11 September 2009 15:49:17 Stefan Sayer wrote:
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.
Could the voicemail application be called from xmlrpc ?
you can call any application from xmlrpc, which supports outgoing calls.
I see that voicemail application is missing support for outgoing calls -
mainly because the email address etc needs to come from somewhere. For
b2b that were some more parameters for a B2B dialog, so dial_auth_b2b
was added.
If you want to add that, you need to implement
AmSession* AnswerMachineFactory::onInvite(const AmSipRequest& req,
AmArg& session_params);
where you have realm/user/pwd/callee ruri in session_params
(realm=session_params.get(0).asCStr() etc).
and
void AnswerMachineDialog::onSessionStart(const AmSipRequest& req);
What I whant to archive is simple ... launch a call, play an announce, record
the answer and mail it as .mp3 file
hm. I would probably write a short DSM script to implement that (see
doc/dsm/examples/). Attributes from P-App-Param are directly accessible
as DSM dialog variable (see dsm.conf), and outgoing calls are supported
as well.
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