[Serusers] Missed Call Return

Aisling ashling.odriscoll at cit.ie
Tue Oct 11 13:25:59 CEST 2005


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051011/ee6cc55e/attachment.htm>


More information about the sr-users mailing list