Re: [OpenSIPS-Users] Connection IP in SDP is messed up after RTPPRoxy Offer

2016-02-26 Thread Ali Pey
Hello Aqs,

Yes, that was my problem. I didn't need fix_nated_sdp.

Thanks,
Ali


On Fri, Feb 26, 2016 at 4:23 PM, Aqs Younas  wrote:

> Calling fix_nated_sdp() and rtpproxy_offer() after one another does not
> make sense since both do same things in some cases. Make sure you have just
> one in route.
> On 27-Feb-2016 1:39 am, "Alex Balashov"  wrote:
>
>> Ali,
>>
>> Is there any danger that you are calling rtpproxy_offer() twice, or using
>> rtpproxy_offer() in combination with fix_nated_sdp()[1]?
>>
>> -- Alex
>>
>> [1]
>> http://www.opensips.org/html/docs/modules/2.1.x/nathelper.html#id293899
>> 
>>
>> --
>> Alex Balashov | Principal | Evariste Systems LLC
>> 303 Perimeter Center North, Suite 300
>> Atlanta, GA 30346
>> United States
>>
>> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
>> Web:
>> 
>> http://www.evaristesys.com/
>> ,
>>
>> 
>> http://www.csrpswitch.com/
>> 
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> 
>>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Connection IP in SDP is messed up after RTPPRoxy Offer

2016-02-26 Thread Ali Pey
Hello Alex,

Good to hear from you.

Yes, I did have  fix_nated sdp and that was causing conflict. Copy and
paste issues:)

Thanks,
Ali


On Fri, Feb 26, 2016 at 3:39 PM, Alex Balashov 
wrote:

> Ali,
>
> Is there any danger that you are calling rtpproxy_offer() twice, or using
> rtpproxy_offer() in combination with fix_nated_sdp()[1]?
>
> -- Alex
>
> [1]
> http://www.opensips.org/html/docs/modules/2.1.x/nathelper.html#id293899
> 
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 303 Perimeter Center North, Suite 300
> Atlanta, GA 30346
> United States
>
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web:
> 
> http://www.evaristesys.com/
> ,
>
> 
> http://www.csrpswitch.com/
> 
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Connection IP in SDP is messed up after RTPPRoxy Offer

2016-02-26 Thread Aqs Younas
Calling fix_nated_sdp() and rtpproxy_offer() after one another does not
make sense since both do same things in some cases. Make sure you have just
one in route.
On 27-Feb-2016 1:39 am, "Alex Balashov"  wrote:

> Ali,
>
> Is there any danger that you are calling rtpproxy_offer() twice, or using
> rtpproxy_offer() in combination with fix_nated_sdp()[1]?
>
> -- Alex
>
> [1]
> http://www.opensips.org/html/docs/modules/2.1.x/nathelper.html#id293899
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 303 Perimeter Center North, Suite 300
> Atlanta, GA 30346
> United States
>
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Connection IP in SDP is messed up after RTPPRoxy Offer

2016-02-26 Thread Alex Balashov

Ali,

Is there any danger that you are calling rtpproxy_offer() twice, or 
using rtpproxy_offer() in combination with fix_nated_sdp()[1]?


-- Alex

[1] http://www.opensips.org/html/docs/modules/2.1.x/nathelper.html#id293899

--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Connection IP in SDP is messed up after RTPPRoxy Offer

2016-02-26 Thread Salman
Hi,

This generally happens when rtpproxy function is called twice. So are you
sure such calls have a scenario different than others?
On 27 Feb 2016 1:31 am, "Ali Pey"  wrote:

> Hello,
>
> Sometime with certain clients the connection IP in the SDP in the Invite
> message get's messed up (corrupted) after rtpproxy_offer:
>
> Incoming Invite from public interface:
> c=IN IP4 xx.xx.xx.xx
>
> Outgoing Invite from opensips after rtpproxy_offer is:
> c=IN IP4 xx.xx.xx.xxyy.yy.yy.yy
>
> Basically instead of replacing the external IP, it adds the internal IP to
> the end of connection line in the SDP. I'm using opensips version 1.11.5.
> It works with most clients but this happens time to time.
>
>
> Has anyone experienced this problem? How can I fix it?
>
>
> Regards,
> Ali Pey
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Connection IP in SDP is messed up after RTPPRoxy Offer

