[asterisk-users] problems with natted phones

Marek Greško mgresko8 at gmail.com
Fri Jul 23 06:47:10 CDT 2021


Hello,

your suggestion to turn off SIP ALG on provider's router was probably
correct. no problem until now. Thank you very much.

I just found out another issue. I had a pjsue client in that network
which called specific number when turned on. It was working perfectly
with the old provider with working SIP ALG. But now with this provider
and SIP ALG disabled I am not able to make the call using pjsua
client.

My pjsua config looks like this:
--id sip:ext at asterisk.domain
--registrar sip:asterisk.domain
--proxy sip:asterisk.domain
--outbound sip:asterisk.domain
--realm *
--username username
--password password
--null-audio
--no-tcp
--max-calls=1
--no-vad

The pjsua client successfully registers but is unable to call.

I see the following:
IP address change detected for account 1
(localip:5060-->nattedip:newport). Updating registration (using method
4)
Temporary failure in sending Request msg INVITE/cseq=...., will try
next server: Unsupported transport (PJSIP_EUNSUPTRANSPORT)

What could be the problem? How can I convince pjsue to work correctly
behind nat?

Thanks

Marek





2021-07-10 11:08 GMT+02:00, Marek Greško <mgresko8 at gmail.com>:
> Hello,
>
> I just disabled. Currently it is working. I shloud give it some time
> to confirm the problem has gone. Maybe one month would be enough to
> confirm.
>
> Thanks
>
> Marek
>
>
> 2021-07-09 20:11 GMT+02:00, Abdenasser Ghomri <ghomri.nasser at gmail.com>:
>> Yes just disable the SIP ALG and see if it helps, Thanks.
>>
>> Best Regards,
>>
>> On Fri, Jul 9, 2021, 09:10 Antony Stone <
>> Antony.Stone at asterisk.open.source.it> wrote:
>>
>>> On Friday 09 July 2021 at 08:47:46, Marek Greško wrote:
>>>
>>> > Hello,
>>> >
>>> > yes SIP ALG are anbled on the router. Should I disable?
>>>
>>> In my opinion, always.
>>>
>>> Antony.
>>>
>>> --
>>> I don't know, maybe if we all waited then cosmic rays would write all
>>> our
>>> software for us. Of course it might take a while.
>>>
>>>  - Ron Minnich, Los Alamos National Laboratory
>>>
>>>                                                    Please reply to the
>>> list;
>>>                                                          please *don't*
>>> CC
>>> me.
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> Check out the new Asterisk community forum at:
>>> https://community.asterisk.org/
>>>
>>> New to Asterisk? Start here:
>>>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>



More information about the asterisk-users mailing list