[Serusers] Prefix translation

Marc Khayat marc at globalcarrier.net
Mon Sep 5 18:10:28 CEST 2005


Hi all,
I know my question may sound easy for most you guys, but here's the
thing:
I have a terminating carrier that gave me a prefix of 1111#. I need to
sell this traffic by changing the prefix and give it to my clients.
How can I do that?

I know that I gotta put:
          if (uri=~"^sip:1111#") {
                  t_relay_to_udp("22.22.22.22", "5060");
                  break;
          };

But how to do the translation?

Thanks a lot,





More information about the sr-users mailing list