Re: [asterisk-users] Using SIPPEER status with CUT function?

2010-01-25 Thread Tilghman Lesher
On Monday 25 January 2010 07:43:30 Kevin P. Fleming wrote: > JR Richardson wrote: > > Hi All, > > > > I'm using Asterisk 1.4 branch and checking the status of some SIP > > Peers with the functions ${SIPPEER(101:status)} and the result is "OK > > (48 ms)". Seems to work fine. > > That is a bug; the

Re: [asterisk-users] Using SIPPEER status with CUT function?

2010-01-25 Thread Kevin P. Fleming
JR Richardson wrote: > Hi All, > > I'm using Asterisk 1.4 branch and checking the status of some SIP > Peers with the functions ${SIPPEER(101:status)} and the result is "OK > (48 ms)". Seems to work fine. That is a bug; the function should be returning OK without the calculated lag value. -- K

Re: [asterisk-users] Using SIPPEER status with CUT function? SOLVED

2010-01-20 Thread Tilghman Lesher
On Wednesday 20 January 2010 14:57:38 JR Richardson wrote: > On Wed, Jan 20, 2010 at 2:42 PM, JR Richardson wrote: > > I'm using Asterisk 1.4 branch and checking the status of some SIP > > Peers with the functions ${SIPPEER(101:status)} and the result is "OK > > (48 ms)".  Seems to work fine. > >

Re: [asterisk-users] Using SIPPEER status with CUT function? SOLVED

2010-01-20 Thread JR Richardson
On Wed, Jan 20, 2010 at 2:42 PM, JR Richardson wrote: > Hi All, > > I'm using Asterisk 1.4 branch and checking the status of some SIP > Peers with the functions ${SIPPEER(101:status)} and the result is "OK > (48 ms)".  Seems to work fine. > > Now I would like to use the function CUT to set a varia

[asterisk-users] Using SIPPEER status with CUT function?

2010-01-20 Thread JR Richardson
Hi All, I'm using Asterisk 1.4 branch and checking the status of some SIP Peers with the functions ${SIPPEER(101:status)} and the result is "OK (48 ms)". Seems to work fine. Now I would like to use the function CUT to set a variable with the 'OK' portion of the status "OK (48 ms)" and then do so