[SR-Users] set acc flag to dlg_bye

Uri Shacked ushacked at gmail.com
Sat Jan 21 15:16:57 CET 2012


I did it under the route for the dialog timeout.
I undertand i need to keep the dlg_bye on this route. And add to my
cfg an event_route like you wrote, and there to perform the
db_request?

On 1/21/12, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
> Hello,
>
> On 1/21/12 12:18 PM, Uri Shacked wrote:
>> thanks..... i already did. no bye is inserted to the DB. 2 invites for
>> the 183 and 200, 1 ack, and that is it...
>> another idea? :-)
> just for clarification, in kamailio that route is now
> event_route[tm:local-request].
>
> What you can do in the event_route[tm:local-request] is to call
> acc_db_request("200 Dlg", "acc").
>
> Cheers,
> Daniel
>
>> "
>> Hi,
>>
>> set acc flag in local_route,
>>
>> On Sat, Jan 21, 2012 at 1:08 PM, Uri Shacked <ushacked at gmail.com
>> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>> wrote:
>> "
>> >/Hi,
>> />/
>> />/i wonder, anyone has a good idea of how to set a flag, that will insert
>> />/the bye kamailio created to end the dialog into the acc table?
>> />/i am checking "early media", "cancel", "ack" etc.... but when kamaiilo
>> />/creates the bye with the dlg_bye command, there is no acc raw for
>> that....
>> />/i can create a sqlops and insert with the call's params... but
>> there must
>> />/be a nicer way, no?
>> />/
>> />/BR,
>> />/Uri
>> />/
>> /
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- http://www.asipto.com
> http://linkedin.com/in/miconda -- http://twitter.com/miconda
>
>

-- 
Sent from my mobile device



More information about the sr-users mailing list