Re: [asterisk-users] Realtime SIP & peer status

2011-04-15 Thread Jonas Kellens
On 04/15/2011 11:53 AM, Adolphe Cher-aime wrote: Registry type Event will give you information about your peer. Adolphe Cher-aime From my Iphone I don't find information on how this event tells me whether the SIP peer is occupied with a call or not. How can I capture the notify messages (as

Re: [asterisk-users] Realtime SIP & peer status

2011-04-15 Thread Adolphe Cher-aime
Registry type Event will give you information about your peer. Adolphe Cher-aime From my Iphone On Apr 15, 2011, at 1:15 AM, Jonas Kellens wrote: On 04/13/2011 09:18 PM, Rob Coward wrote: Rather than add extra overhead to your dialplan and the asterisk server, why not make use of the A

Re: [asterisk-users] Realtime SIP & peer status

2011-04-14 Thread Jonas Kellens
On 04/13/2011 09:18 PM, Rob Coward wrote: 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/aster

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Rob Coward
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

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Steve Edwards
On Wed, 13 Apr 2011, Andrew Thomas wrote: Fair enough. Then if this is really what you want I guess an AGI is the best way to go. As for load - well, that depends on how many concurrent connections you figure on having [and of course the platform it's all on]. I do almost exactly the same fo

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Jonas Kellens
On 04/13/2011 11:46 AM, Andrew Thomas wrote: Fair enough. Then if this is really what you want I guess an AGI is the best way to go. As for load - well, that depends on how many concurrent connections you figure on having [and of course the platform it's all on]. Platform : CentOS 5.5 Asterisk

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Andrew Thomas
-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: 13 April 2011 10:39 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Realtime SIP & peer status On 04/13/2011 11:28 AM, Andrew Thomas wrote: > Ma

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Andrew Thomas
users-boun...@lists.digium.com] On Behalf Of Ishfaq Malik Sent: 13 April 2011 10:33 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Realtime SIP & peer status On Wed, 2011-04-13 at 10:28 +0100, Andrew Thomas wrote: > BTW - extensions.conf has mySQL f

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Ishfaq Malik
On Wed, 2011-04-13 at 10:32 +0100, Ishfaq Malik wrote: > On Wed, 2011-04-13 at 10:28 +0100, Andrew Thomas wrote: > > BTW - extensions.conf has mySQL functions built in - so no external > > script is actually needed. > > > > > Could you point me in the right direction for that? > Igno

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Ishfaq Malik
On Wed, 2011-04-13 at 11:24 +0200, Jonas Kellens wrote: > On 04/13/2011 11:20 AM, Ishfaq Malik wrote: > > On Wed, 2011-04-13 at 11:09 +0200, Jonas Kellens wrote: > > > >> On 04/13/2011 10:57 AM, Ishfaq Malik wrote: > >> > >>> On Wed, 2011-04-13 at 10:15 +0200, Jonas Kellens wrote: > >>> >

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Jonas Kellens
On 04/13/2011 11:28 AM, Andrew Thomas wrote: Maybe I should have asked 'why do you want to put the status in to a mySQL database'? BTW - extensions.conf has mySQL functions built in - so no external script is actually needed. Well, I read out this information in a website which serves as a co

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Ishfaq Malik
On Wed, 2011-04-13 at 10:28 +0100, Andrew Thomas wrote: > BTW - extensions.conf has mySQL functions built in - so no external > script is actually needed. > > Could you point me in the right direction for that? -- Ishfaq Malik Software Developer PackNet Ltd Office: 0161 660 306

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Andrew Thomas
risk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: 13 April 2011 10:25 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Realtime SIP & peer status On 04/13/2011 11:20 AM, Ishfaq Malik wrote: > On Wed, 2011-04-13 at 11:09 +0200, Jo

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Jonas Kellens
On 04/13/2011 11:20 AM, Ishfaq Malik wrote: On Wed, 2011-04-13 at 11:09 +0200, Jonas Kellens wrote: On 04/13/2011 10:57 AM, Ishfaq Malik wrote: On Wed, 2011-04-13 at 10:15 +0200, Jonas Kellens wrote: Hello, I'm using SIP realtime with MySQL DB. Is it possible to get the st

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Ishfaq Malik
On Wed, 2011-04-13 at 11:09 +0200, Jonas Kellens wrote: > On 04/13/2011 10:57 AM, Ishfaq Malik wrote: > > On Wed, 2011-04-13 at 10:15 +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 / ca

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Andrew Thomas
] Realtime SIP & peer status On 04/13/2011 10:57 AM, Ishfaq Malik wrote: > On Wed, 2011-04-13 at 10:15 +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 / call

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Jonas Kellens
On 04/13/2011 10:57 AM, Ishfaq Malik wrote: On Wed, 2011-04-13 at 10:15 +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

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Ishfaq Malik
On Wed, 2011-04-13 at 10:15 +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 regard

Re: [asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Michel Verbraak
On 13-04-11 10:15, 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 ? > NO > If not, is there another way to obtain the call state of a SIP peer ? > AMI (Asterisk Manager Interface)

[asterisk-users] Realtime SIP & peer status

2011-04-13 Thread Jonas Kellens
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. -- __