[OpenSIPS-Users] Call Control not behaving

Luci Stanescu luci at ag-projects.com
Mon Apr 19 16:19:40 CEST 2010


On 04/19/2010 10:11 AM, Douglas Lane wrote:
> Hi Guys,

Hi Douglas,

> Apr 19 09:50:02 sbc1 call-control[4358]: Call id 
> 6525f68f48fed0525fabf5583822f87f at domain.com of telefusion at domain.com to 
> sip:0739384404 at domain.com forbidden because credit is too low
> Apr 19 09:50:02 sbc1 /opt/opensips/sbin/opensips[19378]: Callcontrol 
> returned code 18446744073709551615

That number is the largest 64bit signed integer. The call_control
function returns -1 in case of no credit, so effectively the two numbers
are equivalent (in binary). How are you using the return code of the
call_control function?

-- 
Luci Stanescu



More information about the Users mailing list