I would also add  prefix()  function available in the core.

http://www.kamailio.org/wiki/cookbooks/4.2.x/core#prefix

Regards,
Cezary


On 05/10/2015 14:43, Federico Cabiddu wrote:
Hi,
for this kind of operations you really have a lot of possible choices with kamailio.
Some examples:

1) operating directly on $ru, since it is a r/w pseudovariable (http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#ru_-_request_uri)
2) use textops module's susbst_uri function http://www.kamailio.org/docs/modules/devel/modules/textops.html#textops.f.subst_uri
3) use avp_pushto from avpops module (http://www.kamailio.org/docs/modules/devel/modules/avpops.html#avpops.f.avp_pushto)
4) use dialplan module

Hope this helps.

Regards,

Federico


On Mon, Oct 5, 2015 at 12:06 PM, Infinicalls Infinicalls <infinicalls@gmail.com> wrote:
Hi,
 I am able to successfully connect to a PSTN gw from Kamailio. Now, he
says I need to prepend  a value (eg.123123) before the number(ENUM)
and then only terminate the calls. Where do I add this? Can somebody
help me?

thanks
Ganesh Kumar

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users