Re: [SR-Users] PSTN Routing with Prefix

2014-12-03 Thread Massimo Varriale (IPZeta)
Thank you so much for giving me a direction! I will leave rewritehost and will make appropriate changes in my routing. Thanks Max Il giorno 03/dic/2014, alle ore 11:53, Alex Balashov ha scritto: > Hi, > > No, rewritehostport() only touches the domain part of the Request URI (the > part aft

Re: [SR-Users] PSTN Routing with Prefix

2014-12-03 Thread Alex Balashov
Hi, No, rewritehostport() only touches the domain part of the Request URI (the part after the @ symbol, in a typical URI). So, it can accomplish the first part of your request, but not the second. That said, the rewritehostport() function is rather antiquated. It's much easier to manipulate

Re: [SR-Users] PSTN Routing with Prefix

2014-12-03 Thread Abdul Gafar
Hi No posible, please use append_branch() and seturi(" sip:08121069941@10.70.1.1:5060"); for forward call UAC>KAMAILIO A>MSC>Mobile Subscriber # if someone calls B, the call should be forwarded to C too. if (method=="INVITE" && uri=~"sip:b...@xx.xxx.xx ") { # copy the

[SR-Users] PSTN Routing with Prefix

2014-12-03 Thread Massimo Varriale (IPZeta)
Hi, I'm trying to send outbound calls to an external IP address adding a prefix, is this possible using function rewritehostport? Thank you Max ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org htt