<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style></head><body>Hi Bogdan,<br><br>Thanks you very much for your response and time.<br><br>You are correct. I see that there are multiple registrations of the UAC as below,<br><br><span style="font-family: Courier,Courier New,mono; font-style: italic;">root@ubuntu:/home/ubuntu# opensipsctl ul show 2002</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:2292;line=2b9bd2931a28bec&gt;;q=;expires=1140;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:56482&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:4241;line=d9258f9d45e7edb&gt;;q=;expires=1378;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:56363&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@203.199.234.3:56363;line=d9258f9d45e7edb&gt;;q=;expires=1378;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:56363&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:1314;line=227a18946deeb5c&gt;;q=;expires=1744;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:7618&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@203.199.234.3:7618;line=227a18946deeb5c&gt;;q=;expires=1745;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:7618&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:1532;line=d49e0d47bf6a7e6&gt;;q=;expires=1843;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:11548&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@203.199.234.3:11548;line=d49e0d47bf6a7e6&gt;;q=;expires=1843;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:11548&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:4148;line=b5596b919092c4d&gt;;q=;expires=1943;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:28003&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@203.199.234.3:28003;line=b5596b919092c4d&gt;;q=;expires=1943;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:28003&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:1474;line=2f36ab8544e1a5d&gt;;q=;expires=2057;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:48797&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@203.199.234.3:48797;line=2f36ab8544e1a5d&gt;;q=;expires=2057;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:48797&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:4181;line=2b97093967704a6&gt;;q=;expires=2164;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:28377&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">Contact:: &lt;sip:2002@10.0.2.15:2061;line=fe5be512921db8a&gt;;q=;expires=2755;flags=0x0;cflags=0xC0;socket=&lt;udp:10.202.93.216:5060&gt;;methods=0xFFFFFFFF;received=&lt;sip:203.199.234.3:53121&gt;;user_agent=&lt;Lockfone/3.4.0 (eXosip2/unknown)&gt;</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;"></span><br><br>In my opensips.cfg file, I have the following config regarding usrloc module,<br><br><span style="font-family: Courier,Courier New,mono; font-style: italic;"># ----- usrloc params -----</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">modparam("usrloc", "db_mode",&nbsp;&nbsp; 2)</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">modparam("usrloc", "db_url",</span><br style="font-family: Courier,Courier New,mono; font-style: italic;"><span style="font-family: Courier,Courier New,mono; font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "mysql://opensips:opensipsrw@localhost/opensips")</span><br><br>Can you let me know what has to be done to resolve this issue.<br><br>Also can you please clarify,<br>1. What does the q parameter in the SDP signify?<br>2. Why does the value of line param keep changing? Is it correct to have it like that?<br><br>I am a newbie to opensips and trying to understand its working so please support me.<br><br>Thanks and regards,<br>Arjun<br><br><br>----- Original Message -----<br>From: "Bogdan-Andrei Iancu" &lt;bogdan@opensips.org&gt;<br>To: "OpenSIPS users mailling list" &lt;users@lists.opensips.org&gt;<br>Cc: "Arjun Shankar K S" &lt;arjun_ks@kalycito.com&gt;<br>Sent: Wednesday, June 20, 2012 1:38:41 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi<br>Subject: Re: [OpenSIPS-Users] Text Message Duplication<br><br>

  
    
  <link href="/zimbra/css/msgview.css?v=080321160509" rel="stylesheet">
    <tt>Hi Arjun,<br>
      <br>
      A simple explanation is that your UAC might be registered twice
      with opensips (has 2 records in usrloc) -&gt; check with
      "opensipsctl ul show".<br>
      <br>
      If so, opensips will do parallel forking (for the received
      requests) to all registered contacts.<br>
      <br>
      Regards, <br>
    </tt>
    <pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    <br>
    On 06/19/2012 01:24 PM, Arjun Shankar K S wrote:
    <blockquote cite="mid:2340363.3581340101492450.JavaMail.root@mail.vlinksys.com">
      <style>p { margin: 0; }</style>
      <style>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style>Hi
      All,<br>
      <br>
      Greeting to everyone!!!<br>
      <br>
      I have installed opensips 1.7.1 with RTP Proxy. I am facing the
      following issue, When I send a Text Message to any UAC, I receive
      2 Messages instead of one at the receiver UAC. I have tried with
      different SIP Clients but the problem persists.<br>
      <br>
      I am newbie to opensips!! Any advice is sincerely appreciated.<br>
      <br>
      Thanks,<br>
      Arjun<br>
      <pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body></html>