[Serusers] BYE records for mysql

Marian Dumitru marian.dumitru at voice-sistem.ro
Sat Apr 23 11:54:50 CEST 2005


Hi Barry,

try something like this:

         record_route();
         # loose-route processing
         if (loose_route()) {
		if (method=="BYE") {
       		   setflag(1);
         	   setflag(2);
		}
                 t_relay();
                 break;
         };


         # account completed transactions via syslog
         setflag(1);
         setflag(2);

Best regards,
Marian


Barry Murphy wrote:
> This is what I have in my route {}
> 
>         record_route();
>         # loose-route processing
>         if (loose_route()) {
>                 t_relay();
>                 break;
>         };
> 
> 
>         # account completed transactions via syslog
>         setflag(1);
>         setflag(2);
> 
> Barry
> 
> ----- Original Message -----
> From: "Marian Dumitru" <marian.dumitru at voice-sistem.ro>
> To: "Klaus Darilion" <klaus.mailinglists at pernau.at>
> Cc: "Barry Murphy" <barry at unix.co.nz>; <serusers at lists.iptel.org>
> Sent: Friday, April 22, 2005 10:07 AM
> Subject: Re: [Serusers] BYE records for mysql
> 
> 
> 
>>Hi Barry,
>>
>>Also make sure you do proper record_route() and sequential requests as
>>BYEs hits your proxy.
>>
>>Best regards,
>>Marian
>>
>>Klaus Darilion wrote:
>>
>>>Make sure that the BYE request hits the setflag(accountingflag) command.
>>>Often BYEs are processed by the loose_route block.
>>>
>>>regards,
>>>klaus
>>>
>>>Barry Murphy wrote:
>>>
>>>
>>>>Hey guys,
>>>>
>>>>I don't seem to get BYE records from SER being sent to mysql, I get
>>>>INVITE
>>>>and ACK. Without BYE I can't see who terminated the call, caller or
>>>>callee,
>>>>and I can't determin the duration of the call.
>>>>
>>>>Any ideas?
>>>>
>>>>Thanks
>>>>Barry
>>
>>
>>--
>>Voice System
>>http://www.voice-system.ro
>>
> 
> 

-- 
Voice System
http://www.voice-system.ro




More information about the sr-users mailing list