[SIP Beyond VoIP] Help with sylkserver as xmppgateway

Saúl Ibarra Corretgé saul at ag-projects.com
Mon Jul 22 18:31:16 CEST 2013


The logs show that the server-to-server connection was completed successfully, did you send any chat messages from the jabber client?

Also, please post your xmppgateway.ini configuration file.


On Jul 22, 2013, at 5:46 PM, Jonathan wrote:

> That's the only thing changed.  Insted of myurl.com, there goes the real domain.  From jabber.at, it tries to send a message to one of the users through SylkServer.  Right now, I think that knowking the real url is not important.  The logs in xmpp_trace.txt are these:
> 
> 2013-07-22T10:42:13.684522-05:00 [sylk-server 39266]: RECEIVED: Packet 101, +0:47:23.509835
> <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' from='jabber.at' to='myurl.com' version='1.0'>
> --
> 2013-07-22T10:42:13.684866-05:00 [sylk-server 39266]: SENDING: Packet 102, +0:47:23.510179
> <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' version='1.0' from='myurl.com' id='000fd6cd55241f4b'>
> --
> 2013-07-22T10:42:13.685002-05:00 [sylk-server 39266]: SENDING: Packet 103, +0:47:23.510315
> <stream:features/>
> --
> 2013-07-22T10:42:13.882107-05:00 [sylk-server 39266]: RECEIVED: Packet 104, +0:47:23.707420
> <db:result from='jabber.at' to='myurl.com'>1574262569</db:result>
> --
> 2013-07-22T10:42:14.212289-05:00 [sylk-server 39266]: SENDING: Packet 105, +0:47:24.037602
> <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' to='jabber.at' version='1.0' from='myurl.com'>
> --
> 2013-07-22T10:42:14.410100-05:00 [sylk-server 39266]: RECEIVED: Packet 106, +0:47:24.235413
> <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' id='2462137042' version='1.0'>
> --
> 2013-07-22T10:42:14.410586-05:00 [sylk-server 39266]: RECEIVED: Packet 107, +0:47:24.235899
> <stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='P0WUdKPvH9mhE18OCCdv0SmoqHY='/></stream:features>
> --
> 2013-07-22T10:42:14.410833-05:00 [sylk-server 39266]: SENDING: Packet 108, +0:47:24.236146
> <db:verify to='jabber.at' from='myurl.com' id='000fd6cd55241f4b'>1574262569</db:verify>
> --
> 2013-07-22T10:42:14.605509-05:00 [sylk-server 39266]: RECEIVED: Packet 109, +0:47:24.430822
> <db:verify from='jabber.at' to='myurl.com' id='000fd6cd55241f4b' type='valid'/>
> --
> 2013-07-22T10:42:14.605740-05:00 [sylk-server 39266]: SENDING: Packet 110, +0:47:24.431053
> <db:result to='jabber.at' from='myurl.com' type='valid'/>
> --
> 
> 
> 
> On Mon, Jul 22, 2013 at 10:32 AM, Adrian Georgescu <ag at ag-projects.com> wrote:
> Well, unless you paste your configuration and real logs I cannot speculate what may be wrong with your installation. Whatever you obfuscate because you consider irrelevant may very well point to the cause.  
> 
> Adrian
> 
> On Jul 22, 2013, at 5:25 PM, Jonathan <jsandoval at ikono.com.co> wrote:
> 
>> Hi Adrian.
>> I changed the url of the testing site to "myurl.com", just to send it to this list :).  The DNS of the real domain are correctly configured to resolve to the SIP and XMPP ports.
>> 
>> Jonathan
>> 
>> 
>> On Mon, Jul 22, 2013 at 10:22 AM, Adrian Georgescu <ag at ag-projects.com> wrote:
>> What is myurl?
>> 
>> Adrian
>> 
>> On Jul 22, 2013, at 5:04 PM, Jonathan <jsandoval at ikono.com.co> wrote:
>> 
>>> Hi everyone.
>>> I'm trying to configure Sylkserver to serve as a gateway between my local SIP Network (Kamailio) and external XMPP Networks (I'm testing with jabber.at, but I expect it to work with gtalk, and others too).
>>> 
>>> I'm running sylkserver with the --no-fork option to test, and I see the next output whenever I add, from my xmpp account, a local SIP account:
>>> 
>>> Starting factory <sylk.applications.xmppgateway.xmpp.server.DeferredS2SClientFactory object at 0x2f3c890>
>>> DNSDatagramProtocol starting on 10666
>>> Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x2f3c750>
>>> (UDP Port 10666 Closed)
>>> Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x2f3c750>
>>> Incoming connection 3 from u'jabber.at' to u'myurl.' established
>>> Stopping factory <sylk.applications.xmppgateway.xmpp.server.DeferredS2SClientFactory object at 0x2f3c890>
>>> Incoming connection 3 from u'jabber.at' to u'myurl.com' disconnected
>>> 
>>> I have set the outbound_proxy to the local kamailio machine, and I have the default_application as xmppgateway.  I'm not sure what do I have to do to get it work.
>>> 
>>> Thanks for any help.
>>> _______________________________________________
>>> 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

--
Saúl Ibarra Corretgé
AG Projects





More information about the SIPBeyondVoIP mailing list