Re: [SR-Users] Kamailio + Asterisk, same machine, same public IP.

2015-12-04 Thread Alex Balashov

Doug,

If I understood your claim correctly, the INVITE request goes from 
Kamailio to Asterisk, and Asterisk returns a 401 challenge. This is 
because Asterisk doesn't trust Kamailio as an incoming source. It 
probably needs a [correct] sip.conf peer.


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

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio + Asterisk, same machine, same public IP.

2015-12-04 Thread Douglas Adami
Hello everyone,

I have Kamailio and Asterisk on the same machine with the same public IP.
When I try to forward calls to the asterisk (PSTN GW on port 5080), returns
the error 401, but does not reach the Asterisk any information. When I
switch to an IP out, it works.

Any idea?

Regards,
Doug
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio + Asterisk, same machine, same public IP.

2015-12-04 Thread Alex Balashov

When you say gateway, you mean Asterisk?

Do you have a capture illustrating this flow?

On 12/04/2015 01:13 PM, Douglas Adami wrote:


Yes, I send in public_same_ip:5080 and did not get anything at the gateway.

Cheers,
Doug

2015-12-04 18:05 GMT+00:00 Alex Balashov >:

You mean that you forward the request to localhost:5080, in essence,
and it does not receive it?

Are you forwarding to localhost:5080 or public_ip:5080? That may
traverse different interfaces. And by the same token, do local
firewall and/or forwarding policies allow for this?

Cheers,

-- Alex


On 12/04/2015 01:02 PM, Douglas Adami wrote:

Alex,

I use Asterisk only as gateway (PSTN). The gateway, when the
same IP,
does not receive the INVITE, only when it is in another machine.

Thanks for your response.

Doug


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
sr-users@lists.sip-router.org 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



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

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




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

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio + Asterisk, same machine, same public IP.

2015-12-04 Thread Douglas Adami
Alex,

I use Asterisk only as gateway (PSTN). The gateway, when the same IP, does
not receive the INVITE, only when it is in another machine.

Thanks for your response.

Doug
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio + Asterisk, same machine, same public IP.

2015-12-04 Thread Alex Balashov
You mean that you forward the request to localhost:5080, in essence, and 
it does not receive it?


Are you forwarding to localhost:5080 or public_ip:5080? That may 
traverse different interfaces. And by the same token, do local firewall 
and/or forwarding policies allow for this?


Cheers,

-- Alex

On 12/04/2015 01:02 PM, Douglas Adami wrote:


Alex,

I use Asterisk only as gateway (PSTN). The gateway, when the same IP,
does not receive the INVITE, only when it is in another machine.

Thanks for your response.

Doug


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




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

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio + Asterisk, same machine, same public IP.

2015-12-04 Thread Douglas Adami
Yes, I send in public_same_ip:5080 and did not get anything at the gateway.

Cheers,
Doug

2015-12-04 18:05 GMT+00:00 Alex Balashov :

> You mean that you forward the request to localhost:5080, in essence, and
> it does not receive it?
>
> Are you forwarding to localhost:5080 or public_ip:5080? That may traverse
> different interfaces. And by the same token, do local firewall and/or
> forwarding policies allow for this?
>
> Cheers,
>
> -- Alex
>
>
> On 12/04/2015 01:02 PM, Douglas Adami wrote:
>
> Alex,
>>
>> I use Asterisk only as gateway (PSTN). The gateway, when the same IP,
>> does not receive the INVITE, only when it is in another machine.
>>
>> Thanks for your response.
>>
>> Doug
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> --
> 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/
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio + Asterisk, same machine, same public IP.

2015-12-04 Thread Douglas Adami
Yes, gateway = asterisk. No, I will capture and then send.

Thank you for your help.

2015-12-04 18:17 GMT+00:00 Alex Balashov :

> When you say gateway, you mean Asterisk?
>
> Do you have a capture illustrating this flow?
>
> On 12/04/2015 01:13 PM, Douglas Adami wrote:
>
> Yes, I send in public_same_ip:5080 and did not get anything at the gateway.
>>
>> Cheers,
>> Doug
>>
>> 2015-12-04 18:05 GMT+00:00 Alex Balashov > >:
>>
>> You mean that you forward the request to localhost:5080, in essence,
>> and it does not receive it?
>>
>> Are you forwarding to localhost:5080 or public_ip:5080? That may
>> traverse different interfaces. And by the same token, do local
>> firewall and/or forwarding policies allow for this?
>>
>> Cheers,
>>
>> -- Alex
>>
>>
>> On 12/04/2015 01:02 PM, Douglas Adami wrote:
>>
>> Alex,
>>
>> I use Asterisk only as gateway (PSTN). The gateway, when the
>> same IP,
>> does not receive the INVITE, only when it is in another machine.
>>
>> Thanks for your response.
>>
>> Doug
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>> mailing list
>> sr-users@lists.sip-router.org > sr-users@lists.sip-router.org>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>> --
>> 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/
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>> list
>> sr-users@lists.sip-router.org 
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> --
> 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/
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users