[OpenSIPS-Users] Dynamic Routing Help
Saeed Akhtar
saeedakhtar.484 at gmail.com
Tue Dec 15 09:15:48 CET 2009
yes exactly... and im using head revision from svn
Regards,
Saeed Akhtar
On Tue, Dec 15, 2009 at 1:01 PM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:
> Hi Saeed,
>
> so you put "2" in the route_id column for the rules? and this route was
> not called when the rule matched?
>
> Also, what version are you using?
>
> Regards,
> Bogdan
>
> Saeed Akhtar wrote:
> > thanks. Basically it wasn't going on route 2, which i told it in
> > database. I still dont know why was it happening but still, its
> > working now. Can someone tell me why it was overriding route column
> > given in database?
> >
> > Regards,
> >
> > Saeed Akhtar
> >
> >
> >
> > On Mon, Dec 14, 2009 at 6:09 PM, Bogdan-Andrei Iancu
> > <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
> >
> > Hi Saeed,
> >
> > I suspect you have an error in your script - after drouting, it seams
> > your script is also doing a lookup(location)....I mean you apply a
> > logic to send the call to GW (drouting) and then you also do the
> > registration-based lookup for users (location).
> >
> > What you need to do is, after do_routing(), to send the call out by
> > doing t_relay() and exit after it.
> >
> > Regards,
> > Bogdan
> >
> > Saeed Akhtar wrote:
> > > Hi all,
> > >
> > > I'm want to route my call to another sip server if certain criteria
> > > match so I looked for it and found dynamic routing (drouting) and
> > > Least Cost Routes - LCR module to do so. I read about dynamic
> > routing
> > > and as it was serving my purpose so I thought I should go for it.
> > > Now in drouting, I gave address to another SIP server on local
> > > network. When I tested it, it was a failure. I go through console
> > > output. I found out it successfully modified ruri and following
> > > message showed.
> > >
> > > DBG:drouting:do_routing: setting gw [0] as ruri "sip:<new
> > > number>@<ip address>"
> > >
> > >
> > > Then next it gave me following message:
> > >
> > > DBG:registrat:lookup: '<new number>' Not found in usrloc
> > >
> > >
> > > And hence request was not forwarded to other sip server. I also
> > > rechecked it through wireshark but no packet was forwarded to other
> > > sip server ip address.
> > >
> > > What I believe is that OpenSIPS is checking its own registrar no
> > > metter even if ip address of other server is already given. Can
> > > someone please tell me how to bypass this registrar check and just
> > > forward the request to other server simply.
> > >
> > > Regards,
> > >
> > > Saeed Akhtar
> > >
> > > -
> >
>
>
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro
>
>
> _______________________________________________
> 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/20091215/0ae2c385/attachment.htm
More information about the Users
mailing list