Actually I found that i can just modify the $ru to do the work….not good start 
but I'm in :)

On Jan 20, 2012, at 2:51 PM, duane.lar...@gmail.com wrote:

> Not sure about your first issue since I've never messed with those "Available 
> Functions" as for your bridging issue you might want to look at the B2B_LOGIC 
> module. It has a bunch of bridging stuff in there but I also haven't played 
> with those yet either.
> 
> 
> 
> 
> On , Xi Liu <lxvon...@gmail.com> wrote:
> > Hi,
> > 
> > I'm new OpenSIPS, have some questions here hope anyone can help!
> > 
> > Question 1,
> > 
> > I'm trying to use some of the functions in usrloc module, but for some 
> > reason if I use those from "Available Functions" part, the opensips won't 
> > start and give an error:
> > 
> > Jan 20 14:11:53 [22878] CRITICAL:core:yyerror: parse error in config file, 
> > line 405, column 56-57: unknown command , missing loadmodule?
> > 
> > The usrloc module is definitely loaded, and it will start as long as I 
> > avoid using those "Available Functions". I tried some other modules it will 
> > lead to same error.
> > 
> > Question 2,
> > 
> > What is the simplest way to bridge a call based on username and domain?
> > 
> > I was trying to make a simple experiment I used to do in Freeswitch,
> > 
> > ==========================
> > Have 1000,1001,1002 registered,
> > 
> > When 1000 calls 9999, the calls will be bridged to 1001 or 1002 based on 
> > different time period.
> > ==========================
> > 
> > While in Freeswitch, it would be as simple as "bridge x...@domain.com", and 
> > then freeswitch will lookup contact information and forward the call.
> > 
> > But in OpenSIPS, I only succeed in forwarding calls by change the $du to 
> > the exact contact uri, which is "sip:xxxx@ip-of-the-phone:port", the call 
> > r_relay(). In order to do this, I need call a perl script to lookup the 
> > location database to find a match… 
> > 
> > I'm 99% sure I'm doing wrong here… there must be a way way easier than 
> > that, but so far I can't find it….
> > 
> > Please help…
> > 
> > Thanks,
> > Xi
> >_______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to