[OpenSIPS-Users] Radius Async

2016-02-04 Thread Dragomir Haralambiev
Hello,

I try setup Async in Opensips 2.2
...

loadmodule "aaa_radius.so"
modparam("aaa_radius", "radius_config",
"/etc/radiusclient/radiusclient.conf")
''
async( radius_send_auth("register","regrespons"), return_register );
..


I receive follow Error:

 unknown async command , missing loadmodule?

Where is problem?

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


[OpenSIPS-Users] [BOOK] Building Telephony Systems with OpenSIPS - 2.1 version

2016-02-04 Thread Bogdan-Andrei Iancu

Hello all,

Flavio Goncalves and I are happy to announce the publishing of the 
second edition of "Building Telephony Systems with OpenSIPS", covering 
OpenSIPS version 2.1 .


Also many thanks to the Packt Publishing house for making it happened 
and to all our reviewers who help us to make this book better.


https://www.packtpub.com/networking-and-servers/building-telephony-systems-opensips-second-edition

Enjoy !

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


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


[OpenSIPS-Users] Lots of presence:p_tm_callback, 408 warning

2016-02-04 Thread surya
Hi All,

While running the tests on Presence server I get huge number of below
warnings,

*Feb  4 11:49:40 [2501] WARNING:presence:p_tm_callback: completed with
status [408] and to_tag [155c340f586c28d0300cf5a6ccf90d99-6d08], cseq [CSeq:
1]*

What is the reason for these? Can I stop or make the code ignore these?


Thanks,
Surya



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Lots-of-presence-p-tm-callback-408-warning-tp7601275.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] ACK not forwarding

2016-02-04 Thread Alex Balashov

Bogdan,

That's interesting. I had no idea OpenSIPS had a module specifically 
devoted to fixing bad SIP that really shouldn't be fixed. :-)


-- Alex

--
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


[OpenSIPS-Users] Opensips + Loadbalancer (inviting himself)

2016-02-04 Thread Mike Tesliuk
Hello Guys,

Im getting a problem with my proxy + loadbalancer.

Some time when i receive an invite the proxy send a new invite to himself
and so got a authorization request reply

Below you have a link with an image of sngrep showing the situation

http://picpaste.com/pics/abfjhach-gAKIlkfK.1454608071.png

This does not happen all the time with all calls, its a sporadically .

If somebody have an idea about what can generate this kind of issue i will
appreciate.

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


[OpenSIPS-Users] SCTP Symetric Multi Home

2016-02-04 Thread Moreira Yokoyama, Daniel
Hi.

I'm trying to set Opensips to work on SCTP Symetric Multi Home.

To do this, I've set two endpoints:

listen=sctp:10.0.0.1:5070
listen=sctp:10.0.0.2:5070

and set mhomed

mhomed=1

Using SIPp to make some tests, I could see the association being successfully 
stablished, and as I turn down one of the client's network adapter it manages 
to successfully use other path with the another adapter. Problem is when I turn 
off one of the opensips adapter (10.0.0.1, for instance).

When I run the tcpdump I can notice that the heartbeat doesn't aknowledge the 
10.0.0.2 to the association. But when searching on the internet I find a post 
on the list asking about multi home, whether it is supported or not, and the 
answer is that it does support, althought there is some lack of guidance to 
figure out how to set it up.

Looking through the source code, it seems that for each listen setting, it 
creates a separate socket association... what I need is to set a single socket 
and add both addresses to the same association (setting a multi home 
association).

The question is:

Does opensips really support this feature?
In case it does, what am I doing wrong to set it up?


Thanks.

Best regards.


Atenciosamente,

Daniel Moreira Yokoyama.


PS: Moderator, I apologize for the duplicated message. But the first one was 
sent by another address than this one and I assume it was blocked. Thank you.

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


Re: [OpenSIPS-Users] ACK not forwarding

2016-02-04 Thread Alex Balashov

On 02/04/2016 11:08 AM, Alex Balashov wrote:


Bogdan,

That's interesting. I had no idea OpenSIPS had a module specifically
devoted to fixing bad SIP that really shouldn't be fixed. :-)


s/a module/dialog module functionality/

--
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] ACK not forwarding

2016-02-04 Thread Schneur Rosenberg
Alax you're correct, but not all sip device manufacturers really know the
sip rfc etc, soft phones and phone manufacturers are better, but in my case
its a SIP door bell, when there is only one sip server as is the case with
most of these units that they are connected to a small business PBX like
FreePBX it works, the problem starts when there is more than one server in
the path, I spoke their tech support and its been 2 days and they still
don't have a fix yet, so its nice to have a workaround for cases like these.

On Thu, Feb 4, 2016 at 5:09 PM, Alex Balashov 
wrote:

> On 02/04/2016 11:08 AM, Alex Balashov wrote:
>
> Bogdan,
>>
>> That's interesting. I had no idea OpenSIPS had a module specifically
>> devoted to fixing bad SIP that really shouldn't be fixed. :-)
>>
>
> s/a module/dialog module functionality/
>
>
> --
> 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] tomcat external app listening to OpenSIPS events

2016-02-04 Thread Julian Kay
Hi;

