[SIP SIMPLE client] Sylkserver problem to start when editing config.ini file

ha do haloha201 at yahoo.com
Fri Mar 25 10:24:40 CET 2011


sorry forgot to send to mailing list
resend to sipclient at lists.ag-projects.com

--- On Fri, 3/25/11, ha do <haloha201 at yahoo.com> wrote:

> From: ha do <haloha201 at yahoo.com>
> Subject: Re: [SIP SIMPLE client] Sylkserver problem to start when editing config.ini file
> To: "Saúl Ibarra Corretgé" <saul at ag-projects.com>
> Date: Friday, March 25, 2011, 3:23 AM
> Hi Saul
> 
> > What editor did you use? Looks like a bogus char
> >was inserted.
> my OS is debian
> i use the vi to edit the config.ini
> 
> > SylkServer a REFER indicating who he wants to
> >invite, and the server will generate an outgoing
> >INVITE. We chose this mechanism because not all
> >clients out there support out of dialog REFER
> so there is no way to use if i am in PSTN line
> 
> 
> Thank you
> Ha`
> 
> 
> --- On Fri, 3/25/11, Saúl Ibarra Corretgé <saul at ag-projects.com>
> wrote:
> 
> > From: Saúl Ibarra Corretgé <saul at ag-projects.com>
> > Subject: Re: [SIP SIMPLE client] Sylkserver problem to
> start when editing config.ini file
> > To: sipclient at lists.ag-projects.com
> > Date: Friday, March 25, 2011, 2:07 AM
> > Hi,
> > 
> > On 03/25/2011 03:35 AM, ha do wrote:
> > > Hi
> > > 
> > > is there any document for sylkserver about :
> > >    -  Authentication person with PIN
> > before he can join the room
> > 
> > We don't have this yet, but it is in the roadmap.
> > 
> > >    -  when someone in room, he can make
> > call out to invite his friend to join the room
> > >    -  how to remove someone out of the
> > room
> > 
> > These operations are defined on RFC4353. A UA needs to
> send
> > SylkServer a REFER indicating who he wants to invite,
> and
> > the server will generate an outgoing INVITE. We chose
> this
> > mechanism because not all clients out there support
> out of
> > dialog REFER.
> > 
> > >    -  outbound_proxy + trusted_peers in
> > config.ini
> > > 
> > 
> > Outbound proxy is the SIP proxy where outbound INVITE
> > requests will be sent.
> > 
> > Truested peers defines a list of IP addresses or
> ranges for
> > which traffic is allowed. All other traffic will be
> > rejected. The best setup for SylkServer is for it to
> be
> > behind a proxy such as OpenSIPS, which will do
> > authentication, accounting and NAT traversal, for
> example.
> > Thus, SylkServer should not allow traffic coming from
> > anywhere but the proxy. You can do this with the
> > trusted_peers option.
> > 
> > > i just edit the config.ini and only uncomment
> the
> > line
> > >   default_application = conference
> > > 
> > > start the sylkserver and got problem below if i
> dont
> > change anything in config.ini the sylkserver start
> fine:
> > > 
> > > Mar 25 05:24:58 opensips sylk-server[3566]:
> Starting
> > SylkServer 1.1.0, config=/etc/sylkserver/config.ini
> > > Mar 25 05:24:58 opensips sylk-server[3566]:
> using
> > set_wakeup_fd
> > > Mar 25 05:24:58 opensips sylk-server[3566]:
> fatal
> > error: failed to create SylkServer: File contains
> parsing
> > errors: /etc/sylkserver/config.ini
> > > Mar 25 05:24:58 opensips sylk-server[3566]:
> fatal
> > error: #011[line  8]: ' default_application =
> > conference\n'
> > > Mar 25 05:24:58 opensips sylk-server[3566]:
> Traceback
> > (most recent call last):
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> > "/usr/bin/sylk-server", line 86, in main
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    from sylk.server import SylkServer
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> > "/usr/lib/pymodules/python2.6/sylk/server.py", line
> 24,
> > in<module>
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    from sylk.applications import
> > IncomingRequestHandler
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> >
> "/usr/lib/pymodules/python2.6/sylk/applications/__init__.py",
> > line 18, in<module>
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    from sylk.configuration import
> > ServerConfig, SIPConfig, ThorNodeConfig
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> >
> "/usr/lib/pymodules/python2.6/sylk/configuration/__init__.py",
> > line 14, in<module>
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    class ServerConfig(ConfigSection):
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> >
> "/usr/lib/pymodules/python2.6/application/configuration/__init__.py",
> > line 104, in __init__
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    cls.__read__()
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> >
> "/usr/lib/pymodules/python2.6/application/configuration/__init__.py",
> > line 217, in __read__
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    config_file = cls.__cfgtype__(cfgfile)
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> >
> "/usr/lib/pymodules/python2.6/application/configuration/__init__.py",
> > line 44, in __new__
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    instance.files =
> > instance.parser.read(files)
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> > "/usr/lib/python2.6/ConfigParser.py", line 286, in
> read
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    self._read(fp, filename)
> > > Mar 25 05:24:58 opensips
> > sylk-server[3566]:   File
> > "/usr/lib/python2.6/ConfigParser.py", line 510, in
> _read
> > > Mar 25 05:24:58 opensips sylk-server[3566]: 
> >    raise e
> > > Mar 25 05:24:58 opensips sylk-server[3566]:
> > ParsingError: File contains parsing errors:
> > /etc/sylkserver/config.ini
> > > Mar 25 05:24:58 opensips sylk-server[3566]:
> > #011[line  8]: ' default_application = conference\n'
> > > 
> > 
> > What editor did you use? Looks like a bogus char was
> > inserted.
> > 
> > 
> > Regards,
> > 
> > -- Saúl Ibarra Corretgé
> > AG Projects
> > _______________________________________________
> > SIPclient mailing list
> > SIPclient at lists.ag-projects.com
> > http://lists.ag-projects.com/mailman/listinfo/sipclient
> > 
> 
> 
> 
> 


      



More information about the SIPBeyondVoIP mailing list