Alex,

Thanks for your response

perl is not the only option for me can go with php as well i saw a module named xhttp, can it fulfill my requirements ?

and by route script API, do you mean http://kamailio.org/docs/modules/3.1.x/modules/app_lua.html?


Mark,

Thanks to you too.

May it would not be an alternate to asterisk for most of the people but for me, i think it would be.

As my goal is just to exchange sip messages while being in the media and not being in the media, both conditions.

On Fri, Mar 18, 2011 at 3:07 AM, Alex Balashov <abalashov@evaristesys.com> wrote:
Sameer,

I suppose the Kamailio facility most analogical to your current setup would be the Perl module:

 http://www.kamailio.org/docs/modules/3.1.x/modules_k/perl.html

Although, you should beware that no call control can be delegated to such a script, just some simple logic.

This doesn't mean that a Perl script is necessarily the best way to do what you want, especially because its execution will block one of Kamailio's relatively few SIP worker threads until it returns.  You may want to consider learning the route script API more in-depth and writing your billing logic in the route script, or deputising it into a database-side stored procedure.

Thanks,

-- Alex


On 03/17/2011 06:01 PM, Sameer Khan wrote:

Hi all

I am looking forward to move from asterisk to kamailio, So may be
asking some unusual questions


My current system is working in such a way that

Whenever a call arrives at asterisk i call perl script by AGI and then
in that perl script i check customer status, billing, extension
routing, updating cdr to my database and many more other operations.

The billing which i am doing is different than the one in siremes and
i dont want to go for GUI as well

So I am looking for a solution similar to AGi.

Please direct me to the right path.

thanks

Sameer.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users