[SIP Beyond VoIP] Help with sylkserver as xmppgateway

Jonathan jsandoval at ikono.com.co
Mon Jul 22 18:44:33 CEST 2013


Yep, the first thing I did was adding the contact and it didn't work.  I
tried sending messages and it didn't work either.  The client I'm using is
Jitsi, for sip and xmpp (I've started the test with the Jitsi resgistering
to the SIP and XMPP accounts, and tried it in different machines;  the logs
are the same).

My xmppgateway.ini configuration is very simple (almost everything are set
to defaults, except for "domains" and trace:_xmpp, the DNS SRV resolution
for _xmpp-server._tcp works, and it returns the correct port):

[general]

; Comma-separated list of Internet domains for which this server is

; responsible. Beside this setting, you must also add the xmpp-server
records

; into the DNS server responsable for these Internet domains, e.g.:

; _xmpp-server._tcp.example.com.  IN SRV 0 0 5269 sylkserver.example.com.

; At least one domain is required, replace the example below with your own
domain:
domains = myurl.com
; The following settings are the default used by the software, uncomment

; them only if you want to make changes


; Prefix that will be appended to all Internet domains in the above
setting,

; which will be used as a Multi User Chat (MUC) component.  Beside this

; setting, you must also add the xmpp-server DNS records into the DNS
server

; for the conference domains, e.g.:

; _xmpp-server._tcp.conference.example.com.  IN SRV 0 0 5269
sylkserver.example.com.

; muc_prefix = conference


; IP address used for listening to XMPP connections; empty string or any
means listen on interface used

; by the default route

; local_ip =


; local_port = 5269


; If set to True (default) MSRP will be used to translate XMPP Instant
Messaging, else SIP MESSAGE will be used

; Note: XMPP 'normal' messages (not chat messages) are always translated to
SIP MESSAGE requests
; use_msrp_for_chat = True


; Timeout to terminate a SIP session if no chat traffic was received

; sip_session_timeout = 600


; Enable verbose logging of XMPP stantzas

trace_xmpp = True


Thanks.




On Mon, Jul 22, 2013 at 11:31 AM, Saúl Ibarra Corretgé <saul at ag-projects.com
> wrote:

> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20130722/32774f9e/attachment-0001.html>


More information about the SIPBeyondVoIP mailing list