[OpenSIPS-Users] ACC and failed calls
Alexander Mustafin
mustafin.aleksandr at gmail.com
Thu Nov 28 13:36:17 CET 2013
If first gateway in drouting return error - I need a CDR with sip code of error. Then, if next gw is setup the call - I need a CDR, after BYE message.
First attempt - generate one row INVITE in the table (with error code), and second attempt generate two rows - INVITE and BYE
I believe that it should work like that!
Best regards,
Alexander Mustafin
mustafin.aleksandr at gmail.com
28 нояб. 2013 г., в 15:42, Alexander Mustafin <mustafin.aleksandr at gmail.com> написал(а):
> Hi, Razvan!
>
> I’m tried set ACC_FAILED in places, where call may be failed. In request route too.
>
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com
>
>
>
>
> 28 нояб. 2013 г., в 15:35, Răzvan Crainea <razvan at opensips.org> написал(а):
>
>> Hi, Alexander!
>>
>> Have you tried setting the ACC_FAILED flag in the request route?
>>
>> Best regards,
>>
>> Razvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com
>>
>> On 11/28/2013 10:35 AM, Alexander Mustafin wrote:
>>> Hello!
>>>
>>> I need to store all CDRs for all calls, but some failed calls are not to
>>> handled by ACC.
>>>
>>> modparam("acc", "failed_transaction_flag", "ACC_FAILED»)
>>>
>>> failure_route[MISSED_CALL] {
>>> if (t_check_status("[4|5][0-9][0-9]")) {
>>> setflag(ACC_FAILED);
>>> }
>>> }
>>>
>>> But call which rejected with 503 (example) error is missed in acc table.
>>>
>>> Best regards,
>>> Alexander Mustafin
>>> mustafin.aleksandr at gmail.com <mailto:mustafin.aleksandr at gmail.com>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131128/6ad7fa79/attachment.htm>
More information about the Users
mailing list