Getting started with Asterisk, part 4: Inbound & Outbound Calls | Sip Trunk Configuration / Setup

  Рет қаралды 11,237

Sheridan Computers

Sheridan Computers

Күн бұрын

The fourth part of our series looking at setting up the open source IP PBX Asterisk looks at giving our PBX inbound and outbound call functionality using PJSIP.
We take a look at the configuration steps necessary to set up our sip trunks with Firstcom Europe and the necessary dialplan changes required to allow us to both make and receive calls via our VoIP provider.
If you'd like to hire us, please head over to our website and fill out the contact form.
If you found this video useful please hit the like button and consider subscribing to our channel.
=== SUPPORT OUR CHANNEL ===
Support our channel by joining our KZbin channel membership to donate a small amount each month. Not only does your support help us continue creating content you love, but as a channel member, you'll also enjoy early access to our videos. While our videos are scheduled for regular days and times, becoming a channel member allows you to watch them as soon as they are uploaded. Your support truly makes all the difference!
Channel Membership:
👍 www.youtube.com/@sheridans/join
Patreon:
💳 / sheridancomputers
===
=== GET IN TOUCH ===
📣 Hire Us: Hire us for a Project
sheridancomputers.co.uk/contact
📣 Forums: Discussion on Videos
forums.sheridancomputers.co.uk/
📣 Facebook: Follow Us on Facebook
/ sheridancomputers
📣 LinkedIn: Connect with us on LinkedIn
/ sheridancomputers
📣 Twitter: Get in touch on Twitter
/ sheridancompute
📣 Website: Our Website
sheridancomputers.co.uk/
===
=== AFFILIATES & REFERRALS ===
This video is NOT sponsored. Some product links are affiliate links which means if you buy something we'll receive a small commission.
Sheridan Computers Swag Store on Amazon:
🛍️ amzn.to/3OPkeM7
🛍️ Amazon Affiliate Store: Products We Use
www.amazon.co.uk/shop/sherida...
AUDIO AND VIDEO
🎧 AE Juice: animation tools, plugins and presets
aejuice.com?r=140583
CLOUD HOSTING, SERVERS AND STORAGE
☁️ Digital Ocean: VPS & Storage
m.do.co/c/2002cff5b289
☁️ HostiFi: Cloud UniFi Controllers
www.hostifi.com/?via=sheridan
☁️ Vultr: VPS & Storage
www.vultr.com/?ref=9275492
===

