[SIP Beyond VoIP] Can not add participant to Sylk Server

Onur DOLU odolu at NETAS.com.tr
Mon Oct 22 17:02:11 CEST 2012


Oct 22 20:58:54 trhtlangley35 sylk-server[28031]: [conference] Onur: Outbound proxy host is 47.168.85.116
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]: [conference] Onur: Outbound proxy port is 5060
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]: [conference] Onur: Outbound proxy transport is udp

Printed, and it seems that defaults are taken. Those are ok for our sip proxy/registrar server.

However, below exception pribted out in outbound_proxy forced case


Oct 22 20:58:54 trhtlangley35 sylk-server[28031]: [conference] Onur: entered _NH_DNSLookupDidSucceed
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]: error: Exception occured in observer <sylk.applications.conference.IncomingReferralHandler object at 0x7f0ea4074e50> while handling notification 'DNSLookupDidSucceed'
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]: Traceback (most recent call last):
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]:   File "/usr/lib/python2.7/dist-packages/application/notification.py", line 216, in post_notification
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]:     observer.handle_notification(notification)
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]:   File "/usr/lib/python2.7/dist-packages/sylk/applications/conference/__init__.py", line 331, in handle_notification
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]:     handler(notification)
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]:   File "/usr/lib/python2.7/dist-packages/sylk/applications/conference/__init__.py", line 364, in _NH_DNSLookupDidSucceed
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]:     contact_header = ContactHeader(SIPURI(user=self.room_uri.user, host=SIPConfig.local_ip.normalized, port=getattr(Engine(), '%s_port' % transport), parameters=parameters))
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]:   File "_core.helper.pxi", line 201, in sipsimple.core._core.SIPURI.__init__ (sipsimple/core/_core.c:59911)
Oct 22 20:58:54 trhtlangley35 sylk-server[28031]: TypeError: Argument 'host' has incorrect type (expected str, got IPAddress)

onur,


-----Original Message-----
From: Adrian Georgescu [mailto:ag at ag-projects.com] 
Sent: Monday, October 22, 2012 5:59 PM
To: Onur DOLU
Cc: Saúl Ibarra Corretgé; sipbeyondvoip at lists.ag-projects.com
Subject: Re: [SIP Beyond VoIP] Can not add participant to Sylk Server

proxy.test.sipthor.net:5060;transport=tcp


On Oct 22, 2012, at 4:56 PM, Onur DOLU wrote:

> Sorry asking but, what is the format of outbound proxy in config.ini
> 
> It is as below in our config file.
> 
> ;
> ; If set all outbound SIP requests will be sent through this SIP proxy
> outbound_proxy = 47.168.85.116
> ;
> 
> onur,
> 
> 
> -----Original Message-----
> From: sipbeyondvoip-bounces at lists.ag-projects.com [mailto:sipbeyondvoip-bounces at lists.ag-projects.com] On Behalf Of Onur DOLU
> Sent: Monday, October 22, 2012 5:48 PM
> To: Saúl Ibarra Corretgé
> Cc: sipbeyondvoip at lists.ag-projects.com
> Subject: Re: [SIP Beyond VoIP] Can not add participant to Sylk Server
> 
> We added log.msg('...') at the entrance of the _NH_DNSLookupDidSucceed method, but sadly it is not entering into the method, checked from /var/log/syslog.
> 
> onur,
> 
> 
> -----Original Message-----
> From: Saúl Ibarra Corretgé [mailto:saul at ag-projects.com] 
> Sent: Monday, October 22, 2012 4:45 PM
> To: Onur DOLU
> Cc: sipbeyondvoip at lists.ag-projects.com
> Subject: Re: [SIP Beyond VoIP] Can not add participant to Sylk Server
> 
> Hi,
> 
> On Oct 22, 2012, at 3:33 PM, Onur DOLU wrote:
> 
>> I see below lines that you are referring. Lines are in the _NH_DNSLookupDidSucceed method of IncomingReferralHandler class.
>> 
>> 336            return
>> 337        else:
>> 338            active_media = room.active_media
>> 339        if not active_media:
>> 340            return
>> 
> 
> Yes, log something just before those return statements.
> 
>> By the way, we have Sylk-Server 2.10 as source code and Sylk-Server 2.10 installed on Ubuntu.
>> 
> 
> I pushed an update, which will terminate the referral with a 500 in those conditions, it will be part of next SylkServer release.
> 
> 
> Regards,
> 
> --
> Saúl Ibarra Corretgé
> AG Projects
> 
> 
> 
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
> 



More information about the SIPBeyondVoIP mailing list