[SR-Users] Newbie from asterisk
Alex Balashov
abalashov at evaristesys.com
Thu Mar 17 23:07:10 CET 2011
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 at 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/
More information about the sr-users
mailing list