Hello,

On 11/13/12 6:25 AM, Uri Shacked wrote:

Hi,

When i set a timer to "request time out" kamilio generates a 408 with now to_tag.

I saved the to_tag from the 183 and try to update the acc table with the to_tag (i need that for my CDR to work)

My question is (understanding there is no option to set the to_tag on the 408) is:

How to i get the right timing to update using sqlops? i must update after the acc inserted the row to the acc table....

Any ideas?

rtimer module can be used to execute periodically some route blocks, perhaps you want to look for reply code 408 and change the fields you want.

However, it may work to use a failure route and reset to-tag variable to $null if the status code is 408 -- this is a matter of what mechanism you use to write the accounting record.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda