Re: [OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-14 Thread Sunil More
Hello Liviu Chircu and Team,

I have recompiled and checked with said commit of opensips
opensips -V
version: opensips 3.1.1 (x86_64/linux)
git revision: 2212865f1
main.c compiled on 07:18:08 Jan 15 2021 with gcc 7

Now the logs are seen as NOTICE and not ERROR.

L_INFO does not make it to HEP logs
L_ALERT makes it to HEP as NOTICE
and other logs used as xlog("Anything ") also make it as NOTICE.

should they look like this or L_INFO should be seen as INFO while L_ALERT
seen as ALERT .

Sunil More

Manager - DevOps

91 95033 38275

sunil.m...@samespace.com






On Wed, Jan 13, 2021 at 7:55 PM Liviu Chircu  wrote:

> On 13.01.2021 15:24, Sunil More wrote:
> > I am using opensips 3.1.1 along with homer 7 and I could observe that
> > logs are going to Homer with type as ERROR.
> >
> > Here's opensips -V
> > version: opensips 3.1.1 (x86_64/linux)
> > git revision: 229ec0793
> > main.c compiled on 10:46:42 Jan  7 2021 with gcc 7
> >
> Hi,
>
> This has been fixed on Dec 10th [1], so you have 3 options:
>
> * pull latest 3.1 source code and rebuild OpenSIPS
> * install nightly 3.1 packages
> * wait until 3.1.2 release
>
> [1]: https://github.com/OpenSIPS/opensips/commit/2212865f19d
>
> Cheers,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | 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] OpenSIPS 3.1 & NAT issues

2021-01-14 Thread Mark Allen
Thanks for the responses. They helped me exclude some things. I've managed
to make progress and pinned down the lack of audio to a misconfiguration of
Mediaproxy. Two-way audio through double-nat / firewall is working but goes
silent after about 60 seconds connected and Asterisk kills the connection
31 seconds later due to lack of RTP activity for the last 31 seconds

On Thu, 14 Jan 2021 at 12:00, David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> Check out what IPs are offered in the SDPs in asterisk. Make sure they’re
> both public IPs.
> If you only have 1 asterisk, forwarding the rtp port range configured in
> asterisk from the firewall to asterisk should do it.
>
>
> On Thu, 14 Jan 2021 at 08:23, Mark Allen  wrote:
>
>> Thanks Adrian
>>
>> The firewall has SIP-ALG disabled and just forwards ports from externally
>> to where they need to be internally - so ports 5060 and 1 - 65535 of
>> 46.x.x.x are mapped to 192.168.x.x (the OpenSIPS box)
>>
>> On Wed, 13 Jan 2021 at 17:32, Adrian Georgescu 
>> wrote:
>>
>>> Google search for SIP ALG problem to see if this is relevant for your
>>> case.
>>>
>>> Regards,
>>> Adrian
>>>
>>>
>>> On 13 Jan 2021, at 13:08, Mark Allen  wrote:
>>>
>>> Hi all - I've been banging my head against this but not succeeding.
>>>
>>> Our setup...
>>>
>>> UAC   192.168.x.x
>>>   |
>>> Router5.x.x.x
>>>   |
>>> (internet)
>>>   |
>>> Firewall  46.x.x.x maps
>>>   |   directly to
>>> OpenSIPS  192.168.x.x  Mid-registrar
>>>   |
>>> Asterisk  192.168.x.x
>>>
>>>
>>> Current situation:
>>> - UAC can register on Asterisk via OpenSIPS
>>> - UAC can call destination registered on Asterisk on local n/w to
>>> Asterisk box
>>> - Destination extension rings and can pick up call
>>> - There is no audio either way & call drops after about 30 secs
>>> (Asterisk kills call with "Requested channel not available" because not
>>> RTP traffic is reaching destination)
>>>
>>> I have tried passing audio through Mediaproxy on OpenSIPS box but with
>>> no success. Using Wireshark I can see RTP traffic initiated at both ends,
>>> but it doesn't reach the other end either way.
>>>
>>> Is there some definitive guide to setting this up correctly or are there
>>> specific steps that I need to follow?
>>>
>>> ___
>>> 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
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> 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] OpenSIPS 3.1 & NAT issues

