<div dir="ltr"><pre>Hi,<br><br><br></pre><pre>Thank you for your replay.<br><br></pre><pre>I tried to change that parameter in xmppgateway.ini config file:<br>use_msrp_for_chat = False<br><br></pre><pre>and did the test again. But the problem remains that Sylk server is trying to <br>
send a SIP message towards XMPP server (please see attached trace file and <br>excerpt from notification log).<br><br></pre><pre>To summarize the performed test:<br></pre><pre>1. XMPP Server (from XMPP user) sends XMPP message to Sylk server<br>
2. Sylk Server receives that message <br>(Please see in Notification trace log "XMPPGotChatMessage")<br>3. Sylk server forwards that message to SIP Server<br>(Please see in Notification trace log "SIPRequestDidSucceed")<br>
4. SIP server sends another message to Sylk server (as answer to previous <br>message)<br>(Please see in Notification trace log "SIPIncomingRequestGotRequest")<br>5. Sylk server tries to send SIP Message towards XMPP Server (from SIP user)<br>
(Please see in Notification trace log "SIPIncomingRequestSentResponse")<br><br>Is there any way to force Sylk Server to converts SIP into XMPP message instead<br> of forwarding SIP Message?<br><br>Thank you very much.<br>
<br><br></pre><pre>BR,<br></pre><pre>Bojan<br></pre><pre><br></pre><pre>P.S.<br>I also tried the MSRP chat and after the Sylk server established MSRP session <br>with SIP server, Sylk tries to send SIP INVITE to XMPP server (instead of XMPP <br>
stanza) in order to open that call (chat) leg too.<br><br>The strange thing is that in both scenarios, the communication from XMPP to <br>SIP world is going without problem.<br></pre><pre>--------------------------------------------------------------------------<br>
<br>On 26 Aug 2014, at 23:38, Bojan Bojan <<a href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" target="_blank">bojan.xmpp2sip at gmail.com</a>> wrote:
><i> Hi to all,
</i>><i>
</i></pre><pre><br>On 26 Aug 2014, at 23:38, Bojan Bojan <<a href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" target="_blank">bojan.xmpp2sip at gmail.com</a>> wrote:
><i> Hi to all,
</i>><i>
</i>><i>
</i>><i> I have a following problem with Sylk Server:
</i>><i> SIP messages (SIP MESSAGE) are not converted to XMPP messages. The Sylk Server just forward SIP messages to XMPP Server directly without converting them. The other way around is working fine.
</i>><i>
</i>><i>
</i>><i> Set-up:
</i>><i> I would like to use a Sylk Server as an XMPP2SIP Gateway in the following way
</i>><i> XMPP Client <-> XMPP Server <-> Sylk Server <-> SIP Server <-> SIP Client
</i>><i>
</i>><i>
</i>><i> Test case description:
</i>><i>
</i>><i> Case 1 (Xmpp2Sip_MESSAGE_OK):
</i>><i> 1. XMPP Client sends an XMPP Message to XMPP Server
</i>><i> 2. XMPP Server forwards XMPP Message to Sylk Server
</i>><i> 3. Sylk Server converts the message to SIP MESSAGE and send ist to SIP Server
</i>><i> 4. SIP Server forwards the SIP MESSAGE to SIP Client
</i>><i>
</i>><i>
</i>><i> Case 2 (Sip2Xmpp_MESSAGE_NOK):
</i>><i> 1. SIP Client sends the SIP MESSAGE to SIP Server
</i>><i> 2. SIP server forwards the SIP MESSAGE to Sylk Server
</i>><i> 3. Sylk Server DOES NOT convert the SIP to XMPP MESSAGE but forwards the SIP MESSAGE directly to XMPP Server
</i>><i>
</i>><i> * I attached the traces and logs for both cases and also the Sylk config files.
</i>><i>
</i>><i>
</i>><i> Can you please help me figure it out why do I experience this behaviour (Case 2) and what did I do wrong in my configuration?
</i>><i>
</i>><i>
</i>><i> Thank you in advance.
</i>><i>
</i>
By default SylkServer doesn’t translate SIP MESSAGE requests into XMPP stanzas, it translates MSRP chat instead. If you want to enable SIP MESSAGE support instead of MSRP chat, check the use_msrp_for_chat option in xmppgateway.ini and set it to False.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <<a href="http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20140827/20f50a72/attachment.pgp" target="_blank">http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20140827/20f50a72/attachment.pgp</a>></pre>
</div>