[Serusers] Call waiting and accounting

Greger V. Teigre greger at teigre.com
Fri May 11 14:55:48 CEST 2007


No, you have to make sure that INVITEs that go into your 
if(loose_route()) { ... } don't get accounted.
g-)

inge wrote:
> Thanks for your answer.
> I use accounting in route{}. So I just need to add a !loose_route() in
> my if block when I want to account for INVITE and ACK request ?
>
> Le vendredi 11 mai 2007 à 12:06 +0200, Greger V. Teigre a écrit :
>   
>> That's because the other call is put on hold and an INVITE is sent with 
>> 0.0.0.0 as IP address to indicate that.
>> Such INVITEs will be loose_route'd in your script, so don't account 
>> INVITEs that go through loose route logic.
>> g-)
>>
>> inge wrote:
>>     
>>> Hi all,
>>>
>>> I've got a problem with call waiting function. This one allow us to hang
>>> out a call when we are already in communication.
>>>
>>> But when I press "R" on my phone to take the second call, there is one
>>> INVITE and one ACK generated by the proxy and being accounted in MySQL.
>>>
>>> It's the same when I switch between both callers. So I can have for the
>>> same callid 2 3 4...X INVITE ACK and one BYE. So in SERWeb for example,
>>> I can see for one call 3 lines of accounting.
>>>
>>> Thanks for you support.
>>>
>>> Adrien .L
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> Serusers at lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>>   
>>>       
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070511/195e16b4/attachment.htm>


More information about the sr-users mailing list