Пікірлер: 38
@joir2000
@joir2000 2 ай бұрын
Thanks a lot! Now my outboud calls are working!
@sheridans
@sheridans 2 ай бұрын
Glad it helped, thanks for feedback
@sol2899
@sol2899 4 жыл бұрын
great videos! asterisk always was a complicated thing to me, now I see that it could be simple.
@sheridans
@sheridans 4 жыл бұрын
It looks daunting at first, pretty simple when you move most of the configs out of the way and scratch. Thanks for the feedback!
@vs4147
@vs4147 Жыл бұрын
Tried your config on both freebsd and debian and cannot make or receive calls. In your [from-sip] section - is that your sip number? All internal numbers and voicemail work and the sip is registered and showing as an endpoint.
@n3r0z3r0
@n3r0z3r0 Жыл бұрын
having similar issue: res_pjsip_session.c:3962 new_invite: provider: Call (UDP:X.X.X.X:5060) to extension 's' rejected because extension not found in context 'from-sip'.
@rafaelv.taveras5367
@rafaelv.taveras5367 4 жыл бұрын
Hello friend, I need to know how I can, after calling an external number, forward to another internal extension to listen to a recording. Thank you.
@sheridans
@sheridans 4 жыл бұрын
I am just doing videos on project's currently undertaking. Asterisk has great community support community.asterisk.org/
@sheridans
@sheridans 4 жыл бұрын
If you post on our forum we can take further
@leelwando8308
@leelwando8308 3 жыл бұрын
Hi Rafael, did you figure this out yet?
@DhanunjayaReddyD
@DhanunjayaReddyD Жыл бұрын
excellent job....... i am working on the asterisk and sip trunk configuration but unfortunately iam not able to register with provider i don't know where i did wrong can u please help me .............
@sheridans
@sheridans Жыл бұрын
nothing shows up in the console with asterisk -rcv? can also use core sef vervose and core set debug commands for extra output
@garymaya1767
@garymaya1767 10 ай бұрын
Thank you so much that helps, was trying to use the wizard but the endpoints will not connect. Wierd.
@sheridans
@sheridans 10 ай бұрын
Glad it helped 🙂
@josemartinndemensogondongo9142
@josemartinndemensogondongo9142 2 жыл бұрын
good afternoon sir, I am a systems student, please I would like to know if it is possible to implement an asterisk server and make external calls (to cell phones) simply by having an internet connection? And if not, what should I take into account? Thank you.
@sheridans
@sheridans 2 жыл бұрын
If calls are only to be made via an internet connection, you'd need a voip provider to provide you with siptrunks, you pass the call to the sip provider and they handle cellular/pstn routing
@josematinndemesogo9100
@josematinndemesogo9100 Жыл бұрын
@@sheridans please I want your email..
@leelwando8308
@leelwando8308 3 жыл бұрын
Hi, good tutorial. my provider only provided an IP. How do I make an outbound call without authentication
@sheridans
@sheridans 3 жыл бұрын
This doesn't make sense, they should've provided you with credentials to authenticate.
@leelwando8308
@leelwando8308 3 жыл бұрын
Actually non was given..I did however manage to setup outbound calls with no auth. New challenge: I need to initiate a call via nodejs ARI, when the callee picks up, I immediately put them on hold and make them listen to a radio stream configured in musiconhold.conf Progress: 1. I can make outbound calls 2. Stream icecast radio stream via music on hold What I cant figure out: How to immediately put the callee on hold when he picks up and make him listen to the stream. Thanks to your tutorial, I managed to setup outbound calls with no auth
@sheridans
@sheridans 3 жыл бұрын
That's odd regarding no auth, never seen that before. As to your problem (assuming predictive dialer) you would need to create a holding bridge. This may help: github.com/asterisk/ari-py/blob/master/examples/originate_example.py
@7dream479
@7dream479 Жыл бұрын
Hello sir I need to know how to forward call if the extension is busy thanks
@sheridans
@sheridans Жыл бұрын
Look at ${HANGUPCLAUSE}, you can determine if the reason the call was hung up was BUSY (or answered elsewhere etc). From there you can dial another exten if need be. www.asteriskdocs.org/
@dhanunjayreddy1183
@dhanunjayreddy1183 Жыл бұрын
Hi .. Is it possible to listen the event from asterisk server like when I call to someone I need call details like caller,callee,start time,duration,end time etc.... if it possible please let me know I will learn
@sheridans
@sheridans Жыл бұрын
Yes you can using various libraries, Asterisk Manager (built-in) allows you to do this, for example sending incoming call notifications to slack
@dhanunjayreddy1183
@dhanunjayreddy1183 Жыл бұрын
@@sheridans can u share any video reference or I will provide my contact details can you teach me
@sheridans
@sheridans Жыл бұрын
Hiring us has a cost, let me see if I can sort a video on this...
@dhanunjayreddy1183
@dhanunjayreddy1183 Жыл бұрын
@@sheridans ok pls help me I need this
@JG-xd6gm
@JG-xd6gm Жыл бұрын
Hi I have 2 asterisk servers all configured. I tried connecting them together via PJSIP trunk but it doesn’t work because there is no option for me to enter pjsip details for incoming calls. I managed to get past this by allowing anonymous calls in but this is not a god practice. Would really appreciate any help 😀
@sheridans
@sheridans Жыл бұрын
Hi, I'd recommend connect them together via iax2, that's how I usually set them up
@JG-xd6gm
@JG-xd6gm Жыл бұрын
@@sheridans thanks for the fast reply. I have managed to connect them via IAx and SIp was wondering if it can be done via pjsip
@sheridans
@sheridans Жыл бұрын
Have never tried to be honest I always use iax (kind of what its for) and then send the direct the right dialplan to be able to reach extensions on both side or dial out from sip trunks on either side which are all pjsip/sip
@vinith5452
@vinith5452 3 жыл бұрын
Hi, can you make tutorial on how to use custom AGI scripts in asterisk (preferably in Python)
@sheridans
@sheridans 3 жыл бұрын
Could probably do one showing how to use AGI scripts, I don't use python but i can use bash, php, c etc and the language behind it us less important than how variables are passed to the scriot and back, such as a php script i use ti log every call ti slack. Or the one we use which posts answered call count per employee and missed call count at the end of each day
@medsamaleh869
@medsamaleh869 Ай бұрын
I can call my friend ( not same network) like call normal FAI?
@sheridans
@sheridans Ай бұрын
You'll require a sip trink provider to handle external calls
@abajanlife246
@abajanlife246 Жыл бұрын
would have been nice if you had full paged putty, hard to follow in that small window!!
@sheridans
@sheridans Жыл бұрын
Thanks, point taken and noted.
How to install Asterisk (PBX) on FreeBSD | Getting started with Asterisk
25:02
Can you beat this impossible game?
00:13
LOL
Рет қаралды 46 МЛН
Bro be careful where you drop the ball  #learnfromkhaby  #comedy
00:19
Khaby. Lame
Рет қаралды 47 МЛН
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 19 МЛН
100❤️
00:19
Nonomen ノノメン
Рет қаралды 38 МЛН
AstriCon 2024: VoIP 3.0 - The Future of VoIP & AI
32:54
Official Asterisk YouTube Channel
Рет қаралды 425
18 - Crosstalk SIP Trunking - FreePBX 101 v15
22:26
Crosstalk Solutions
Рет қаралды 24 М.
Business Phone Setup Made Easy | 3CX Hosted PBX
14:50
Dave Swift
Рет қаралды 4,2 М.
What is SIP?
5:14
Yeastar
Рет қаралды 47 М.
#miniphone
0:18
Miniphone
Рет қаралды 11 МЛН
What percentage of charge is on your phone now? #entertainment
0:14
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,5 МЛН
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 10 МЛН
Power up all cell phones.
0:17
JL FUNNY SHORTS
Рет қаралды 49 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 17 МЛН