<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
Hi,<BR>
<BR>
Yes.&nbsp; I spent the afternoon playing with DNS.&nbsp; But Blink didn't appear to do an SRV lookup for MSRP at all.<BR>
<BR>
I also tried setting the MSRP relay directly in the account settings too.<BR>
<BR>
I just have a basic (non-presence) system here, but I can't see why that should prevent me from being able to start chats.<BR>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<BR>
On Tue, 2012-10-09 at 18:13 +0200, Carsten Bock wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi,

did you properly configure DNS?
For each domain served by the relay the following DNS record must be
added to the name servers authoritative for the domain:

_msrps._tcp.example.com. IN SRV 0 0 2855 msrprelay.example.com.
msrprelay.example.com. IN A 10.0.0.1

Kind regards,
Carsten


2012/10/9 Peter Dunkley &lt;<A HREF="mailto:peter.dunkley@crocodile-rcs.com">peter.dunkley@crocodile-rcs.com</A>&gt;
&gt;
&gt; Hi Daniel,
&gt;
&gt; Thanks for the fix.  I just need to find a client that supports MSRP relay now...  I've been trying to get Blink to work, but the IM button and chat menu options are staying greyed out for me.
&gt;
&gt; Peter
&gt;
&gt; On Tue, 2012-10-09 at 09:16 +0200, Daniel-Constantin Mierla wrote:
&gt;
&gt; Hello,
&gt;
&gt; can you try with latest git master branch? I pushed a fix, there was a
&gt; copy&amp;paste bug when trying to get the To-Path.
&gt;
&gt; Cheers,
&gt; Daniel
&gt;
&gt; On 10/9/12 12:53 AM, Peter Dunkley wrote:
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; I've been trying to get MSRP working with the code in git master.  I get a
&gt; &gt; segmentation fault when I send in an MSRP frame.  The frame I am using is
&gt; &gt; the example from the module README:
&gt; &gt;
&gt; &gt; MSRP 6aef SEND
&gt; &gt; To-Path: msrps://a.example.org:9000/kjfjan;tcp
&gt; &gt; msrps://b.example.net:9000/aeiug;tcp msrps://bob.example.net:8145/foo;tcp
&gt; &gt; From-Path: msrps://alice.example.org:7965/bar;tcp
&gt; &gt; Success-Report: yes
&gt; &gt; Byte-Range: 1-*/*
&gt; &gt; Message-ID: 87652
&gt; &gt; Content-Type: text/plain
&gt; &gt;
&gt; &gt; Hi Bob, I'm about to send you a photo.
&gt; &gt; -------6aef$
&gt; &gt;
&gt; &gt;
&gt; &gt; I have put this into a text file (with \r\n line endings) and am using nc
&gt; &gt; to feed it into Kamailio.  My MSRP event_route[] is also copied directly
&gt; &gt; from the module README.
&gt; &gt;
&gt; &gt; This is the back-trace from GDB:
&gt; &gt; Program terminated with signal 11, Segmentation fault.
&gt; &gt; #0  0x00007f604f6dfd00 in pv_get_msrp (msg=0x7f604f8e7700,
&gt; &gt; param=0x7f60573cb1f0, res=0x7fffed403b90) at msrp_vars.c:269
&gt; &gt; 269                                return pv_get_uintval(msg, param, res, sar-&gt;size-1);
&gt; &gt; (gdb) bt
&gt; &gt; #0  0x00007f604f6dfd00 in pv_get_msrp (msg=0x7f604f8e7700,
&gt; &gt; param=0x7f60573cb1f0, res=0x7fffed403b90) at msrp_vars.c:269
&gt; &gt; #1  0x000000000048a6ca in pv_get_spec_value (msg=0x7f604f8e7700,
&gt; &gt; sp=0x7f60573cb1d8, value=0x7fffed403b90) at pvapi.c:1233
&gt; &gt; #2  0x00000000004b7bf0 in rval_get_int (h=0x7fffed404a10, msg=&lt;value
&gt; &gt; optimized out&gt;, i=0x7fffed403e5c, rv=&lt;value optimized out&gt;, cache=&lt;value
&gt; &gt; optimized out&gt;)
&gt; &gt;      at rvalue.c:974
&gt; &gt; #3  0x00000000004bc22c in rval_expr_eval_int (h=0x7fffed404a10,
&gt; &gt; msg=0x7f604f8e7700, res=0x7fffed403e5c, rve=0x7f60573cb1c8) at
&gt; &gt; rvalue.c:1914
&gt; &gt; #4  0x00000000004bc3a9 in rval_expr_eval_int (h=0x7fffed404a10,
&gt; &gt; msg=0x7f604f8e7700, res=0x7fffed4042b8, rve=0x7f60573cbf68) at
&gt; &gt; rvalue.c:1947
&gt; &gt; #5  0x0000000000415f4c in do_action (h=0x7fffed404a10, a=0x7f60573cd6d8,
&gt; &gt; msg=0x7f604f8e7700) at action.c:1123
&gt; &gt; #6  0x000000000041c586 in run_actions (h=0x7fffed404a10, a=0x7f60573cd6d8,
&gt; &gt; msg=0x7f604f8e7700) at action.c:1646
&gt; &gt; #7  0x0000000000415fa3 in do_action (h=0x7fffed404a10, a=0x7f60573d1e88,
&gt; &gt; msg=0x7f604f8e7700) at action.c:1142
&gt; &gt; #8  0x000000000041c586 in run_actions (h=0x7fffed404a10, a=0x7f60573ba538,
&gt; &gt; msg=0x7f604f8e7700) at action.c:1646
&gt; &gt; #9  0x000000000041cbc0 in run_top_route (a=0x7f60573ba538,
&gt; &gt; msg=0x7f604f8e7700, c=&lt;value optimized out&gt;) at action.c:1731
&gt; &gt; #10 0x00007f604f6d769e in msrp_frame_received (data=&lt;value optimized out&gt;)
&gt; &gt; at msrp_mod.c:377
&gt; &gt; #11 0x0000000000512d49 in msrp_process_msg (
&gt; &gt;      tcpbuf=0x7f6050576a28 &quot;MSRP 6aef SEND\r\nTo-Path:
&gt; &gt; msrps://a.example.org:9000/kjfjan;tcp
&gt; &gt; msrps://b.example.net:9000/aeiug;tcp
&gt; &gt; msrps://bob.example.net:8145/foo;tcp\r\nFrom-Path:
&gt; &gt; msrps://alice.example.org:7965/bar;tcp\r\nSuccess-Rep&quot;..., len=330,
&gt; &gt; rcv_info=0x7f6050576758, con=0x7f6050576740) at tcp_read.c:1010
&gt; &gt; #12 0x00000000005176df in tcp_read_req (con=0x7f6050576740,
&gt; &gt; bytes_read=0x7fffed404d98, read_flags=0x7fffed404d94) at tcp_read.c:1380
&gt; &gt; #13 0x0000000000519630 in handle_io (fm=&lt;value optimized out&gt;,
&gt; &gt; events=&lt;value optimized out&gt;, idx=&lt;value optimized out&gt;) at
&gt; &gt; tcp_read.c:1552
&gt; &gt; #14 0x000000000051bae9 in io_wait_loop_epoll (unix_sock=&lt;value optimized
&gt; &gt; out&gt;) at io_wait.h:1092
&gt; &gt; #15 tcp_receive_loop (unix_sock=&lt;value optimized out&gt;) at tcp_read.c:1721
&gt; &gt; #16 0x00000000004ec0eb in tcp_init_children () at tcp_main.c:4953
&gt; &gt; #17 0x0000000000466789 in main_loop () at main.c:1722
&gt; &gt; #18 0x000000000046819c in main (argc=&lt;value optimized out&gt;, argv=&lt;value
&gt; &gt; optimized out&gt;) at main.c:2563
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt;
&gt; &gt; Peter
&gt; &gt;
&gt;
&gt;
&gt; --
&gt; Peter Dunkley
&gt; Technical Director
&gt; Crocodile RCS Ltd
&gt;
&gt;
&gt; _______________________________________________
&gt; sr-dev mailing list
&gt; <A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
&gt; <A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
&gt;



--
Carsten Bock
CEO (Gesch&#228;ftsf&#252;hrer)

ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany

<A HREF="http://www.ng-voice.com">http://www.ng-voice.com</A>
<A HREF="mailto:carsten@ng-voice.com">mailto:carsten@ng-voice.com</A>

Office +49 40 34927219
Fax +49 40 34927220

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Gesch&#228;ftsf&#252;hrer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
<A HREF="http://www.ng-voice.com/imprint/">http://www.ng-voice.com/imprint/</A>

_______________________________________________
sr-dev mailing list
<A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>