Carrier unreachable in asterisk CLI

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Carrier unreachable in asterisk CLI

Postby Tom75 » Fri Jul 10, 2020 6:46 am

Hi all, I created a carrier trunk:

Registration String:
xxxx@host.fr:xxxx@host.fr:5060

Account Entry
[xxx]
allow=ulaw
type=peer
username=xxxx
secret=xxxx
host=host.fr
dtmfmode=auto
nat=force_rport
insecure=very
maxexpiry=3600
qualify=yes

Protocol:
SIP

Globals String:

Dialplan Entry:
exten => _933.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _933.,2,Dial(xxxx@host.fr:xxxx@host.fr:5060/${EXTEN:2},,tTor)
exten => 933.,3,Hangup

Server IP:
192.168.147.128

But when I use "sip show peers", the carrier I created is unreachable.




Vicibox 9.0 from .iso | Vicidial 3133-2.14-718a Build 190902-0839| Asterisk 13.27.0 | Single Server | vmware | No Extra Software After Installation
Last edited by Tom75 on Wed Jul 15, 2020 2:21 am, edited 1 time in total.
Tom75
 
Posts: 20
Joined: Fri Jun 19, 2020 8:02 am

Re: Carrier unreachable in asterisk CLI

Postby carpenox » Fri Jul 10, 2020 11:05 am

That's your local ip. You need your public ip set
Alma Linux 9.3 | SVN Version: 3818 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2242
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Carrier unreachable in asterisk CLI

Postby Kabis » Sun Jul 12, 2020 1:32 am

In sip.conf
Add your public IP. Your carrier is public IP. So if you want to reach the carrier means, you need to change the server ip in public IP. Then it will reach.
We are ready to help you,
Regards,
KABIS,
Email ID: kabisforu@gmail.com
Website: www.kabis.org.in
Skype: kabisforu
Kabis
 
Posts: 100
Joined: Sat Nov 03, 2018 12:08 am
Location: India

Re: Carrier unreachable in asterisk CLI

Postby Tom75 » Mon Jul 13, 2020 3:21 am

Hi, thank you for your answer. I need some help because setting this public ip please. I'm running the server on a vmware. So should I use the public ip of my windows machine or how can i get the public ip for the server?
Tom75
 
Posts: 20
Joined: Fri Jun 19, 2020 8:02 am

Re: Carrier unreachable in asterisk CLI

Postby carpenox » Mon Jul 13, 2020 7:25 am

yes of your windows machine, your publicly accessible IP address from whatismyipaddress.com
Alma Linux 9.3 | SVN Version: 3818 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2242
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Carrier unreachable in asterisk CLI

Postby Tom75 » Mon Jul 13, 2020 8:16 am

which parameter should I change ,please. I changed the externip, but nothing has changed.
Tom75
 
Posts: 20
Joined: Fri Jun 19, 2020 8:02 am

Re: Carrier unreachable in asterisk CLI

Postby carpenox » Mon Jul 13, 2020 8:22 am

you set it in server settings and rebuild confs??
Image
Alma Linux 9.3 | SVN Version: 3818 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2242
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Carrier unreachable in asterisk CLI

Postby Tom75 » Mon Jul 13, 2020 8:30 am

No, I directly change the sip.conf file, I will try it againa and see if it is running
Tom75
 
Posts: 20
Joined: Fri Jun 19, 2020 8:02 am

Re: Carrier unreachable in asterisk CLI

Postby Tom75 » Mon Jul 13, 2020 8:42 am

It is still unreachable.
Tom75
 
Posts: 20
Joined: Fri Jun 19, 2020 8:02 am

Re: Carrier unreachable in asterisk CLI

Postby carpenox » Mon Jul 13, 2020 8:53 am

with my carrier I have to submit my server ip to them, perhaps this is the case with your sip trunk as well? for the end termination
Alma Linux 9.3 | SVN Version: 3818 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2242
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 74 guests