[OpenSIPS-Users] simple pattern-matching SIP proxy

Brett Nemeroff brett at nemeroff.com
Thu Sep 17 20:06:13 CEST 2009


JM,I'm not sure if I'm reading too little into what you are saying, but just
adding entries into the LCR table isn't going to do anything. OpenSIPs is
largely a toolkit. Like asterisk, it doesn't do anything until you set the
configuration to perform a certain way. So out of the box, the example
configs are pretty useless and only show basic functionality. It certainly
doesn't use drouting or LCR to do anything.

It's possible that with some minimal reconfiguration of opensips.cfg example
you can achieve what you want. But there is limitless opportunity for
complexity. :)

BTW, don't bother working with the LCR module. Go ahead and go for the
drouting module.

-Brett



On Thu, Sep 17, 2009 at 1:00 PM, J M <gspdjosh at gmail.com> wrote:

> Hello,
>
> I'm pretty new to OpenSIPS.  I've lurked on this list a bit and read
> anything I could find, but I'm struggling with figuring things out.
> It feels like there is a steep learning curve.  Right now I have been
> able to register SIP devices to the proxy and place calls between
> them, but that's about it.  I'm going to start off saying if I missed
> some very basic documentation or a nice walk-through, please point me
> in the right direction and I'll be on my way.  I'll also be happy to
> create a nice tutorial when I get my setup working.  I think what I'm
> trying to do should be very simple, but maybe not.
>
> Currently, I have a group of Asterisk servers.  In front of the
> Asterisk servers is a basic payware SIP proxy (I want to replace it as
> it would be good having a database backend to make adding many routes
> a lot easier.  The payware solution only has a web-based interface.).
> The SIP proxy only has a handful of routing rules currently.  For
> example:
>
> Any SIP traffic to an extension matching 555XXXX routes to Asterisk
> server1, anything matching 444XXXX routes to Asterisk server2, and so
> on.
>
> Right now I just want to replicate this configuration and from that
> point, I would hope I could use that knowledge to add a large number
> of specific routes - preferably being held in a SQL table.  I have
> played around a bit with trying to add a lcr gateway and route (didn't
> seem to do anything), and I've also seen mention of using dispatcher
> or drouting, but I can't make heads or tails of how (I've seen the
> "cookbook" but so far I haven't had any bit of success).
>
> Even if I don't get a specific how-to, anything to point me in the
> right direction would be greatly appreciated.
>
> Regards,
>
> Josh
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090917/f10734b8/attachment.htm 


More information about the Users mailing list