Hello,
I read a previous post by
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@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.