Hi Andreas,
Thanks a lot for that answer and sorry for the late reply - I'll give it a try now and keep ye posted with how I get on.
Many thanks again.
Aisling.
-----Original Message----- From: Andreas Granig [mailto:andreas.granig@inode.info] Sent: 11 October 2005 16:41 To: Iqbal Cc: serusers@lists.iptel.org; Aisling Subject: Re: [Serusers] Missed Call Return
I wrote:
So you're right, it would be nicer to call avp_db_delete before avp_db_store in failure_route.
So finally the corrected failure-route looks like this (needs an additional DB query though):
failure_route[2] { if(t_check_status("480|486") && method == "INVITE") { avp_write("$from", "$callback"); revert_uri(); avp_db_delete("$ruri", "$callback/callback"); avp_db_store("$ruri", "$callback/callback"); avp_delete("$callback"); } }
Andy
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.