[asterisk-dev] HELP: Change the way of reading 'extensions.conf'

Abdulaziz Alasiri a.alasiri at yahoo.com
Mon Apr 25 11:47:00 CDT 2011



Tilghman,
Thank you so much , that's what I'm looking for (pbx/pbx_config.c).

rhuddleston at gmail.com,
Sorry, it is my bad. My English is not very well :) , thank you for your 
response.

I really appreciate your help guys :)

~~~~~~
regards ,,,
Alasiri



________________________________
From: Tilghman Lesher <tilghman at meg.abyt.es>
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
Sent: Sun, April 24, 2011 5:36:34 AM
Subject: Re: [asterisk-dev] HELP: Change the way of reading 'extensions.conf'

On Thursday 21 April 2011 19:57:36 Abdulaziz Alasiri wrote:
> I'm a Computer Sciences student and I'm working on my Graduate Project.
> My professor asked me to change the way that 'Asterisk' uses to read
> 'extensions.conf'
> but I dont know which file I should edit.
> 
> For more explanation, I wanna change
> exten =>_2XXXX,1,Dial(IAX2/Remote_Server/${EXTEN})
> to something else.

The method of reading extensions.conf is defined in main/config.c.  This
affects ALL config files, so it's probably not what you want.  Once the file
is loaded into memory, the syntax is parsed with pbx/pbx_config.c.  This may
be what you're looking for, but I suspect it is not.  The real workhorse of
extension evaluation is located in main/pbx.c.

-- 
Tilghman

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110425/f0f33576/attachment.htm>


More information about the asterisk-dev mailing list