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

Onur DOLU odolu at NETAS.com.tr
Mon Oct 22 17:45:53 CEST 2012


I update the line

contact_header = ContactHeader(SIPURI(user=self.room_uri.user, host=SIPConfig.local_ip.normalized, port=getattr(Engine(), '%s_port' % transport), parameters=parameters))

with 

contact_header = ContactHeader(SIPURI(user=self.room_uri.user, host= self.room_uri.host, port=getattr(Engine(), '%s_port' % transport), parameters=parameters))

Then bingo, INVITE is sent to our proxy

Oct 22, 2012 6:44:51 PM : 1350920691387
SIP Message Trace : Incoming
Transaction: 6473e9b8
SIP_CB 3260391 | SIP_INVITE_Request 3004106
IPDest: UDP:47.168.85.98:5060
INVITE sip:odolu4 at nl12taf.com SIP/2.0
From: "Conference Call" <sip:meetme at nl12taf.com>;tag=fwXgCP3lor2L.MLFcDxq2nns7ag4kb75
To: <sip:odolu4 at nl12taf.com>
CSeq: 22493 INVITE
Call-ID: LF2tyGdQNn1ZsRLjQkyM8LzoP7UcdJMJ
Via: SIP/2.0/UDP 47.168.85.98:5060;rport=5060;branch=z9hG4bKPj2xfZa95HflrKfqbas3xHff47gNjHjNxy
Content-Length: 328
Content-Type: application/sdp
Contact: <sip:meetme at nl12taf.com:5060>;isfocus
User-Agent:  SylkServer-2.1.0
Max-Forwards: 70
Supported: 100rel
Supported: replaces
Supported: norefersub
Supported: gruu
Subject: Join conference request from odolu3 odolu3 <odolu3 at nl12taf.com>
Allow: SUBSCRIBE
Allow: NOTIFY
Allow: PRACK
Allow: INVITE
Allow: ACK
Allow: BYE
Allow: CANCEL
Allow: UPDATE
Allow: MESSAGE
Allow: REFER
Referred-By: <sip:odolu3 at nl12taf.com> ; CorrelationID="37ed5298a385d0ba13d65cca4444dc7ce3793a52 at 47.168.85.116"
X-Originator-From:  sip:odolu3 at nl12taf.com

v=0
o=- 3559920281 3559920281 IN IP4 nl12taf.com
s=SylkServer-2.1.0
c=IN IP4 nl12taf.com
t=0 0
m=message 41325 TCP/MSRP *
a=path:msrp://47.168.85.98:41325/815b39bb0939a1c2ee58;tcp
a=accept-types:message/cpim
a=accept-wrapped-types:*
a=setup:actpass
a=chatroom:nickname private-messages com.ag-projects.screen-sharing

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 6:35 PM
To: Juha Heinanen
Cc: sipbeyondvoip at lists.ag-projects.com
Subject: Re: [SIP Beyond VoIP] Can not add participant to Sylk Server

Oct 22 21:28:10 trhtlangley35 sylk-server[28232]:     contact_header = ContactHeader(SIPURI(user=self.room_uri.user, host=SIPConfig.local_ip.normalized, port=getattr(Engine(), '%s_port' % transport), parameters=parameters))
Oct 22 21:28:10 trhtlangley35 sylk-server[28232]:   File "_core.helper.pxi", line 201, in sipsimple.core._core.SIPURI.__init__ (sipsimple/core/_core.c:59911)
Oct 22 21:28:10 trhtlangley35 sylk-server[28232]: TypeError: Argument 'host' has incorrect type (expected str, got IPAddress)

It cannot instantiate contact_header, SIPConfig.local_ip.normalized returns ip address but it is expecting a string.

onur,


-----Original Message-----
From: Juha Heinanen [mailto:jh at tutpro.com] 
Sent: Monday, October 22, 2012 6:01 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

Onur  DOLU writes:

> Sorry asking but, what is the format of outbound proxy in config.ini

it can also contain port, e.g.

outbound_proxy = 127.0.0.1:5080

i don't know if 5060 is assumed if you omit port.

-- juha
_______________________________________________
SIPBeyondVoIP mailing list
SIPBeyondVoIP at lists.ag-projects.com
http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip


More information about the SIPBeyondVoIP mailing list