[Serusers] HELP NEEDED

Waqar Sheikh waqar at gigo.co.uk
Sat Apr 1 01:34:37 CEST 2006


Hi,
 
I have managed to resolve the mediaproxy problem as it was running on a
different IP no on a same machine and after the reboot the IP no was not
allocated automatically so I had to assign an IP no to eth0 and that got
rid of mediaproxy error. But I am still not able run SER it is still
complaining about this:
 
0(2906) parse error (82,2-3): syntax error
 0(2906) parse error (82,2-3): bad command
 0(2906) parse error (82,4-8):
ERROR: bad config file (3 errors)

 
if (method=="INVITE" && client_nat_test("3")) {
        } else if (method!="REGISTER") {
                record_route();
        };


I have tried what Atle said by not having an open if but it then
complains about "record_route" line.
 
Regards
   
 
 



-- 
(Connecting You To The World) 

Waqar Sheikh, MD 
GIGO Systems Ltd 

Baylis House, Stoke Poges Lane 
Slough, Berkshire, SL1 3PB 

V: 040606 at sip.ipclouds.co.uk ( call me free !!) 
T: +44 (0) 845 004 0606 
F: +44 (0) 870 7474784 
W: http://www.gigo.co.uk <http://www.gigo.co.uk/>  

SMS waqar to 82280 for my E-Contact Details 

-----Original Message-----
From: sip [mailto:sip at arcdiv.com] 
Sent: 01 April 2006 00:23
To: Waqar Sheikh; serusers at lists.iptel.org
Cc: serusers-bounces at lists.iptel.org
Subject: RE: [Serusers] HELP NEEDED


You are running this as root, right?  Just to make sure we narrow things
down. 

Looks like mediaproxy's having issues...  having never used it, I
couldn't really tell you what could cause that or why, I'm afraid. 

N. 


On Fri, 31 Mar 2006 21:31:39 +0100, Waqar Sheikh wrote 
> Hi, 
>   
> I have looked  in /var/log/messages file and this is what I have
found: 
>   
> 
> Mar 31 18:06:10 sip-voip mediaproxy[2627]: mediaproxy started. 
> Mar 31 18:06:10 sip-voip mediaproxy[2627]: Listening for commands on
local socket `/var/run/mediaproxy.sock' 
> Mar 31 18:06:10 sip-voip mediaproxy[2627]: Mediaproxy error: couldn't
create command socket (Cannot assign requested address). 
> Mar 31 18:06:10 sip-voip mediaproxy[2627]: exiting. 
> 
> 
> 
>   
>   
> 
> -- 
> (Connecting You To The World) 
> Waqar Sheikh, MD 
> GIGO Systems Ltd 
> Baylis House, Stoke Poges Lane 
> Slough, Berkshire, SL1 3PB 
> V: 040606 at sip.ipclouds.co.uk ( call me free !!) 
> T: +44 (0) 845 004 0606 
> F: +44 (0) 870 7474784 
> W: http://www.gigo.co.uk <http://www.gigo.co.uk/>  
> SMS waqar to 82280 for my E-Contact Details 


> 
> -----Original Message----- 
> From: sip [mailto:sip at arcdiv.com] 
> Sent: 31 March 2006 21:03 
> To: Waqar Sheikh; serusers at lists.iptel.org 
> Cc: serusers-bounces at lists.iptel.org 
> Subject: RE: [Serusers] HELP NEEDED 
> 
> The problem is likely with the client_nat_test("3") command.   That's
part of the mediaproxy module.  Check at the top of the file and see if
the mediaproxy.so module is being loaded. If so, check the system
messages log and see if there are errors on startup that indicate the
module may be failing to load for some reason. 
> 
> N. 
> 
> 
> On Fri, 31 Mar 2006 20:35:51 +0100, Waqar Sheikh wrote 
> > Here are the lines. 
> >   
> > 
> > if (method=="INVITE" && client_nat_test("3")) { 
> >         } else if (method!="REGISTER") { 
> >                 record_route(); 
> >         }; 
> > 
> > Regards 
> >   
> >   
> > 
> > -- 
> > (Connecting You To The World) 
> > Waqar Sheikh, MD 
> > GIGO Systems Ltd 
> > Baylis House, Stoke Poges Lane 
> > Slough, Berkshire, SL1 3PB 
> > V: 040606 at sip.ipclouds.co.uk ( call me free !!) 
> > T: +44 (0) 845 004 0606 
> > F: +44 (0) 870 7474784 
> > W: http://www.gigo.co.uk <http://www.gigo.co.uk/>  
> > SMS waqar to 82280 for my E-Contact Details 


> > 
> > -----Original Message----- 
> > From: sip [mailto:sip at arcdiv.com] 
> > Sent: 31 March 2006 20:27 
> > To: Info; serusers at lists.iptel.org 
> > Cc: serusers-bounces at lists.iptel.org 
> > Subject: Re: [Serusers] HELP NEEDED 
> > 
> > That would indeed be line 81 and 82 of the
ser_091105-noenum-full.cfg file. 
> > 
> > What are the lines? 
> > 
> > N. 
> > 
> > 
> > On Fri, 31 Mar 2006 20:02:43 +0100, Info wrote 
> > > Hi, 
> > >   
> > > I am new to SER as our company previous administrator who looked
after our SIP server has left the company and left no documentation. 
> > >   
> > > Our server got restarted du to power failure and it is unable to
start ser. This is what I am doing to start SER and I am getting
following error. 
> > >   
> > > /usr/local/sbin/ser -f
/usr/local/etc/ser/ser_091105-noenum-full.cfg 
> > >   
> > > and this is what I am getting in /var/log/messages file: 
> > >   
> > >  0(2772) parse error (81,38-39): unknown command, missing
loadmodule? 
> > >   
> > >  0(2772) parse error (82,2-3): syntax error 
> > >  0(2772) parse error (82,2-3): bad command 
> > >  0(2772) parse error (82,4-8): 
> > > ERROR: bad config file (4 errors) 
> > > 
> > >   
> > > What I am trying to find out what is (81,38-39)? 
> > >   
> > > is it line 81 column 38-39 or else also how can I fix this
problem. 
> > >   
> > > Please help me so I could get our phone system working again. 
> > >   
> > > Regards 
> > > 
> > > -- 
> > > ( Connecting You To The World ) 
> > >   
> > > SMS gigo to 82280 for our Contact Details 
> > > 
> > 
> > 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060401/44ea6f04/attachment.htm>


More information about the sr-users mailing list