2016-02-26 Thread Ali Pey
Hello,

Sometime with certain clients the connection IP in the SDP in the Invite
message get's messed up (corrupted) after rtpproxy_offer:

Incoming Invite from public interface:
c=IN IP4 xx.xx.xx.xx

Outgoing Invite from opensips after rtpproxy_offer is:
c=IN IP4 xx.xx.xx.xxyy.yy.yy.yy

Basically instead of replacing the external IP, it adds the internal IP to
the end of connection line in the SDP. I'm using opensips version 1.11.5.
It works with most clients but this happens time to time.


Has anyone experienced this problem? How can I fix it?


Regards,
Ali Pey
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] first async(rest_post) timeout fail

2016-02-26 Thread Liviu Chircu

If libcurl tells us we have to wait 3 seconds... we must oblige :)

Also, that useful extra logging is going to make it into all future 
OpenSIPS versions from now on!


Glad everything is working well,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 26.02.2016 18:42, Koce wrote:
Hello Liviu thank you for your time,you are correct I increased the 
timeout to 5 sec and once the connections were established everything 
was working as it should.

I feel foolish for this but I think i learned something.

Anyway here is the opensips.log with the extra logging just in case

Feb 26 13:52:25  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): 
retry_time is 0ms
Feb 26 13:52:25  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): 
retry_time is 2999ms
Feb 26 13:52:28  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout() returned 
-1, pausing 500ms...
Feb 26 13:52:29  /sbin/opensips[2114]: 
ERROR:rest_client:start_async_http_req: timeout while connecting to 
'http://192.168.100.1:2080/jsonrpc' (3 sec)
Feb 26 13:52:29  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): 
retry_time is 1ms
Feb 26 13:52:29  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): 
retry_time is 2994ms
Feb 26 13:52:29  /sbin/opensips[2114]: RETURNED NOT NULL #xlog line 
for async_request
Feb 26 13:52:29  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): 
retry_time is 1ms



Hello koce!

Most likely, the issue is due to your restricting "connection_timeout =
1" module parameter. To quote from libcurl's documentation [1]: /"You
must not wait too long (more than a few seconds perhaps)". /This is why
I chose that 500 ms pause time upon running into that error condition,
which is basically 50% of your allowed blocking time already!

To better understand how much libcurl expects you to wait, you can apply
an extra logging patch:

/git apply <(wget -qO -
http://opensips.org/patches/rest_client_connect_timeout_logging.patch)

/Please re-compile your rest_client and re-run the test, and we'll draw
final conclusions afterwards!

[1]: https://curl.haxx.se/libcurl/c/curl_multi_timeout.html

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 23.02.2016 15:46, k...@mentalchallenge.tk wrote:

Hello I'm using OpenSIPS 2.1 latest from git and every time I call the
first async(rest_post) function from my script I experience
timeout,and the other calls to async(rest_post) after that point in
the script are OK, as if the first call is like a ping to the http
server it does not send any data to it,it only completes the TCP
handshake.
  But if I put a dummy rest_post() function in front of the first
async(rest_post) it will send the data that is assigned to it and
after that the first async(rest_post) call and the rest that follow
will execute as planned.
To test if there is something wrong with the server that I'm
connecting to I tried another server that had nothing to do with the
original just to see if I get the same result and YES the
async(rest_post) to that server failed but the other async(rest_post)
who are interacting with the original server executed without a hitch.
Also I think it's related to this
https://github.com/OpenSIPS/opensips/issues/493 which is closed.
Could this be a possible bug,or am I missing something obvious ?
Also I installed curl 7.47.1 just to make sure it wasn't libcurl in
question and the same scenario happened again.
the errors that I got in opensips.log

Feb 23 10:49:43 /sbin/opensips[25985]:
INFO:rest_client:start_async_http_req: curl_multi_timeout() returned
-1, pausing 500ms...
Feb 23 10:49:44 /sbin/opensips[25985]:
ERROR:rest_client:start_async_http_req: timeout while connecting to
'http://192.168.100.3:2080/jsonrpc' (1 sec)

Feb 23 12:28:08 /sbin/opensips[26219]:
INFO:rest_client:start_async_http_req: curl_multi_timeout() returned
-1, pausing 500ms...
Feb 23 12:28:08 /sbin/opensips[26219]:
ERROR:rest_client:start_async_http_req: timeout while connecting to
'http://192.168.100.2:80/jsonrpc' (1 sec)

NOTE: the IP's are substituted from the real ones which are public.
I'm attaching 2 flows from wireshark.


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] first async(rest_post) timeout fail

