Hi Stephan,

Thanks for the improvement, I'll test this ASAP.

Cheers,
Jerome

On Fri, 2009-03-13 at 19:15 +0100, Stefan Sayer wrote:

> Hello,
> 
> o Stefan Sayer [03/13/09 16:12]:
> >> - Trigger from an external app the call to caller, leg A. I will do 
> >> this via xmlrpc.
> >>    Should I call auth_dial and pass it the dsm as target application, 
> >> or directly implement a dialout in my dsm app ?
> > I think it's fine to use dial_auth for DI interface. We should add a 
> > function that takes some dictionary as parameter, which then is fed into 
> > the variables of the dsm session. lets see...
> so this is implemented now with r1319: you can give the 'dial' and 
> 'dial_auth' functions from di_dial some extra parameters as dictionary 
> (string, string), which will be added to the variable array of the call.
> 
> so you could do:
> s.dial_auth('test_di_dial_params', '123', 'sip:[email protected]', 
> 'sip:[email protected]', 'realm','user','pwd',{'somevar':'someval'})
> 
> and have a transition like
>   transition "depends on call var" state1 - test($somevar==someval) -> 
> state2;
> 
> or use it as function parameter (e.g. log(1, $somevar), add it to 
> monitoring etc.
> 
> Stefan
> 


Jérôme Martin | LongPhone
Responsable Architecture Réseau
122, rue la Boetie | 75008 Paris 
Tel :  +33 (0)1 56 26 28 44
Fax : +33 (0)1 56 26 28 45
Mail : [email protected]
Web : www.longphone.com


_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to