[OpenSER-Users] [Serusers] Run on multiple ports

Max Gregorian gregorian442 at googlemail.com
Sat Jan 5 03:15:57 CET 2008


Have you tried:

listen=udp:ip:5060
listen=udp:ip:5070
listen=tcp:ip:5060
listen=tcp:ip:5070

?

This is what I do in my config for multiple ports (i.e. explicitly specfying
the protocol as well).

Only one way to be absolutely sure what is happening - run a trace. (ngrep
or tcpdump on the OpenSER server should see what is coming in and what is
going out.

Alternatively, a way roundthis might be to use pseudo-variables or AVPs and
create forwarding rules in your OpenSER config,
 e.g. IF (from_Cisco_IP) AND (Port=5070) THEN  store Source Port in
pseudo-variable/AVP; and Forward to port value in pseudo-variable/AVP.

Well something along those lines.



On 28/12/2007, Arun Kumar <arunvoip at gmail.com> wrote:
>
>
>
>  1. Are you updating the port to 5070 for UA B in your configuration.
>
>
> yes
>
>
>
> >
> >
> > 2. Are you sure that cisco is not blocking incoming traffic for 5070.
> > Maybe its allowing only outgoing traffic.
>
>
> I've configured my cisco to block udp/tcp 5060 only rest traffic is
> allowed , that is why I'm able to reg. on port 5070 and call users who are
> on 5060 but not rev.
>
> thanks
>
> arun
>
> >
> >
> >
> > -Jai
> >
> >   On Dec 28, 2007 9:52 AM, Arun Kumar <arunvoip at gmail.com> wrote:
> >
> >
> > >  Hi,
> > >
> > >
> > > how do I run ser/openser on multiple ports. ?
> > >
> > > I've configured my ser with two listen stat.
> > > listen = ip:5060
> > > listen = ip:5070
> > >
> > > UA:5070 -------> Cisco (Blocked 5060) --------> SER ------------->
> > > UB:5060
> > >
> > >
> > > UA is able to call UB, but UB is not able to call UA, I know 5060 is
> > > blocked but it should goto 5070 ? please guide on this ?
> > >
> > >
> > > Thanks,
> > >
> > > Arun
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080105/62c78546/attachment.htm 


More information about the Users mailing list