2016-02-26 Thread Koce
Hello Liviu thank you for your time,you are correct I increased the 
timeout to 5 sec and once the connections were established everything 
was working as it should.

I feel foolish for this but I think i learned something.

Anyway here is the opensips.log with the extra logging just in case

Feb 26 13:52:25  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): retry_time 
is 0ms
Feb 26 13:52:25  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): retry_time 
is 2999ms
Feb 26 13:52:28  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout() returned -1, 
pausing 500ms...
Feb 26 13:52:29  /sbin/opensips[2114]: 
ERROR:rest_client:start_async_http_req: timeout while connecting to 
'http://192.168.100.1:2080/jsonrpc' (3 sec)
Feb 26 13:52:29  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): retry_time 
is 1ms
Feb 26 13:52:29  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): retry_time 
is 2994ms
Feb 26 13:52:29  /sbin/opensips[2114]: RETURNED NOT NULL #xlog line for 
async_request
Feb 26 13:52:29  /sbin/opensips[2114]: 
INFO:rest_client:start_async_http_req: curl_multi_timeout(): retry_time 
is 1ms



Hello koce!

Most likely, the issue is due to your restricting "connection_timeout =
1" module parameter. To quote from libcurl's documentation [1]: /"You
must not wait too long (more than a few seconds perhaps)". /This is why
I chose that 500 ms pause time upon running into that error condition,
which is basically 50% of your allowed blocking time already!

To better understand how much libcurl expects you to wait, you can apply
an extra logging patch:

