[Serusers] Missed Call Return
Iqbal
iqbal at gigo.co.uk
Tue Oct 11 18:22:13 CEST 2005
cool will try it out, thanks Andreas
iqbal
PS have you worked on reading out the missed number, I was thinking
asterisk with Festival or something
Andreas Granig wrote:
> 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
>
> .
>
More information about the sr-users
mailing list