[Freeswitch-users] Caller ID in Java

Klaus Teller klaus.teller at gmx.net
Fri Jun 27 03:54:25 PDT 2008


Hi, 

i got two questions:

1) How can i get the caller ID in Java? In javascript this is accessible through session.caller_id_num.

2) Considere the following application declaration:

<action application="java" data="org.delta.MyApp"/>

I noticed that the class MyApp will be instantiated for each incoming call. Is there anyway to tell FS to reuse the same object? Or alternately is there a way to store an object (e.g. database connections) at the FS or VM level and reuse it accross different instances of MyApp?

Thanks,

Klaus L'Imbecile.


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger




More information about the FreeSWITCH-users mailing list