[asterisk-users] Realtime SIP & peer status

Rob Coward rob at jive-videos.net
Wed Apr 13 14:18:53 CDT 2011


  

Rather than add extra overhead to your dialplan and the asterisk
server, why not make use of the AMI and have a background process
listening for the various events and updating your database accordingly
? 

See
http://www.voip-info.org/wiki/view/asterisk+manager+events#ExtensionStatusEvent
and
http://search.cpan.org/~greenbean/Asterisk-AMI-v0.2.5/lib/Asterisk/AMI.pm#Events


Regards, 

Rob 

On Wed, 13 Apr 2011 10:15:30 +0200, Jonas Kellens
wrote: 

> Hello,
> 
> I'm using SIP realtime with MySQL DB.
> 
> Is it
possible to get the status of the SIP peer (free / calling) from this
realtime DB ?
> 
> If not, is there another way to obtain the call state
of a SIP peer ?
> 
> Kind regards,
> Jonas.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110413/07c9694e/attachment.htm>


More information about the asterisk-users mailing list