[OpenSIPS-Users] Questions about initial setup

2014-05-14 Thread Kurtis Heimerl
Hey Users, I'm a developer with a lot of experience in FreeSWITCH trying out OpenSIPS for a larger, more central piece of infrastructure. I started investigating it a few days ago with the following use case in mind: FS instance with users attached. OpenSIPS in the cloud routing the FS communicat

Re: [OpenSIPS-Users] Questions about initial setup

2014-05-15 Thread Kurtis Heimerl
#x27;ll at least understand what exactly is > happening.. > > Good luck! > -Brett > > > > On Wed, May 14, 2014 at 8:36 PM, Kurtis Heimerl wrote: > >> Hey Users, >> >> I'm a developer with a lot of experience in FreeSWITCH trying out >> OpenS

Re: [OpenSIPS-Users] why 483 too many Hops

2014-05-23 Thread Kurtis Heimerl
Hi, I'm just starting with OpenSIPs, but this means that the message isn't being routed correctly. It's falling through the dialplan to a self-route, which causes it to handle it again, eventually failing as it cuts the hop count every time. I'm working on resolving the issue myself, but that is t

Re: [OpenSIPS-Users] Building a new OpenSIP registrar server

2014-05-23 Thread Kurtis Heimerl
Hey Bogdan, I'm trying to do the same thing as Pradeep and failing. I've added a user to the subscribers database, but I feel as though the default configuration doesn't support registrar behavior. In the standard debian package, this is the only line seemingly hinging on a REGISTER method:

Re: [OpenSIPS-Users] Questions about initial setup

2014-05-23 Thread Kurtis Heimerl
mple, if your config doesn't explicitly check the register to see > if it's valid, it's not doing it. > > The sample config i think has some of these bits littered around it.. > Maybe you don't have your alias setup right in which case it would try to > relay it. &

Re: [OpenSIPS-Users] Questions about initial setup

2014-05-23 Thread Kurtis Heimerl
and if the domain IS actually > pointing to yourself.. well SURPRISE, you have a loop again. > > so "myself" means that the domain IS a valid alias.. > > (this is the short answer) > > Remember, the LISTEN is what IP it'll get packets on.. regardless of > d

Re: [OpenSIPS-Users] Questions about initial setup

2014-05-29 Thread Kurtis Heimerl
Note that there are some tricks you normally have to do to make EC2 work. > You are not learning the easy way :) > > Check out this thread for some pointers: > http://lists.opensips.org/pipermail/users/2010-April/012367.html > > > > On Sat, May 24, 2014 at 12:45 AM, Kurtis Hei

[OpenSIPS-Users] TextDB and Registrant issues

2014-05-30 Thread Kurtis Heimerl
Hey List, Here's my current conundrum: I have opensips running with textdb pointed at /usr/local/etc/opensips/dbtext. I've enabled the uac_registrant module and pointed it at the same directory (though it should be noted that this was done manually, as it wouldn't use the default for some reason).

Re: [OpenSIPS-Users] TextDB and Registrant issues

2014-06-03 Thread Kurtis Heimerl
For the webcrawlers, I was was able to resolve this by switching to postgres. I guess textdb has some issues. On Fri, May 30, 2014 at 6:23 PM, Kurtis Heimerl wrote: > Hey List, > > Here's my current conundrum: > I have opensips running with textdb pointed > at /usr/local

Re: [OpenSIPS-Users] TextDB and Registrant issues

2014-06-04 Thread Kurtis Heimerl
mentation > and use the proper format for the table. > > Regards, > Ovidiu Sas > > On Tue, Jun 3, 2014 at 11:36 PM, Kurtis Heimerl > wrote: > > For the webcrawlers, I was was able to resolve this by switching to > > postgres. I guess textdb has some issues. > >

[OpenSIPS-Users] EC2 and rapidly repeated invites

2014-06-08 Thread Kurtis Heimerl
Hello mailing list, I've been working on setting up OpenSIPS on an EC2 instance, routing traffic between nexmo and our gateway, a FS instance on a public IP. I was kindly directed to an earlier thread on OpenSIPs and EC2 ( http://lists.opensips.org/pipermail/users/2010-April/012393.html) but have

Re: [OpenSIPS-Users] EC2 and rapidly repeated invites

2014-06-11 Thread Kurtis Heimerl
gt; > You can try the script_trace() function to understand how your script is > executed: > http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42 > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > >

Re: [OpenSIPS-Users] EC2 and rapidly repeated invites

2014-06-15 Thread Kurtis Heimerl
t; Hi Kurtis, > > Do you use any routeid in the rule definitions ? maybe that's the looping > cause.Be sure it is set to NULL. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 12.06.2014 03:14, Kurti

Re: [OpenSIPS-Users] EC2 and rapidly repeated invites

2014-06-16 Thread Kurtis Heimerl
$SERVERNAME 0 TEST 2 0 test box So it seems routeid must be set in order to forward the message? On Sun, Jun 15, 2014 at 9:09 PM, Kurtis Heimerl wrote: > Hi Bogdan, > > This was indeed the issue. I guess setting a routeid *and* a gw causes it > to send out route in two different di

[OpenSIPS-Users] json module issues

2014-07-07 Thread Kurtis Heimerl
Hey All, I seem to be having some very simple issues with the json module. The following code in my config: $json(k) := "[1,2]"; xlog("L_ERR","Kurtis $json(k)"); Is producing the following output: Jul 7 23:59:00 NAME /usr/sbin/opensips[6379]: Kurtis2 This looks to be as simple as I can get a

Re: [OpenSIPS-Users] json module issues

2014-07-08 Thread Kurtis Heimerl
output seems ok: > Kurtis [ 1, 2 ] > Are you sure there is no other function between those two lines that could > delete the json? Also, what version of OpenSIPS are you using? > > Best regards, > > Razvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions

Re: [OpenSIPS-Users] json module issues

2014-07-08 Thread Kurtis Heimerl
[30188]: ERROR:core:do_assign: error at line: 151 Looks like it thinks the json isn't parsing right, but the config is still dead simple... $json(k) := "[1,2]"; xlog("L_ERR","Kurtis2 $json(k)"); On Tue, Jul 8, 2014 at 9:48 AM, Kurtis Heimerl wrote: >

Re: [OpenSIPS-Users] json module issues

2014-07-08 Thread Kurtis Heimerl
s might be the source of your issues. > > What is the version of the libjson do you currently have installed on your > system ? So far tested with 0.9, 0.10 and 0.12 and does not seem to > replicate. > > Best Regards, > > Vlad Paiu > OpenSIPS Developerhttp://www.opensips-so