Re: [OpenSIPS-Users] t_uac_dlg and tcp socket

2015-03-01 Thread Dani Popa
Hi,

It works like a charm!

Thanks,
Dani

On Sat, Feb 28, 2015 at 2:25 AM, Bogdan-Andrei Iancu 
wrote:

>  Hi Dani,
>
> The socket you set may be ignore if not compatible from proto perspective
> with the protocol required by the SIP destination (RURI or DU). If the RURI
> requires UDP (has no ";transport=tcp" in it) and the socket is TCP, the
> socket info will be discarded and a new sock will be searched.
>
> So, try to put the "transport=tcp" in your next hop URI.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 27.02.2015 23:18, Dani Popa wrote:
>
> Hi,
>
>  t_uac_dlg with socket 'tcp:x.x.x.x' should work ?
>
>  When i try to use t_uac_dlg with socket 'tcp:x.x.x.x'  i see that the
> SIP message is sent over udp.
>
>  Thanks
> --
> Dani Popa
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>


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


Re: [OpenSIPS-Users] how to relay failure signling to FreeSwitch?

2015-03-01 Thread merlin...@tsingch.com
Hi all,
I noticed that someone alreay asked same question, what he got is :
because it is against RFC3261 - 6xx reply means global failure and no 
further forking is allowed.
http://lists.sip-router.org/pipermail/sr-users/2008-May/017415.html 


But i still want to know how others handle this situation? i mean how to play a 
recording to the caller when opensips received a "603"

Thanks in advanced.



merlin...@tsingch.com
 
From: merlin...@tsingch.com
Date: 2015-03-02 13:13
To: users
CC: clare.bao
Subject: how to relay failure signling to FreeSwitch?
Hi all, 

My opensips working with FS.
What i want is when the callee decline a call, FS will play a  recording to the 
caller.
Since t_relay() can not be used in onreply route, i add the following in the 
failure_route.

failure_route[failure] {
if( t_check_status("603")){
prefix("Busy_");
t_relay("192.168.1.2:5080");
exit;
}
}

And i got the following error:
Mar  2 11:48:03 VS /usr/bin/opensips[38986]: ERROR:tm:t_forward_nonack: 
discarding fwd for a cancelled/6xx transaction
Mar  2 11:48:03 VS /usr/bin/opensips[38986]: ERROR:tm:w_t_relay: 
t_forward_nonack failed

Any help will be appreciated.


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


[OpenSIPS-Users] how to relay failure signling to FreeSwitch?

2015-03-01 Thread merlin...@tsingch.com
Hi all, 

My opensips working with FS.
What i want is when the callee decline a call, FS will play a  recording to the 
caller.
Since t_relay() can not be used in onreply route, i add the following in the 
failure_route.

failure_route[failure] {
if( t_check_status("603")){
prefix("Busy_");
t_relay("192.168.1.2:5080");
exit;
}
}

And i got the following error:
Mar  2 11:48:03 VS /usr/bin/opensips[38986]: ERROR:tm:t_forward_nonack: 
discarding fwd for a cancelled/6xx transaction
Mar  2 11:48:03 VS /usr/bin/opensips[38986]: ERROR:tm:w_t_relay: 
t_forward_nonack failed

Any help will be appreciated.


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


Re: [OpenSIPS-Users] No support for TCP in OpenSIPS v2.1?

2015-03-01 Thread shahzad
 

OK, in the source tree, i only see proto_tls and proto_sctp
directors under modules. Searching proto_tcp lead me to net directory
which indeed has proto_tcp and proto_udp directories however, there is
no "so" file, so i guess these protos not compiled by default, however
interestingly they also do not have any Makefile, so i can't even try to
manually compile them (i.e. without relying on "make menuconfig").


Should i continue my attempt to compile and run v2.1 tunk or is it too
early to test it? Please advise. 

Thank you. 

On 2015-03-01 13:03,
Bogdan-Andrei Iancu wrote: 

> Hi, 
> 
> In 2.1 the protocols are loaded
as modules and there is no disable param at all. 
> So just set the tcp
listener and do loadmodule "proto_tcp.so" . 
> Note many parameters
related to protocols were changed or moved and the docs were not yet
updated. 
> 
> Regards, 
> Bogdan 
> 
> Sent from Samsung Mobile 
> 
>
 Original message 
> From: shah...@voip-demos.com 
>
Date:01/03/2015 03:25 (GMT+01:00) 
> To: users@lists.opensips.org 
>
Subject: [OpenSIPS-Users] No support for TCP in OpenSIPS v2.1? 
> 
> OK,
so i have successfully compiled opensip v2.1 trunk and tried to 
> start
it with minimal configuration, it fails and gives error on global 
> TCP
parameters. It does not even accepts "disable_tcp=no".
> 
> I do not
understand what is wrong here, i rechecked every option in 
> "make
menuconfig" and didn't find anything related to TCP anywhere. 
> Please
help, i need TCP support to test opensips capability to 
> interconnect
with webrtc endpoints and rtpengine service.
> 
> Here is the output of
opensips -V command,
> 
> --
> version: opensips 2.1.1dev
(x86_64/linux)
> flags: STATS: On, USE_MCAST, SHM_MEM, SHM_MMAP,
PKG_MALLOC, F_MALLOC, 
> FAST_LOCK-FUTEX-ADAPTIVE_WAIT,
USE_PTHREAD_MUTEX
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
262144, MAX_LISTEN 16, 
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll
method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> git
revision: 2dd472a
> main.c compiled on 03:10:21 Mar 1 2015 with gcc
4.7
> --
> 
> Thank you.
> 
>
___
> 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] X-Lite presence

