[asterisk-users] Ongoing calls with SIPPEER, curcalls

Olivier oza-4h07 at myamail.com
Wed Oct 1 12:04:16 CDT 2008


2008/10/1 Doug Lytle <support at drdos.info>

> Olivier wrote:
> >
> >
> > yes : that's why I displayed both values here :
> >
> > exten => _753X,n,Set(foo=${SIPPEER(${EXTEN}:curcalls)})
> > exten => _753X,n,Set(foo2=${SIPPEER(${EXTEN}:limit)})
> > exten => _753X,n,NoOp(${foo} ${foo2})
> >
>
> Look into your sip.conf and search on limit.

I can see in sip.conf :
call-limit=5

So, when Set(foo2=${SIPPEER(${EXTEN}:limit)}) replies 5, it replies to
correct value.
The strange thing is with curcalls  ...

As I'm using the same method to get its value, either :
- curcalls is not set to what I was thinking (I misunderstood its definition
in voip-info.org, as I comply to call-limit setting requirement)
- something else

>
>
> Doug
>
>
>
> --
>
> Ben Franklin quote:
>
> "Those who would give up Essential Liberty to purchase a little Temporary
> Safety, deserve neither Liberty nor Safety."
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081001/c9bd4f1f/attachment.htm 


More information about the asterisk-users mailing list