<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel">
    <title>gmane.comp.telephony.sofia-sip.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4524"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4523"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4522"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4521"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4520"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4519"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4518"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4517"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4516"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4515"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4514"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4513"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4512"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4511"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4510"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4509"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4508"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4507"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4506"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4505"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4524">
    <title>Port sofia sip to android and ios(ipad, ipod,iphone)</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4524</link>
    <description>&lt;pre&gt;I want to use sofia sip to write sip client with g.729 codec support! any
suggestion to keep best way in programming?! Is there anyone that has
written such as this sip client?!
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
&lt;/pre&gt;</description>
    <dc:creator>Sayyed Mohammad Emami Razavi</dc:creator>
    <dc:date>2013-06-19T15:28:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4523">
    <title>Re: sending q factor in SIP register</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4523</link>
    <description>&lt;pre&gt;Hi,

I am using 1.12.11 . Find the diff below.

diff --git a/libsofia-sip-ua/nua/nua_register.c
b/libsofia-sip-ua/nua/nua_register.c
index 4020526..c3e2942 100644
--- a/libsofia-sip-ua/nua/nua_register.c
+++ b/libsofia-sip-ua/nua/nua_register.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1857,6 +1857,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int nua_registration_set_contact(nua_handle_t *nh,
   nr-&amp;gt;nr_ip6 = !nr-&amp;gt;nr_ip4 &amp;amp;&amp;amp; host_is_ip6_reference(m-&amp;gt;m_url-&amp;gt;url_host);
   nr-&amp;gt;nr_by_stack = !application_contact;

*+  if (previous)*
*+    su_free (nh-&amp;gt;nh_home, (void *)previous-&amp;gt;m_params);*
   msg_header_free(nh-&amp;gt;nh_home, (void *)previous);

   return 0;

Regards

anees k A


On Tue, Jun 18, 2013 at 6:46 PM, Alexsander Petry &amp;lt;alexsanderpetry-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;publi&lt;/pre&gt;</description>
    <dc:creator>Anees K A</dc:creator>
    <dc:date>2013-06-19T05:28:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4522">
    <title>Re: sending q factor in SIP register</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4522</link>
    <description>&lt;pre&gt;Cool.
What version are you using? Can you do a test with the git tree (
https://www.gitorious.org/sofia-sip/sofia-sip), please?
I am commiting my patches and making a merge request in Gitorious, but the
project is half orphan.

Can I see your patch? Post the diff here, please.


2013/6/18 Anees K A &amp;lt;anees.ka-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/&amp;lt; at &amp;gt;public.gmane.org&amp;gt;



&lt;/pre&gt;</description>
    <dc:creator>Alexsander Petry</dc:creator>
    <dc:date>2013-06-18T13:16:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4521">
    <title>Re: sending q factor in SIP register</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4521</link>
    <description>&lt;pre&gt;Hi,

I have fixed the leak in the stack. How do I submit a patch?

Regards

anees k A


On Tue, Jun 18, 2013 at 11:08 AM, Anees K A
&amp;lt;anees.ka-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
&lt;/pre&gt;</description>
    <dc:creator>Anees K A</dc:creator>
    <dc:date>2013-06-18T11:05:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4520">
    <title>Re: sending q factor in SIP register</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4520</link>
    <description>&lt;pre&gt;Alexsander,

Please find the valgrind log for the following sample application.

Operation performed was 1. register a URI 2. Re-register the same URI

Regards

anees k A


On Tue, Jun 18, 2013 at 10:47 AM, Anees K A
&amp;lt;anees.ka-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
&lt;/pre&gt;</description>
    <dc:creator>Anees K A</dc:creator>
    <dc:date>2013-06-18T05:38:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4519">
    <title>Re: sending q factor in SIP register</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4519</link>
    <description>&lt;pre&gt;Dear Alexsander,

Yes, I am re-using the same nua_handle for repeated calls.

Mean time this is when the problem comes.

   1. When REGISTER goes out *Contact: &amp;lt;sip:192.168.100.38&amp;gt;;q=0.1*
   2. The 200OK for that will contain *Contact:
   &amp;lt;sip:192.168.100.38&amp;gt;;q=0.3;expires=3600*
   3. When this response comes, *msg_avlist_d()* gets called to parse the
   parameters.
   4. Inside that function, the parameters "*;q=0.3;expires=3600"* are
   parsed and saved
   5. This memory (32bytes) is never getting freed
   6. If next register goes with *q=0.3* , I can see that another 32byte is
   getting allocated.

I will post valgrind results soon.


Regards

anees k A


On Mon, Jun 17, 2013 at 8:27 PM, Alexsander Petry &amp;lt;alexsanderpetry-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel&lt;/pre&gt;</description>
    <dc:creator>Anees K A</dc:creator>
    <dc:date>2013-06-18T05:17:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4518">
    <title>Re: sending q factor in SIP register</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4518</link>
    <description>&lt;pre&gt;Are you using the same nua_handle (op-&amp;gt;op_handle) for each REGISTER?
Try to run with valgrind and post the results.


2013/6/17 Anees K A &amp;lt;anees.ka-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/&amp;lt; at &amp;gt;public.gmane.org&amp;gt;



&lt;/pre&gt;</description>
    <dc:creator>Alexsander Petry</dc:creator>
    <dc:date>2013-06-17T14:57:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4517">
    <title>Re: Plans for new release?</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4517</link>
    <description>&lt;pre&gt;Mike, you already commit this patch in FreeSWITCH?


2013/6/17 Michael Jerris &amp;lt;mike-xjkglufAEOjQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;




&lt;/pre&gt;</description>
    <dc:creator>Alexsander Petry</dc:creator>
    <dc:date>2013-06-17T14:56:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4516">
    <title>Re: Plans for new release?</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4516</link>
    <description>&lt;pre&gt;TLS also has a horrible memory leak.  I have a patch I need to commit for that.

Mike

On Jun 14, 2013, at 6:43 PM, Ronny Buchmann &amp;lt;ronny-sofiasip-jY2qDLQ513RAfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
&lt;/pre&gt;</description>
    <dc:creator>Michael Jerris</dc:creator>
    <dc:date>2013-06-17T14:26:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4515">
    <title>sending q factor in SIP register</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4515</link>
    <description>&lt;pre&gt;Hi,

I am using SIP REGISTER method to create a conference factory. For that I
am using 'q' factor parameter in REGISTER to let the server know of the
current load.

When q value changes, I am calling re-registration with new q value. I am
seeing that this second call is causing the application to allocate more
memory rather than using what is already allocated. If this operation is
let to run for 1 day, the memory usage can be seen as increasing.

The register call I use is as follows

nua_register(op-&amp;gt;op_handle,
                    NUTAG_M_FEATURES('q=1.0'),
                    TAG_NULL());

Has anyone point me what I am doing wrong ?

Regards

anees k A
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/l&lt;/pre&gt;</description>
    <dc:creator>Anees K A</dc:creator>
    <dc:date>2013-06-17T06:37:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4514">
    <title>Re: Plans for new release?</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4514</link>
    <description>&lt;pre&gt;good job getting patches back in to
been coming in lately.

git tree shortly after 1.12.11 release has fixes for using the openssl
default CA bundle, which would make it much easier to use TLS.
I don't think distributions would take a git snapshot when an official
release is available and the project is not dead.

A new release would be very welcome.

Ronny



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
&lt;/pre&gt;</description>
    <dc:creator>Ronny Buchmann</dc:creator>
    <dc:date>2013-06-14T22:43:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4513">
    <title>how to get sip password</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4513</link>
    <description>&lt;pre&gt;hi all,

Is there any way to get password in REGISTER message ?

Thanks,
 
ThanhTruong------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
&lt;/pre&gt;</description>
    <dc:creator>ThanhTruong</dc:creator>
    <dc:date>2013-06-14T07:45:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4512">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4512</link>
    <description>&lt;pre&gt;Hi Kun-Yao,

Thank you for your suggestion, I get message send to 5060 port in another registrar, the last issue is i have tried with port 5062 and it did not send to registrar with this port.

From then, I can see message back (100 Trying and then 401 ), Then, I have tried your code to handler with sip message, But not success. 

Thank you ,
 
ThanhTruong


________________________________
 From: "Huang, Kun-Yao" &amp;lt;kxhuan-BCqGbv6DZ10AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
To: "sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org" &amp;lt;sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org&amp;gt; 
Sent: Friday, June 14, 2013 6:36 AM
Subject: Re: [Sofia-sip-devel] sip register message construct
 


&amp;lt; at &amp;gt;Thanh:

Just a wild guess, could it be the register message was sent to the wrong server? While you are at it, it would be beneficial to check the logs on the registra if available.

&amp;lt; at &amp;gt;Andreas:

Thanks for the tip! I didn't know that you can use msg_params_find() and your code is much more cleaner :-)

Kun-Yao&lt;/pre&gt;</description>
    <dc:creator>ThanhTruong</dc:creator>
    <dc:date>2013-06-14T02:28:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4511">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4511</link>
    <description>&lt;pre&gt;&amp;lt; at &amp;gt;Thanh:

Just a wild guess, could it be the register message was sent to the wrong server? While you are at it, it would be beneficial to check the logs on the registra if available.

&amp;lt; at &amp;gt;Andreas:

Thanks for the tip! I didn't know that you can use msg_params_find() and your code is much more cleaner :-)

Kun-Yao


On 13/06/2013, at 6:35 PM, ThanhTruong &amp;lt;ngoc217thanh-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;lt;mailto:ngoc217thanh-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;&amp;gt;
 wrote:

hi,

When I register direct from softphone to kamailio, I see sip message via ngrep (port 5062). BUT with mod_sofia (nua_register) I only see sending message and receiving message in FS, but no sip message in ngrep capture, I think this is issue.

IN FS, it show me it send message and get back via 5062 port. So, I dont know why it is.

:(

Thanks,

ThanhTruong
________________________________
From: "Huang, Kun-Yao" &amp;lt;kxhuan-BCqGbv6DZ10AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;lt;mailto:kxhuan-BCqGbv6DZ10AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;&amp;gt;
To: "sofia-sip-devel-5&lt;/pre&gt;</description>
    <dc:creator>Huang, Kun-Yao</dc:creator>
    <dc:date>2013-06-13T23:36:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4510">
    <title>Increasing memory footprint in ARM</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4510</link>
    <description>&lt;pre&gt;Hi,

I have ported sofia-sip to ARM and is seeing that the memory footprint of
sofia is increasing constantly. The only operation that is happening is
REGISTER refresh of 1 URI.

If ran with Valgrind on x86, everything is clean - no leaks. But the memory
usage is increasing.

Any one seeing the same issue?

Regards

anees k A
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
&lt;/pre&gt;</description>
    <dc:creator>Anees K A</dc:creator>
    <dc:date>2013-06-13T11:53:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4509">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4509</link>
    <description>&lt;pre&gt;
On 06/13/2013 10:09 AM, Andreas Wehrmann wrote:

Just to be thorough: The code above should check whether sheme or realm 
is NULL;
Just in case.



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
&lt;/pre&gt;</description>
    <dc:creator>Andreas Wehrmann</dc:creator>
    <dc:date>2013-06-13T09:13:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4508">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4508</link>
    <description>&lt;pre&gt;hi,

When I register direct from softphone to kamailio, I see sip message via ngrep (port 5062). BUT with mod_sofia (nua_register) I only see sending message and receiving message in FS, but no sip message in ngrep capture, I think this is issue.

IN FS, it show me it send message and get back via 5062 port. So, I dont know why it is.

:(

Thanks,
 
ThanhTruong


________________________________
 From: "Huang, Kun-Yao" &amp;lt;kxhuan-BCqGbv6DZ10AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
To: "sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org" &amp;lt;sofia-sip-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org&amp;gt; 
Sent: Thursday, June 13, 2013 3:22 PM
Subject: Re: [Sofia-sip-devel] sip register message construct
 


If you can successful register something with the registra, I would suggest capturing the successful SIP packets and compare them with the failed ones might shed some light to the problem. 

I would guess that it is more likely a configuration issue.

Kun-Yao




On 13/06/2013, at 6:13 PM, ThanhTruong &amp;lt;n&lt;/pre&gt;</description>
    <dc:creator>ThanhTruong</dc:creator>
    <dc:date>2013-06-13T08:35:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4507">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4507</link>
    <description>&lt;pre&gt;
On 06/13/2013 09:34 AM, ThanhTruong wrote:

Hey there!

Nothing to do with the problem but I just wanted to say that you can 
simplify/strengthen
the code for building the auth string by doing it like this code:

"sip" is of type &amp;lt;sip_t const* sip&amp;gt;, which is delivered by NUA to the 
callback:

sip_www_authenticate_t const* www_auth = sip-&amp;gt;sip_www_authenticate;
char const* scheme = www_auth-&amp;gt;au_scheme;
const char* realm = msg_params_find( www_auth-&amp;gt;au_params, "realm=" );
char auth_str[ 8192 ] = { 0 };
snprintf( auth_str, 8192, "%s:%s:%s:%s",
               scheme, realm,
               "USERNAME",
               "PASSWORD" );
nua_authenticate( nh, NUTAG_AUTH( auth_str ), TAG_END() );


Hope it helps :-)


Regards,

Andreas


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
&lt;/pre&gt;</description>
    <dc:creator>Andreas Wehrmann</dc:creator>
    <dc:date>2013-06-13T08:09:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4506">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4506</link>
    <description>&lt;pre&gt;If you can successful register something with the registra, I would suggest capturing the successful SIP packets and compare them with the failed ones might shed some light to the problem.

I would guess that it is more likely a configuration issue.

Kun-Yao


On 13/06/2013, at 6:13 PM, ThanhTruong &amp;lt;ngoc217thanh-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;lt;mailto:ngoc217thanh-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;&amp;gt;
 wrote:

hi,
i can use softphone to register direct to kamailio with this port (5062).

i cant see REGISTER message send to kamailio via port 5062 when I used this function (only see REGISTER message sent in FS, and receive in FS )

And I only get response as:

send 577 bytes to udp/[192.168.1.112]:5062 at 08:12:48.666723:
   ------------------------------------------------------------------------
   REGISTER sip:192.168.1.112:5062 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.112;rport;branch=z9hG4bKUHXHvX14a1gmN
   Max-Forwards: 70
   From: &amp;lt;sip:101-Q0ErXNX1RuZZMttUnINztQ&amp;lt; at &amp;gt;public.gmane.org:5062&amp;gt;;tag=XKj7SQg&lt;/pre&gt;</description>
    <dc:creator>Huang, Kun-Yao</dc:creator>
    <dc:date>2013-06-13T08:22:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4505">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4505</link>
    <description>&lt;pre&gt;hi,
i can use softphone to register direct to kamailio with this port (5062).

i cant see REGISTER message send to kamailio via port 5062 when I used this function (only see REGISTER message sent in FS, and receive in FS )

And I only get response as:

send 577 bytes to udp/[192.168.1.112]:5062 at 08:12:48.666723:
   ------------------------------------------------------------------------
   REGISTER sip:192.168.1.112:5062 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.112;rport;branch=z9hG4bKUHXHvX14a1gmN
   Max-Forwards: 70
   From: &amp;lt;sip:101-Q0ErXNX1RuZZMttUnINztQ&amp;lt; at &amp;gt;public.gmane.org:5062&amp;gt;;tag=XKj7SQgvpZUBe
   To: &amp;lt;sip:101-Q0ErXNX1RuZZMttUnINztQ&amp;lt; at &amp;gt;public.gmane.org:5062&amp;gt;;tag=2641766a
   Call-ID: e06eb8e6-4ea3-1231-cc82-3e508d3991e2
   CSeq: 2 REGISTER
   Contact: &amp;lt;sip:101-Q0ErXNX1RuZZMttUnINztQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
   User-Agent: FreeSWITCH-mod_sofia/1.5.2b+git~20130527T075833Z~f3541e00f4
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  &lt;/pre&gt;</description>
    <dc:creator>ThanhTruong</dc:creator>
    <dc:date>2013-06-13T08:13:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4504">
    <title>Re: sip register message construct</title>
    <link>http://permalink.gmane.org/gmane.comp.telephony.sofia-sip.devel/4504</link>
    <description>&lt;pre&gt;I don't think CSeq not being 1 would be a problem.

Have you every successful registered everything against that registra?

Kun-Yao



On 13/06/2013, at 5:34 PM, ThanhTruong &amp;lt;ngoc217thanh-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;lt;mailto:ngoc217thanh-/E1597aS9LQAvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;&amp;gt;
 wrote:

hi,

I have tried your code and capture REGISTER message in FS send, but in kamailio , it does not response correct 401 message.

this is capture message send out from FS

send 589 bytes to udp/[192.168.1.112]:5062 at 07:31:19.799772:
   ------------------------------------------------------------------------
   REGISTER sip:192.168.1.112:5062 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.112;rport;branch=z9hG4bKKyBZgUXXQSmQN
   Max-Forwards: 70
   From: &amp;lt;sip:101-Q0ErXNX1RuZZMttUnINztQ&amp;lt; at &amp;gt;public.gmane.org:5062&amp;gt;;tag=NrBNSBZ58Fj9B
   To: &amp;lt;sip:101-Q0ErXNX1RuZZMttUnINztQ&amp;lt; at &amp;gt;public.gmane.org:5062&amp;gt;;tag=84790e1d
   Call-ID: 14f3c3aa-4e9e-1231-9aa0-3e508d3991e2
   CSeq: 45218275 REGISTER
   Contact: &amp;lt;sip:101-Q0ErXNX1RuZZMttUnINztQ&amp;lt; at &amp;gt;publi&lt;/pre&gt;</description>
    <dc:creator>Huang, Kun-Yao</dc:creator>
    <dc:date>2013-06-13T08:04:14</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.telephony.sofia-sip.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.telephony.sofia-sip.devel</link>
  </textinput>
</rdf:RDF>
