VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
larclap at yahoo.com Guest
|
Posted: Tue May 26, 2009 7:04 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
I followed Michael Collin’s instruction in an earlier email about building pre8. During the ./bootstrap.h, I encountered the following error:
Entering directory /usr/src/freeswitch.trunk/libs/libsndfile
Creating aclocal.m4
Running libtoolize...
Putting files in AC_CONFIG_AUX_DIR, `Cfg'.
Creating configure
configure.ac:278: error: possibly undefined macro: AC_OCTAVE_BUILD
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:478: error: possibly undefined macro: AC_GCC_VERSION
Do I need to worry about this?
Also, in general, do the XML files in config get updated during the ‘make install’, or are they left as they were from the previous builds?
Thanks, Lars |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue May 26, 2009 7:19 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
First off pre8 came prebootstrapped no need to run it. So please try again.
/b
On May 26, 2009, at 7:03 PM, Lars Zeb wrote:
Quote: | I followed Michael Collin’s instruction in an earlier email about building pre8. During the ./bootstrap.h, I encountered the following error:
Entering directory /usr/src/freeswitch.trunk/libs/libsndfile
Creating aclocal.m4
Running libtoolize...
Putting files in AC_CONFIG_AUX_DIR, `Cfg'.
Creating configure
configure.ac:278: error: possibly undefined macro: AC_OCTAVE_BUILD
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:478: error: possibly undefined macro: AC_GCC_VERSION
Do I need to worry about this?
Also, in general, do the XML files in config get updated during the ‘make install’, or are they left as they were from the previous builds?
Thanks, Lars
|
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue May 26, 2009 7:58 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
Quote: |
Also, in general, do the XML files in config get updated during the ‘make install’, or are they left as they were from the previous builds?
|
Running "make install" or "make samples" will not overwrite your existing configuration files. NOTE: This means that when the default configuration changes you will need to update your files manually and integrate the new changes. This is one reason why I recommend making as few edits as possible to the default configuration files.
-MC |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Tue May 26, 2009 8:52 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
So your saying instead of:
cd /usr/src/freeswitch.trunk
make clean
svn up
../bootstrap.sh
../configure
make install
do:
cd /usr/src/freeswitch.trunk
make clean
svn up
../configure
make install
?
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, May 26, 2009 5:18 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Questions on build 13441
First off pre8 came prebootstrapped no need to run it. So please try again.
/b
On May 26, 2009, at 7:03 PM, Lars Zeb wrote:
I followed Michael Collin’s instruction in an earlier email about building pre8. During the ./bootstrap.h, I encountered the following error:
Entering directory /usr/src/freeswitch.trunk/libs/libsndfile
Creating aclocal.m4
Running libtoolize...
Putting files in AC_CONFIG_AUX_DIR, `Cfg'.
Creating configure
configure.ac:278: error: possibly undefined macro: AC_OCTAVE_BUILD
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:478: error: possibly undefined macro: AC_GCC_VERSION
Do I need to worry about this?
Also, in general, do the XML files in config get updated during the ‘make install’, or are they left as they were from the previous builds?
Thanks, Lars |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed May 27, 2009 10:24 am Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
I'll get the docs section fixed this has changed and will require us to fix it.
Thanks,
On May 27, 2009, at 10:16 AM, Lars Zeb wrote:
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Wed May 27, 2009 10:34 am Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
Michael,
Thanks for the advice. Where would you place this extension in my current conf/dialplan/default.xml to avoid the integration issue?
<extension name="Local_Extension">
<condition field="destination_number" expression="^(10[01][0-9])$">
<action application="set" data="dialed_ext=$1"/>
<action application="export" data="dialed_ext=$1"/>
</condition>
<condition field="destination_number" expression="^${caller_id_number}$">
<action application="set" data="voicemail_authorized=${sip_authorized}"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="voicemail" data="check default $${domain} ${dialed_ext}"/>
<anti-action application="bind_meta_app" data="1 a a execute_extension::dx XML features"/>
<anti-action application="bind_meta_app" data="2 a a record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<anti-action application="bind_meta_app" data="3 a a execute_extension::cf XML features"/>
<anti-action application="set" data="transfer_ringback=${us-ring}"/>
<anti-action application="set" data="call_timeout=15"/>
<anti-action application="set" data="sip_exclude_contact=${network_addr}"/>
<anti-action application="set" data="hangup_after_bridge=true"/>
<anti-action application="set" data="continue_on_fail=true"/>
<anti-action application="db" data="insert/call_return/${dialed_ext}/${caller_id_number}"/>
<anti-action application="db" data="insert/last_dial_ext/${dialed_ext}/${uuid}"/>
<anti-action application="bridge" data="user/${dialed_ext}@$${domain}"/>
<anti-action application="answer"/>
<anti-action application="sleep" data="1000"/>
<anti-action application="voicemail" data="default $${domain} ${dialed_ext}"/>
</condition>
</extension>
Also, on http://wiki.freeswitch.org/wiki/Mod_cdr_csv, near the bottom of the page under ‘uuid’, the two hyperlinks (‘ref’) are broken.
Thanks, Lars
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Tuesday, May 26, 2009 5:57 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Questions on build 13441
Quote: |
Also, in general, do the XML files in config get updated during the ‘make install’, or are they left as they were from the previous builds?
|
Running "make install" or "make samples" will not overwrite your existing configuration files. NOTE: This means that when the default configuration changes you will need to update your files manually and integrate the new changes. This is one reason why I recommend making as few edits as possible to the default configuration files.
-MC |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed May 27, 2009 10:34 am Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
Lars, Please register and correct anything you see wrong on the wiki if possible.
Thanks,
Brian
On May 27, 2009, at 10:16 AM, Lars Zeb wrote:
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed May 27, 2009 12:08 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
On Wed, May 27, 2009 at 8:20 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: | I'll get the docs section fixed this has changed and will require us to fix it.
Thanks,
On May 27, 2009, at 10:16 AM, Lars Zeb wrote:
| Fixed.
-MC |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Wed May 27, 2009 1:50 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
Michael, thanks for fixing the links.
And what about your advice on defining an extension that pertains all internal extensions (1000-1019) which I have currently put in conf/dialplan/default.xml? Is there an alternative file I should be putting this into?
Lars
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Wednesday, May 27, 2009 10:05 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Questions on build 13441
On Wed, May 27, 2009 at 8:20 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
I'll get the docs section fixed this has changed and will require us to fix it.
Thanks,
On May 27, 2009, at 10:16 AM, Lars Zeb wrote:
Fixed.
-MC |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed May 27, 2009 1:59 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
On Wed, May 27, 2009 at 11:28 AM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote: |
Michael, thanks for fixing the links.
And what about your advice on defining an extension that pertains all internal extensions (1000-1019) which I have currently put in conf/dialplan/default.xml? Is there an alternative file I should be putting this into?
| If you need to change the default local_extensions dp entry then there's not a whole lot of options. You could manually delete (or carefully comment out) all of the default stuff and then create your own custom version of that extension and place it in conf/dialplan/default/00_MyExtension.xml or something like that...
The reason I say carefully comment out is that you cannot nest comments in XML.
-MC |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Wed May 27, 2009 6:01 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
When I create an xml file in conf/dialplan/default, I assume that it’s ‘inheriting’ its context, right?
If that’s so, do I use this structure, for example conf/dialplan/default/00_MyExtension.xml:
<include>
<extension name=”Local_Extension”>
…
</extension>
</include>
Thanks, Lars
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Wednesday, May 27, 2009 11:56 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Questions on build 13441
On Wed, May 27, 2009 at 11:28 AM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Michael, thanks for fixing the links.
And what about your advice on defining an extension that pertains all internal extensions (1000-1019) which I have currently put in conf/dialplan/default.xml? Is there an alternative file I should be putting this into?
If you need to change the default local_extensions dp entry then there's not a whole lot of options. You could manually delete (or carefully comment out) all of the default stuff and then create your own custom version of that extension and place it in conf/dialplan/default/00_MyExtension.xml or something like that...
The reason I say carefully comment out is that you cannot nest comments in XML.
-MC |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed May 27, 2009 6:07 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
Order matters if something is loaded higher that matches which the debug log shows you this if you press F8
/b
On May 27, 2009, at 5:56 PM, Lars Zeb wrote:
Quote: | When I create an xml file in conf/dialplan/default, I assume that it’s ‘inheriting’ its context, right?
If that’s so, do I use this structure, for example conf/dialplan/default/00_MyExtension.xml:
<include>
<extension name=”Local_Extension”>
…
</extension>
</include>
Thanks, Lars
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed May 27, 2009 6:10 pm Post subject: [Freeswitch-users] Questions on build 13441 |
|
|
On Wed, May 27, 2009 at 3:56 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote: |
When I create an xml file in conf/dialplan/default, I assume that it’s ‘inheriting’ its context, right?
| Correct. Files in conf/dialplan/default/*xml are included in the default context while conf/dialplan/public/*xml are included in the public context. You may also create your own contexts if need be.
Quote: |
If that’s so, do I use this structure, for example conf/dialplan/default/00_MyExtension.xml:
<include>
<extension name=”Local_Extension”>
…
</extension>
</include>
| Yes, that is perfectly fine.
-MC |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|