[Serusers] Missed Call Return

Iqbal iqbal at gigo.co.uk
Tue Oct 11 13:40:30 CEST 2005


Hi

I never got round to tying this, just got bogged down with other 
configs, if you have any luck give me a shout, I might take a look 
towards the end of the week

iqbal

Aisling wrote:

> Hello,
>
> I read a previous post by Iqbal (missed caller call back) where a 
> subscriber can ring a pre-defined number which calls back their last 
> missed call…..
>
> Is my logic correct as follows?:
>
> In the missed call section (i.e. when theres a 408/487 message) do:
>
> avp_db_store(“$ruri”, “i:1000”);
>
> Then when the caller dials the callback number e.g.1471 this code 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:1000 to 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 asterisk 
> voicemail – It’s now working using avpops, the problem was with my 
> asterisk
>
> config. There is still 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.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>




More information about the sr-users mailing list