Re: [OpenSIPS-Users] opensips logging format

2017-04-19 Thread Benjamin Cropley
https://www.opensips.org/Documentation/Script-CoreVar-2-2#toc87 and https://www.opensips.org/Documentation/Script-CoreVar-2-2#toc91 should be able to help For example... xlog("L_DBG","$time(%b-%d_%H-%M-%S).$Tsm"); All the best, Ben Cropley On Wed, Apr 19, 2017 at 3:59 PM, Ramachandran, Agalya (

Re: [OpenSIPS-Users] Regarding opensips-1.11 variable use .

2016-09-14 Thread Benjamin Cropley
ting dialogs setflag(2); setflag(4); xlog( "L_NOTICE", "CallCenter_Info & $ci,$var(c) \n" ); xlog( "L_NOTICE", "3CLogicCDR & $ci,$fU,$oU,$rd \n" ); xlog("L_NOTICE", " Source IP ($si) : method (

Re: [OpenSIPS-Users] Regarding opensips-1.11 variable use .

2016-09-14 Thread Benjamin Cropley
drei Iancu wrote: > Hi, > > Ideally you should init the vars before their usage, rather than trying to > reset afterwards. It is much safer. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 14.09.2016 16:5

Re: [OpenSIPS-Users] Regarding opensips-1.11 variable use .

2016-09-14 Thread Benjamin Cropley
the value of script variables persists over any given OpenSIPS process. Therefore, to ensure the value is null on every entry to the route (if a subsequent packet is recieved on the same process) you must set the value back to Null before the route is exited. eg.. route{ if (method=="INVITE")

Re: [OpenSIPS-Users] What does mean "a=inactive"?

2016-09-07 Thread Benjamin Cropley
I would start by looking at a trace. Is it A changing the SDP attribute? or is OpenSIPS doing it? Inactive obviously means "Keep the session live, but dont send me any audio, and I won't send you any audio". I've seen that happen once, when both end points couldnt establish a codec.. due to proce

Re: [OpenSIPS-Users] Opensips switch from SQL to NoSQL

2016-07-13 Thread Benjamin Cropley
You don't have to explicitly define a schema when you insert a document into MongoDB. For example, you could create a MongoDB database, and then immediately do an insert into an insert into a collection without even creating it or a 'schema'. Maybe you should do some reading about MongoDB and NoS

Re: [OpenSIPS-Users] Opensips as proxy, config problem on INVITES

2016-06-08 Thread Benjamin Cropley
There's quite a lot of trace to go through there, but this screams that you're looping to me.. I suggest you look at the routing on the OTHER boxes, see if you can spot something that might be doing that. On Tue, May 31, 2016 at 11:07 AM, Saioa Perurena < saioa.perur...@enigmedia.es> wrote: > Hi,

Re: [OpenSIPS-Users] Regarding siptrace module .

2016-04-29 Thread Benjamin Cropley
Sasmita, Does you config LITERALLY say.. *listen=0.0.0.0:5506 AS 54.211.x.y:5506 *?? .. On Fri, Apr 29, 2016 at 3:30 PM, Sasmita Panda wrote: > Then what IP will I set there . We are running like this and there is no > problem we are facing yet . > > I cant put the pub

Re: [OpenSIPS-Users] Problem using a shared usrloc table with NAT Ping (OPTIONS) on both opensips instances

2016-04-18 Thread Benjamin Cropley
Maybe you can use the nat_keepalive function of the nat_traversal module instead of automatic keep alive checks? On Mon, Apr 18, 2016 at 11:07 AM, Max Mühlbronner wrote: > I just found this bug which turned into a feature request (from 2012) > someone else had exactly the same problem: > > htt

Re: [OpenSIPS-Users] Opensips Multi instance issue on SIP TLS

2016-04-08 Thread Benjamin Cropley
Feroze, Are any other lines of logging printed just above it? Ben On Fri, Apr 8, 2016 at 3:48 PM, feroze waris wrote: > Ben > > I have put the address of my interface > > Regards > Feroze > > On Fri, Apr 8, 2016 at 7:39 PM, Benjamin Cropley < > benjamin.crop...

Re: [OpenSIPS-Users] Opensips Multi instance issue on SIP TLS

2016-04-08 Thread Benjamin Cropley
4:08:12 localhost OPENSIPS[623]: ERROR:tm:w_t_relay: > t_forward_nonack failed > > > regards > Feroze > > On Fri, Apr 8, 2016 at 1:15 PM, Benjamin Cropley < > benjamin.crop...@gmail.com> wrote: > >> Feroze, >> >> I think you misunderstood :) >> >>

Re: [OpenSIPS-Users] Opensips SIP trunk call handling

2016-04-08 Thread Benjamin Cropley
No problem. If that's all you want to do, then just include it within a route{} block and you should be good to go. I will say, of that's all you want to do, when you 'load balance the invite to FS', FS will respond with a 100 trying - and at the minute your script will reply to FS with a 405..

Re: [OpenSIPS-Users] Opensips SIP trunk call handling

2016-04-08 Thread Benjamin Cropley
Franjos, Have you read http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration ? Versions are a little out of date, but I think it looks correct still Ben On Fri, Apr 8, 2016 at 9:27 AM, Francjos <35...@heb.be> wrote: > Thanks .Can you please give me more details on how i

Re: [OpenSIPS-Users] Opensips Multi instance issue on SIP TLS

2016-04-08 Thread Benjamin Cropley
instances . I have replaced the RURI using rewrite() function and removed > the transport parameter but the issue remains and i am getting the same > error > > > regards > Feroze > > On Thu, Apr 7, 2016 at 1:09 PM, Benjamin Cropley < > benjamin.crop...@gmail.com> wr

Re: [OpenSIPS-Users] Opensips Multi instance issue on SIP TLS

2016-04-07 Thread Benjamin Cropley
g dispatcher module but all three servers (i.e load balncer and > two opensips servers) are sharing same opensips database. > This issue is not occurring in UDP call but on TLS this error occurs. > > Regards > Feroze > > On Wed, Apr 6, 2016 at 7:34 PM, Benjamin Cropley &l

Re: [OpenSIPS-Users] Opensips Multi instance issue on SIP TLS

2016-04-06 Thread Benjamin Cropley
Feroze, Are you load balancing REGISTER *and *INVITE requests to different nodes? If so, then unless you share location information between the Registrars, then they wont all know where to route INVITEs. Ben On Wed, Apr 6, 2016 at 3:20 PM, feroze waris wrote: > Hello > > I have one load bala