mlan / docker-asterisk

Docker image providing Asterisk PBX
https://hub.docker.com/r/mlan/asterisk
MIT License
182 stars 50 forks source link

can not register sip trunk #12

Closed fukemy closed 6 months ago

fukemy commented 6 months ago

Please help me, my SIP trunk can not registered

321162356-9b9be17e-f3e0-4163-9849-0d8770dd8cf8

I always get this log:

[2024-04-10 08:29:48] NOTICE[9390]: chan_sip.c:16046 sip_reg_timeout:    -- Registration for '234b80b8@sip.nexmo.com' timed out, trying again (Attempt #18)
[2024-04-10 08:30:08] NOTICE[9390]: chan_sip.c:16046 sip_reg_timeout:    -- Registration for '234b80b8@sip.nexmo.com' timed out, trying again (Attempt #19)

My sip trunk is available which might be success to registering, tested with other FreePBX without Docker

mlan commented 6 months ago

Hello @fukemy many thanks for your interest in this project.

Unfortunately there are too many possible points that can be at fault here. Unfortunately it will be very difficult to help you in a meaningful way.

As an initial step I suggest you make sure that you can reach the trunk provider from inside the container and that you can reach the asterisk instance from outside your Linux host.