2015-03-01 Thread campusvtv

Hello,

how or where can i check this?

Thank you

Regards

El 01/03/2015 a las 12:29, Bogdan-Andrei Iancu escribió:

is the presence status of that device correctly visible



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


Re: [OpenSIPS-Users] X-Lite presence

2015-03-01 Thread Bogdan-Andrei Iancu

The key log is:

Feb 27 14:27:58 sip1 /sbin/opensips[31967]: DBG:pua:send_publish_int: 
request for a publish with expires 0 and no record found


But this is harmless - it says it does not want to send an un-PUBLISH 
for a presentity already terminated .


The question for you is - is the presence status of that device 
correctly visible ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 27.02.2015 21:54, campusvtv wrote:

Hello,

i'm using UDP for the end point and on debug 4 for key PUA (during 
X-Lite REGISTER):


http://pastebin.com/9A7fjNxv

Thank you

Regards

El 27/02/2015 a las 14:11, Bogdan-Andrei Iancu escribió:

Hi,

Do you use TCP for the end point ? No other error in place ?

Can you run in debug=4 to get more logs ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 27.02.2015 03:23, campusvtv wrote:

Hello,

I'm trying to implement presence for X-Lite with pua y pua_usrloc 
modules.


My modules configuration is:
[]

Feb 26 18:39:26 sip1 /sbin/opensips[27330]: Usuario 4 Registrado
Feb 26 18:39:26 sip1 /sbin/opensips[27327]: User-Agent es X-Lite
Feb 26 18:39:26 sip1 /sbin/opensips[27327]: 
ERROR:pua_usrloc:ul_publish: failed to send publish


Any hint?

Regards

___
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] No support for TCP in OpenSIPS v2.1?

2015-03-01 Thread Bogdan-Andrei Iancu
Hi,

In 2.1 the protocols are loaded as modules and there is no disable param at all.
So just set the tcp listener and do loadmodule "proto_tcp.so" .
Note many parameters related to protocols were changed or moved and the docs 
were not yet updated.

Regards,
Bogdan


Sent from Samsung Mobile

 Original message 
From: shah...@voip-demos.com 
Date:01/03/2015  03:25  (GMT+01:00) 
To: users@lists.opensips.org 
Subject: [OpenSIPS-Users] No support for TCP in OpenSIPS v2.1? 

OK, so i have successfully compiled opensip v2.1 trunk and tried to 
start it with minimal configuration, it fails and gives error on global 
TCP parameters. It does not even accepts "disable_tcp=no".

I do not understand what is wrong here, i rechecked every option in 
"make menuconfig" and didn't find anything related to TCP anywhere. 
Please help, i need TCP support to test opensips capability to 
interconnect with webrtc endpoints and rtpengine service.

Here is the output of opensips -V command,

--
version: opensips 2.1.1dev (x86_64/linux)
flags: STATS: On, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
FAST_LOCK-FUTEX-ADAPTIVE_WAIT, USE_PTHREAD_MUTEX
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 2dd472a
main.c compiled on 03:10:21 Mar  1 2015 with gcc 4.7
--


Thank you.

___
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] Error compiling opensips v2.1 trunk

2015-03-01 Thread Bogdan-Andrei Iancu
Thank you too for reporting.
Regards,
Bogdan


Sent from Samsung Mobile

 Original message 
From: shah...@voip-demos.com 
Date:28/02/2015  20:26  (GMT+01:00) 
To: Bogdan-Andrei Iancu  
Cc: OpenSIPS users mailling list  
Subject: Re: [OpenSIPS-Users] Error compiling opensips v2.1 trunk 

Thanks. This seems to have solved the problem.

Thank you.


On 2015-02-28 09:18, Bogdan-Andrei Iancu wrote:
> Hi,
>
> Please update the whole tree from GIT and try again.
>
> Best regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 28.02.2015 00:57, shah...@voip-demos.com wrote:
>> Hi,
>>
>> I am trying to compile opensips v2.1 trunk and getting this error,
>>
>> -- make[2]: Entering directory 
>> `/usr/src/svn-src/opensips/modules/tlsops' tls_select.c:32:30: fatal 
>> error: ../../tcp_server.h: No such file or directory
>> compilation terminated.
>> tlsops.c:42:59: fatal error: ../../tcp_conn.h: No such file or 
>> directory
>> compilation terminated.
>> Compiling tlsops.c
>> Compiling tls_select.c
>> tls_select.c:32:30: fatal error: ../../tcp_server.h: No such file or 
>> directory
>> compilation terminated.
>> tlsops.c:42:59: fatal error: ../../tcp_conn.h: No such file or 
>> directory
>> compilation terminated.
>> make[2]: *** [tls_select.o] Error 1
>> make[2]: *** Waiting for unfinished jobs
>> make[2]: *** [tlsops.o] Error 1
>> make[2]: Leaving directory 
>> `/usr/src/svn-src/opensips/modules/tlsops' make[1]: *** [modules] 
>> Error 2
>> make[1]: Leaving directory `/usr/src/svn-src/opensips' --
>>
>> This may be a missing library but i couldn't figure out the lib name 
>> to install it.
>>
>> I am using Debian Wheezy 64-bit inside a LXC container.
>>
>> Thank you.
>>
>>
>> ___
>> 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