[Serusers] Missed Call Return

sip sip at arcdiv.com
Tue Oct 11 14:46:18 CEST 2005


I wrote a module that handles call return as I couldn't figure out a reasonable way of handling it with AVP. 

If you figure out a way to do it, let me know. 

N.

On Tue, 11 Oct 2005 12:25:59 +0100, Aisling wrote

> Hello,
>  
> I read a previous post by Iqbal (missedcaller call back) where a subscriber can ring a pre-defined number which callsback their last missed call
..
>  
> Is my logic correct as follows?:
>  
> In the missed call section (i.e. when theresa 408/487 message) do:
>  
> avp_db_store(“$ruri”, “i:1000”);
>  
> Then when the caller dials the callback number e.g.1471 thiscode is invoked:
>  
> if (uri=~”^sip:1471 at x.x.x.x”){
>             log(1, “in missed call return section”);
>             avp_db_load(“$from/username”,“i:1000”);
>             avp_pushto(“i:1000”,“$ruri”);
>             //route as normal
> };
>  
> I am getting an error when restarting SER:
>  
> ERROR: avops: fixup_pushto_avp:bad param 1; expected : $[ruri|hdr_name|..]
>  
>  
> Is it correct to push the AVP i:1000to the ruri? Do I need to define aliases in the modparam perhaps?
>  
> Any help would be appreciated.
> Many thanks,
> Aisling.
>  
> p.s. In case anyone was following my other post regarding asteriskvoicemail – It’s now working using avpops,the problem was with my asterisk
> config. There isstill a problem playing back the messages though.            
>  
>  
>  -------------------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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051011/500df446/attachment.htm>


More information about the sr-users mailing list