Showing posts with label Vicidial. Show all posts
Showing posts with label Vicidial. Show all posts

Wednesday, 16 July 2025

How to – Fix “Unable to lookup ‘SERVER_EXTERNAL_IP'”

 

How to – Fix “Unable to lookup ‘SERVER_EXTERNAL_IP'”

image.png


image.png
This error is the newer SVN versions and technically, won’t cause any issues, however here is the fix for it. Type the following command in your Linux Command Line:

sudo sed -i 's/SERVER_EXTERNAL_IP/0.0.0.0/' /etc/asterisk/pjsip.conf

That’s all there is to it.

Sunday, 29 December 2024

THREE LEVEL DIAL PLAN FOR INCOMING CALL MOVE TO . 1.EXTENSION 2. MOBILE NUMBER 3. VOICEMAIL.

 I'm trying to set up a call routing that would dial an extension first, if failed, then divert the call to a mobile number, if no answer then go to voicemail. What i have done is I created a Custom App and have the following call flow in there:


exten => 9184XXXXXXXX,1,GOTO(s,1)                                                                        
exten => s,1,Set(DivertNumber=194xxxxxxxx)                                                        
exten => s,2,Dial(SIP/147xxxxxxxx,18,
tr)                                                                      
exten => s,3,Dial(sip/${DivertNumber}@trunkname
,18,t)            
exten => s,4,Voicemail(85991@HSS)      
                                       
exten => s,5,Hangup()

Configuration for Voicemail if you want:-

vi /etc/asterisk/voicemail.conf                        should be an entry on a voicemail file like this.
[HSS]
85991 => 85991,abc,xxxxxx@gmail.com