/git apply <(wget -qO -
http://opensips.org/patches/rest_client_connect_timeout_logging.patch)

/Please re-compile your rest_client and re-run the test, and we'll draw
final conclusions afterwards!

[1]: https://curl.haxx.se/libcurl/c/curl_multi_timeout.html

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 23.02.2016 15:46, k...@mentalchallenge.tk wrote:

Hello I'm using OpenSIPS 2.1 latest from git and every time I call the
first async(rest_post) function from my script I experience
timeout,and the other calls to async(rest_post) after that point in
the script are OK, as if the first call is like a ping to the http
server it does not send any data to it,it only completes the TCP
handshake.
  But if I put a dummy rest_post() function in front of the first
async(rest_post) it will send the data that is assigned to it and
after that the first async(rest_post) call and the rest that follow
will execute as planned.
To test if there is something wrong with the server that I'm
connecting to I tried another server that had nothing to do with the
original just to see if I get the same result and YES the
async(rest_post) to that server failed but the other async(rest_post)
who are interacting with the original server executed without a hitch.
Also I think it's related to this
https://github.com/OpenSIPS/opensips/issues/493 which is closed.
Could this be a possible bug,or am I missing something obvious ?
Also I installed curl 7.47.1 just to make sure it wasn't libcurl in
question and the same scenario happened again.
the errors that I got in opensips.log

Feb 23 10:49:43 /sbin/opensips[25985]:
INFO:rest_client:start_async_http_req: curl_multi_timeout() returned
-1, pausing 500ms...
Feb 23 10:49:44 /sbin/opensips[25985]:
ERROR:rest_client:start_async_http_req: timeout while connecting to
'http://192.168.100.3:2080/jsonrpc' (1 sec)

Feb 23 12:28:08 /sbin/opensips[26219]:
INFO:rest_client:start_async_http_req: curl_multi_timeout() returned
-1, pausing 500ms...
Feb 23 12:28:08 /sbin/opensips[26219]:
ERROR:rest_client:start_async_http_req: timeout while connecting to
'http://192.168.100.2:80/jsonrpc' (1 sec)

NOTE: the IP's are substituted from the real ones which are public.
I'm attaching 2 flows from wireshark.


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Solaris Sparc Compile Error

2016-02-26 Thread Răzvan Crainea

Can you please run:

make proper; NICER=0 make -j1

And paste the output on pastebin?

Thanks,
Răzvan

On 02/26/2016 12:24 PM, Nathaniel L. Keeling III wrote:

Razvan,

I pulled the latest branch which got me pass the earlier error but 
then ran into another. Here is the link in pastebin:


http://pastebin.com/pJ3gVvzA

Thanks

Nathaniel

On 2/26/16 3:57 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

I've just pushed a fix on master and 2.1 branch. Could you please 
check again with the latest 2.1 git version?


Best regards,
Răzvan

On 02/26/2016 11:12 AM, Nathaniel L. Keeling III wrote:

Razvan,

Here is the pastebin link:

http://pastebin.com/ZZCr1gay

Thanks

Nathaniel

On 2/26/16 2:44 AM, Răzvan Crainea wrote:

Console output from compile.

Thanks,
Răzvan

On 02/26/2016 10:32 AM, Nathaniel L. Keeling III wrote:

Razvan,

Sorry for my ignorance, but where is the build logs located or are 
you just talking about the console output from the compile?


Thanks

Nathaniel

On 2/26/16 2:05 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

All the logs you posted are warnings, not errors. Can you paste 
the entire build logs on pastebin?


Thanks,
Răzvan

On 02/26/2016 08:09 AM, Nathaniel L. Keeling III wrote:

Hello,

I am getting this compile error when compiling Opensips 2.1.2 on 
Solaris Sparc 10 64bit.


net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required 
alignment of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required 
alignment of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
 get_su_info( servaddr, ip, port);
 ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Solaris Sparc Compile Error

2016-02-26 Thread Nathaniel L. Keeling III

Razvan,

I pulled the latest branch which got me pass the earlier error but then 
ran into another. Here is the link in pastebin:


http://pastebin.com/pJ3gVvzA

Thanks

Nathaniel

On 2/26/16 3:57 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

I've just pushed a fix on master and 2.1 branch. Could you please 
check again with the latest 2.1 git version?


Best regards,
Răzvan

On 02/26/2016 11:12 AM, Nathaniel L. Keeling III wrote:

Razvan,

Here is the pastebin link:

http://pastebin.com/ZZCr1gay

Thanks

Nathaniel

On 2/26/16 2:44 AM, Răzvan Crainea wrote:

Console output from compile.

Thanks,
Răzvan

On 02/26/2016 10:32 AM, Nathaniel L. Keeling III wrote:

Razvan,

Sorry for my ignorance, but where is the build logs located or are 
you just talking about the console output from the compile?


Thanks

Nathaniel

On 2/26/16 2:05 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

All the logs you posted are warnings, not errors. Can you paste 
the entire build logs on pastebin?


Thanks,
Răzvan

On 02/26/2016 08:09 AM, Nathaniel L. Keeling III wrote:

Hello,

I am getting this compile error when compiling Opensips 2.1.2 on 
Solaris Sparc 10 64bit.


net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required 
alignment of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required 
alignment of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
 get_su_info( servaddr, ip, port);
 ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Solaris Sparc Compile Error

2016-02-26 Thread Răzvan Crainea

Hi, Nathaniel!

I've just pushed a fix on master and 2.1 branch. Could you please check 
again with the latest 2.1 git version?


Best regards,
Răzvan

On 02/26/2016 11:12 AM, Nathaniel L. Keeling III wrote:

Razvan,

Here is the pastebin link:

http://pastebin.com/ZZCr1gay

Thanks

Nathaniel

On 2/26/16 2:44 AM, Răzvan Crainea wrote:

Console output from compile.

Thanks,
Răzvan

On 02/26/2016 10:32 AM, Nathaniel L. Keeling III wrote:

Razvan,

Sorry for my ignorance, but where is the build logs located or are 
you just talking about the console output from the compile?


Thanks

Nathaniel

On 2/26/16 2:05 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

All the logs you posted are warnings, not errors. Can you paste the 
entire build logs on pastebin?


Thanks,
Răzvan

On 02/26/2016 08:09 AM, Nathaniel L. Keeling III wrote:

Hello,

I am getting this compile error when compiling Opensips 2.1.2 on 
Solaris Sparc 10 64bit.


net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required 
alignment of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required 
alignment of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
 get_su_info( servaddr, ip, port);
 ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips installing

2016-02-26 Thread Francjos
After taking the software from the repository using the commandes that
follow:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5F2FBB7C
echo "deb http://apt.opensips.org trusty 2.1-releases"
>>/etc/apt/sources.list

I've just installed the packages and i woul like to ask how i can install
the software itsel and in which fine i can perform the installation

Thanks

NDUWAYEZU Joselyne

-- 
Haute École de Bruxelles




--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-installing-tp7601722.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Installing openSIPS

2016-02-26 Thread Francjos
Hi,
Sorry for my english.I'm instaling opensips, i've used the following
commands to copy the software from the repository:
"apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5F2FBB7C
echo "deb http://apt.opensips.org trusty 2.1-releases"
>>/etc/apt/sources.list "

I've just installed the packages and i would like to ask what i'm gonna do
know in order to install the software itself and in which file i can prform
the installation.

Thakns



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Installing-openSIPS-tp7601719.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Solaris Sparc Compile Error

2016-02-26 Thread Nathaniel L. Keeling III

Razvan,

Here is the pastebin link:

http://pastebin.com/ZZCr1gay

Thanks

Nathaniel

On 2/26/16 2:44 AM, Răzvan Crainea wrote:

Console output from compile.

Thanks,
Răzvan

On 02/26/2016 10:32 AM, Nathaniel L. Keeling III wrote:

Razvan,

Sorry for my ignorance, but where is the build logs located or are 
you just talking about the console output from the compile?


Thanks

Nathaniel

On 2/26/16 2:05 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

All the logs you posted are warnings, not errors. Can you paste the 
entire build logs on pastebin?


Thanks,
Răzvan

On 02/26/2016 08:09 AM, Nathaniel L. Keeling III wrote:

Hello,

I am getting this compile error when compiling Opensips 2.1.2 on 
Solaris Sparc 10 64bit.


net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment 
of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment 
of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
 get_su_info( servaddr, ip, port);
 ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Solaris Sparc Compile Error

2016-02-26 Thread Răzvan Crainea

Console output from compile.

Thanks,
Răzvan

On 02/26/2016 10:32 AM, Nathaniel L. Keeling III wrote:

Razvan,

Sorry for my ignorance, but where is the build logs located or are you 
just talking about the console output from the compile?


Thanks

Nathaniel

On 2/26/16 2:05 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

All the logs you posted are warnings, not errors. Can you paste the 
entire build logs on pastebin?


Thanks,
Răzvan

On 02/26/2016 08:09 AM, Nathaniel L. Keeling III wrote:

Hello,

I am getting this compile error when compiling Opensips 2.1.2 on 
Solaris Sparc 10 64bit.


net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment 
of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment 
of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
 get_su_info( servaddr, ip, port);
 ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Solaris Sparc Compile Error

2016-02-26 Thread Nathaniel L. Keeling III

Razvan,

Sorry for my ignorance, but where is the build logs located or are you 
just talking about the console output from the compile?


Thanks

Nathaniel

On 2/26/16 2:05 AM, Răzvan Crainea wrote:

Hi, Nathaniel!

All the logs you posted are warnings, not errors. Can you paste the 
entire build logs on pastebin?


Thanks,
Răzvan

On 02/26/2016 08:09 AM, Nathaniel L. Keeling III wrote:

Hello,

I am getting this compile error when compiling Opensips 2.1.2 on 
Solaris Sparc 10 64bit.


net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment 
of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment 
of target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
 get_su_info( servaddr, ip, port);
 ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Solaris Sparc Compile Error

2016-02-26 Thread Răzvan Crainea

Hi, Nathaniel!

All the logs you posted are warnings, not errors. Can you paste the 
entire build logs on pastebin?


Thanks,
Răzvan

On 02/26/2016 08:09 AM, Nathaniel L. Keeling III wrote:

Hello,

I am getting this compile error when compiling Opensips 2.1.2 on 
Solaris Sparc 10 64bit.


net/net_tcp.c:269:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment of 
target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:299:4: note: in expansion of macro 'get_su_info'
get_su_info( servaddr, ip, port);
^
net/../ip_addr.h:168:26: warning: cast increases required alignment of 
target type [-Wcast-align]

   _port_no = su_getport( (union sockaddr_union*)_su); \
  ^
net/net_tcp.c:318:5: note: in expansion of macro 'get_su_info'
 get_su_info( servaddr, ip, port);
 ^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make[1]: *** [net/net_tcp.o] Error 1

Thanks

Nathaniel Keeling



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users