Extensions

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#1
Where are the extensions created?
I created an extension and I dont see it in extensions.conf or users.conf?
Help
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
again in "Elastix Without Tears", you gotta learn to walk before running.

A hint, there are several lines in extensions.conf that start with

#include => . . .

These lines are significant.
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#3
Well I looked through the include files and I looked through this link:
http://www.freepbx.org/configuration_files

I cannot seem to find where extensions are created... I created an extension 1000 and I cannot seem to find that extension in one of these config files. I get it you are one of those RTFM type guys... and I understand that but there is also something to be said of a forum where users exchange knowledge.

I previous versions of Asterisk I have worked with the extensions are stored in extensions.conf.. not sure where else to look. Perhaps I will have better luck with the Trix branded options.

Thank you
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#4
I am indeed a RTFM kind of guy, I will do that for you as I guess you missed the important bits as you "looked through" the link and 238 pages is indeed a "huge" amount of probably largely irrelevant information :) , look at the line in extensions.conf that says very specifically

#include extensions_custom.conf

Then look at that included file.

(that syntax has been in Asterisk configuration since the year dot)
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#5
Right.. I got that... and I looked at that file... but when I look at extensions_custom.conf here is what I have..

; This file contains the contexts the agents login for the module call center.
; and contains the context conferences for module conferences of elastix 1.0.

[from-internal-custom]
exten => 1234,1,Playback(demo-congrats) ; extensions can dial 1234
exten => 1234,2,Hangup()
exten => h,1,Hangup()
include => agentlogin
include => conferences
include => calendar-event
include => weather-wakeup

[agentlogin]
exten => _*8888.,1,Set(AGENTNUMBER=${EXTEN:5})
exten => _*8888.,n,NoOp(AgentNumber is ${AGENTNUMBER})
exten => _*8888.,n,AgentLogin(${AGENTNUMBER})
exten => _*8888.,n,Hangup()

[mm-announce]
exten => 9999,1,Set(CALLERID(name)="MMGETOUT")
exten => 9999,n,Answer
exten => 9999,n,Playback(conf-will-end-in)
exten => 9999,n,Playback(digits/5)
exten => 9999,n,Playback(minutes)
exten => 9999,n,Hangup

[conferences]
;Used by cbEnd script to play end of conference warning
exten => 5555,1,Answer
exten => 5555,n,Wait(3)
exten => 5555,n,CBMysql()
exten => 5555,n,Hangup

[calendar-event]
exten => _*7899,1,Answer
exten => _*7899,2,Playback(${FILE_CALL})
exten => _*7899,3,Wait(2)
exten => _*7899,4,Hangup()

[weather-wakeup]
exten => *61,1,Answer
exten => *61,2,AGI(nv-weather.php)
exten => *61,3,Hangup
exten => *62,1,Answer
exten => *62,2,AGI(wakeup.php)
exten => *62,3,Hangup

I have extension 1000 created... I dont see what extension defined here.
 

tknman0700

Joined
Oct 30, 2009
Messages
49
Likes
0
Points
0
#6
They are in sip_additional.conf.
For others the trunks are in this file as well.
I gathered this from your other post to me.

In my experience the user extensions are defined in extensions.conf - My experience is with Digium AA50 appliances.

Thanks
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#7
You are perhaps confusing the difference between an extension and the provisioning of that extension, (This post was named "Extensions" ), refer to my other post for the SIP bit, or IAX2 etc. if the extension of which you speak is provisioned with some other protocol.

Again www.voipinfo.org has a wealth of info, as does EWT.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,913
Messages
130,917
Members
17,589
Latest member
cristian.saiz
Top