[Serusers] How do I redirect calls to other SIP server

Roberto Pereyra pereyra.roberto at gmail.com
Thu Mar 9 13:31:29 CET 2006


Hi

I newbie with SER.

In this example it does not have  the voip provider username and password to
enable fowarding PSTN calls from SER.

How it works ?

roberto

ser.cfg

# send out 00 prefix to wholesale voip.brujula.net termination
      if (uri=~"^sip:00[0-9].*@.*") {
             if (!is_user_in("From", "ld")) {
                     sl_send_reply("403", "Payment required");
                     break;
              };
              setflag(1);
              rewritehostport("voip.brujula.net:5060");
              if (!t_relay()) {
                      sl_reply_error();
              };
              break;
        };





2006/3/9, Roberto Pereyra <pereyra.roberto at gmail.com>:
>
> Hi
>
> I new with SER and I not sure if this setup works but this provider (
> fonosip.com) uses this ser.cfg with his custommers.
>
> http://fonosip.com/english/ser.html
>
> This setup works ?
>
> roberto
>
>
> 2006/3/8, Script Head <scripthead at gmail.com>:
> >
> > Look into forward command, e.g. forward(<pstn_gateway_ip>,<port>)
> >
> >
> >
> > On 3/8/06, Sarfaraz Chougule < sarfaraz.chougule at gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > I have installed and configure SER 0.9.6 in our office.
> > >
> > > <SIP Phone> <----><SER><----> <SIP Phone>
> > >
> > > Interoffice SIP phone to SIP phone calls are ok.
> > >
> > > I want to connect to other SIP Provider who is conncted to PSTN, so
> > > that
> > > from my office SIP phone I can call PSTN numbers
> > >
> > > <SIP Phone> <----><SER><----> <SIP Phone>
> > >                           |
> > >                           |
> > >                    <INTERNET>
> > >                           |
> > >                           |
> > >                  <SIP Provider>
> > >                           |
> > >                           |
> > >                           |
> > >                      <PSTN>
> > >
> > > Hope you guys have understood the scenario.
> > >
> > > Regards
> > > Sarfaraz
> > >
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
>
>
> --
> Ing. Roberto Pereyra
> ContenidosOnline
> Servidores BSD, Solaris y Linux
> Soporte técnico ISPs
> Jabber ID: rpereyra at lugmen.org.ar
>
> For reliable and professional DNS, use DNS Made Easy!
>             http://www.dnsmadeeasy.com/u/14989




--
Ing. Roberto Pereyra
ContenidosOnline
Servidores BSD, Solaris y Linux
Soporte técnico ISPs
Jabber ID: rpereyra at lugmen.org.ar

For reliable and professional DNS, use DNS Made Easy!
            http://www.dnsmadeeasy.com/u/14989
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060309/5b3683ce/attachment.htm>


More information about the sr-users mailing list