THANK!!

I'm going to test it today, and will give you feed back today.

Cheer!
Juls



-Original Message-
From: users-boun...@lists.opensips.org 
[mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Tuesday, January 26, 2016 10:46 AM
To: OpenSIPS users mailling list; juli...@vazycomm.com
Subject: Re: [OpenSIPS-Users] tomcat external app listening to OpenSIPS events

Hi Julian,

Could you test please this fix made by John:
https://github.com/OpenSIPS/opensips/commit/be43fcdb7696c6ee53673b351380fe701c209a44

If it works ok, we will do the backport to the stable releases too.

Best regards,

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

On 26.01.2016 01:45, Julian Kay wrote:
> thanks, I appreciate that!!!
>
> Juls
>
> -Original Message-
> From: users-boun...@lists.opensips.org 
> [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei 
> Iancu
> Sent: Tuesday, January 19, 2016 6:47 AM
> To: OpenSIPS users mailling list; juli...@vazycomm.com
> Subject: Re: [OpenSIPS-Users] tomcat external app listening to 
> OpenSIPS events
>
> Hi Julian,
>
> I see your problem and I agree with you - the path should be be missing in 
> the HTTP URL. I will open a bug report and have it fixed asap.
>
> Thanks and regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 14.01.2016 00:28, Julian Kay wrote:
>> HI,
>>
>> I really appreciate you taking the time!!
>>
>> yes OpenSIPS is connecting to Tomcat, the problem I see (I think) is when 
>> the event is being raised OpenSIPS is NOT sending the complete URI. Tomcat 
>> server returns an error of 404.
>> the Tomcat logs seem to indicate  OpenSIPS is only be sending
>> 192.168.3.132:8080 -> when it should be sending 
>> 192.168.3.132:8080/ccurbiz/xmlrpc
>>
>> Thanks!!
>> Juls
>>
>> -Original Message-
>> From: users-boun...@lists.opensips.org 
>> [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei 
>> Iancu
>> Sent: Wednesday, January 13, 2016 5:44 AM
>> To: OpenSIPS users mailling list; juli...@vazycomm.com
>> Subject: Re: [OpenSIPS-Users] tomcat external app listening to 
>> OpenSIPS events
>>
>> Hi Julian,
>>
>> So, you say OpenSIPS is actually connecting via HTTP to tomcat in order to 
>> deliver the event, right ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>> On 13.01.2016 03:02, Julian Kay wrote:
>>> Hi;
>>>
>>> Thanks for the help!
>>>
>>> the event subscription seems to be successful as  show from the 
>>> output of a test xmlrpc test client
>>> Event:: E_SIP_MESSAGE id=11Subscriber::
>>> socket=xmlrpc:192.168.3.132:8080:ccradius/xmlrpc/OpenSIPSInterface.m
>>> s g tests expire=never
>>>
>>> the parameters I'm using for the for subscribe_event:
>>> subscribe_event("E_SIP_MESSAGE","xmlrpc:192.168.3.132:8080:ccradius/
>>> x
>>> m
>>> lrpc/OpenSIPSInterface.msgtests");
>>>
>>> for testing purposes I raise the event with ->
>>> raise_event("E_SIP_MESSAGE")
>>>
>>> and it seems OpenSIPs attempts to deliver the event because this is 
>>> what I see in the Tomcat logs:  192.168.3.167 - -
>>> [06/Jan/2016:23:21:19 -0500] "POST /RPC2 HTTP/1.1" 404 959
>>>
>>> I'm able to successfully call the Java class from a test xmlrpc test client.
>>>
>>> I would really appreciate ideas how I can resolve this as this is critical 
>>> for me. I'm even willing to consider some other methodology as long as I 
>>> can interface with Tomcat.
>>>
>>> Thanks for your input!!
>>> Juls
>>>
>>> -Original Message-
>>> From: users-boun...@lists.opensips.org 
>>> [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei 
>>> Iancu
>>> Sent: Tuesday, January 12, 2016 4:14 AM
>>> To: OpenSIPS users mailling list; juli...@vazycomm.com
>>> Subject: Re: [OpenSIPS-Users] tomcat external app listening to 
>>> OpenSIPS events
>>>
>>> Hi Julian,
>>>
>>> First check if your event subscription was successful (and still valid).
>>> Use the "subscriber_list" MI command :
>>> http://www.opensips.org/Documentation/Interface-CoreMI-1-11#toc18
>>>
>>> After that, when events happens, check at network level if there is any 
>>> attempt from opensips side to deliver the event via XMLRPC to the indicated 
>>> URL.
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.com
>>>
>>> On 12.01.2016 05:15, Julian Kay wrote:
 Hi;

 Has anyone successfully interfaced OpenSIPS event_xmlrpc with a Tombat 
 xmlrpc server servlet? If you yes can you share any tips, because I've 
 been trying it for a while without any success.

 Thanks for any help!!

 Juls

 -Original Message-
 From: users-boun...@lists.opensips.org 
 [mailto:users-boun...@lists.opensips.org] On Behalf Of Julian Kay
 Sent: Thursday, January 07, 2016 9:33 AM
 To: 'OpenSIPS users