2021-01-14 Thread David Villasmil
Check out what IPs are offered in the SDPs in asterisk. Make sure they’re
both public IPs.
If you only have 1 asterisk, forwarding the rtp port range configured in
asterisk from the firewall to asterisk should do it.


On Thu, 14 Jan 2021 at 08:23, Mark Allen  wrote:

> Thanks Adrian
>
> The firewall has SIP-ALG disabled and just forwards ports from externally
> to where they need to be internally - so ports 5060 and 1 - 65535 of
> 46.x.x.x are mapped to 192.168.x.x (the OpenSIPS box)
>
> On Wed, 13 Jan 2021 at 17:32, Adrian Georgescu  wrote:
>
>> Google search for SIP ALG problem to see if this is relevant for your
>> case.
>>
>> Regards,
>> Adrian
>>
>>
>> On 13 Jan 2021, at 13:08, Mark Allen  wrote:
>>
>> Hi all - I've been banging my head against this but not succeeding.
>>
>> Our setup...
>>
>> UAC   192.168.x.x
>>   |
>> Router5.x.x.x
>>   |
>> (internet)
>>   |
>> Firewall  46.x.x.x maps
>>   |   directly to
>> OpenSIPS  192.168.x.x  Mid-registrar
>>   |
>> Asterisk  192.168.x.x
>>
>>
>> Current situation:
>> - UAC can register on Asterisk via OpenSIPS
>> - UAC can call destination registered on Asterisk on local n/w to
>> Asterisk box
>> - Destination extension rings and can pick up call
>> - There is no audio either way & call drops after about 30 secs (Asterisk
>> kills call with "Requested channel not available" because not RTP
>> traffic is reaching destination)
>>
>> I have tried passing audio through Mediaproxy on OpenSIPS box but with no
>> success. Using Wireshark I can see RTP traffic initiated at both ends, but
>> it doesn't reach the other end either way.
>>
>> Is there some definitive guide to setting this up correctly or are there
>> specific steps that I need to follow?
>>
>> ___
>> 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
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPS 3.1 & NAT issues

2021-01-14 Thread Mark Allen
Thanks Adrian

The firewall has SIP-ALG disabled and just forwards ports from externally
to where they need to be internally - so ports 5060 and 1 - 65535 of
46.x.x.x are mapped to 192.168.x.x (the OpenSIPS box)

On Wed, 13 Jan 2021 at 17:32, Adrian Georgescu  wrote:

> Google search for SIP ALG problem to see if this is relevant for your case.
>
> Regards,
> Adrian
>
>
> On 13 Jan 2021, at 13:08, Mark Allen  wrote:
>
> Hi all - I've been banging my head against this but not succeeding.
>
> Our setup...
>
> UAC   192.168.x.x
>   |
> Router5.x.x.x
>   |
> (internet)
>   |
> Firewall  46.x.x.x maps
>   |   directly to
> OpenSIPS  192.168.x.x  Mid-registrar
>   |
> Asterisk  192.168.x.x
>
>
> Current situation:
> - UAC can register on Asterisk via OpenSIPS
> - UAC can call destination registered on Asterisk on local n/w to Asterisk
> box
> - Destination extension rings and can pick up call
> - There is no audio either way & call drops after about 30 secs (Asterisk
> kills call with "Requested channel not available" because not RTP traffic
> is reaching destination)
>
> I have tried passing audio through Mediaproxy on OpenSIPS box but with no
> success. Using Wireshark I can see RTP traffic initiated at both ends, but
> it doesn't reach the other end either way.
>
> Is there some definitive guide to setting this up correctly or are there
> specific steps that I need to follow?
>
> ___
> 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