Hi Steve,<br><br>I am using Asterisk version 1.6.2.5-0. Surprisingly, I don't see "dialplan reload". When I do "core show help dialplan" I get list of commands as:<br><i><br>moment-portable*CLI> core show help dialplan<br>
dialplan debug Show fast extension pattern matching data structures<br> dialplan set chanvar Set a channel variable<br> dialplan set extenpatternmatch Use the Old extension pattern matching algorithm.<br>
dialplan set extenpatternmatch Use the New extension pattern matching algorithm.<br> dialplan set global Set global dialplan variable<br> dialplan show chanvar Show channel variables<br>
dialplan show globals Show global dialplan variables<br> dialplan show Show dialplan<br></i><br>Also executing "echo $(cat /proc/<pid-of-asterisk>cmdline)" returned this path<br>
<b>/usr/sbin/asterisk-p-Uasterisk</b><br><br>I have verified the symlink between two extensions.conf files. It is okay now.<br>My dialplan show returns some 28 contexts (<b>all pbx_ael and no pbx_config</b>) and looks like this<br>
(seems context are read from extensions.ael file only)<br><br><i>[ Context 'default' created by 'pbx_lua' ]<br> Alt. Switch => 'Lua/' [pbx_lua]<br>moment-portable*CLI> <br>
[ Context 'demo' created by 'pbx_lua' ]<br> Alt. Switch => 'Lua/' [pbx_lua]<br>moment-portable*CLI> <br>[ Context 'local' created by 'pbx_lua' ]<br>
Alt. Switch => 'Lua/' [pbx_lua]<br><br>moment-portable*CLI> <br>[ Context 'ael-default' created by 'pbx_ael' ]<br> Include => 'ael-demo' [pbx_ael]<br>
<br>[ Context 'ael-demo' created by 'pbx_ael' ]<br> '#' => 1. Playback(demo-thanks) [pbx_ael]<br> 2. Hangup() [pbx_ael]<br>
'1000' => 1. Goto(ael-default,s,1) [pbx_ael]<br> '2' => 1. Background(demo-moreinfo) [pbx_ael]<br> 2. Goto(s,instructions) [pbx_ael]<br>
'3' => 1. Set(LANGUAGE()=fr) [pbx_ael]<br> 2. Goto(s,restart) [pbx_ael]<br> '500' => 1. Playback(demo-abouttotry) [pbx_ael]<br>
2. Dial(IAX2/<a href="http://guest@misery.digium.com/s@default">guest@misery.digium.com/s@default</a>) [pbx_ael]<br> 3. Playback(demo-nogo) [pbx_ael]<br> 4. Goto(s,instructions) [pbx_ael]<br>
'600' => 1. Playback(demo-echotest) [pbx_ael]<br> 2. Echo() [pbx_ael]<br> 3. Playback(demo-echodone) [pbx_ael]<br>
4. Goto(s,instructions) [pbx_ael]<br> '8500' => 1. VoicemailMain() [pbx_ael]<br> 2. Goto(s,instructions) [pbx_ael]<br>
'i' => 1. Playback(invalid) [pbx_ael]<br> 's' => 1. Wait(1) [pbx_ael]<br> 2. Answer() [pbx_ael]<br>
3. Set(TIMEOUT(digit)=5) [pbx_ael]<br> 4. Set(TIMEOUT(response)=10) [pbx_ael]<br> [restart] 5. Background(demo-congrats) [pbx_ael]<br>
[instructions] 6. MSet(x=$[0]) [pbx_ael]<br> 7. GotoIf($[ ${x} < 3]?8:12) [pbx_ael]<br> 8. Background(demo-instruct) [pbx_ael]<br>
9. WaitExten() [pbx_ael]<br> 10. MSet(x=$[${x} + 1]) [pbx_ael]<br> 11. Goto(7) [pbx_ael]<br>
12. NoOp(Finish for-ael-demo-3) [pbx_ael]<br> 't' => 1. Goto(#,1) [pbx_ael]<br> '_1234' => 1. Gosub(ael-std-exten-ael,s,1(${EXTEN}, "IAX2")) [pbx_ael]<br>
<br>[ Context 'ael-local' created by 'pbx_ael' ]<br> Include => 'ael-default' [pbx_ael]<br> Include => 'ael-trunklocal' [pbx_ael]<br>
Include => 'ael-iaxtel700' [pbx_ael]<br> Include => 'ael-trunktollfree' [pbx_ael]<br> Include => 'ael-iaxprovider' [pbx_ael]<br>
Ignore pattern => '9' [pbx_ael]<br><br>[ Context 'ael-longdistance' created by 'pbx_ael' ]<br> Include => 'ael-local' [pbx_ael]<br>
Include => 'ael-trunkld' [pbx_ael]<br> Ignore pattern => '9' [pbx_ael]<br><br>[ Context 'ael-international' created by 'pbx_ael' ]<br>
Include => 'ael-longdistance' [pbx_ael]<br> Include => 'ael-trunkint' [pbx_ael]<br> Ignore pattern => '9' [pbx_ael]<br>
moment-portable*CLI> <br></i> <br><br>Thanks,<br><br><div class="gmail_quote">Abhinav<br><br><br>On Wed, Jan 19, 2011 at 3:44 PM, Steve Edwards <span dir="ltr"><<a href="http://asterisk.org">asterisk.org</a>@<a href="http://sedwards.com">sedwards.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Please do not add me or yourself to the address list. We should keep the discussion on the list (and just the list) so it is available to everyone.<br>
<br>
Also, top-posting is 'frowned upon.'<div class="im"><br>
<br>
On Wed, 19 Jan 2011, abhinav anand wrote:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Here are the answers to the questions.<br>
<br>
1) Do you need to do a 'dialplan reload?'<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I don't need to do a dialplan reload. Infact there is no such command as "dialplan reload". I simply do a "reload" each time I make a config change.<br>
</blockquote>
<br></div>
What version of Asterisk are you using?<br>
<br>
1.2 = 'extensions reload'<br>
<br>
1.6 = 'dialplan reload'<br>
<br>
(I don't have a 1.4 or 1.8 on hand.)<br>
<br>
If you don't have one of these, something is seriously wrong.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2) Are you sure you are editing the extensions.conf that your Asterisk is configured to read?<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
There are two extensions.conf files present in /etc/asterisk/extensions.conf /home/moment/openbts-uhd/public-trunk/AsteriskConfig/extensions.conf<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I am making the changes in /etc/asterisk file. However, when I have tried putting same changes in other file too but again no success.<br>
</blockquote>
<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
3) Do you start Asterisk with the -C command line option?<br>
</blockquote><div class="im">
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I start Asteisk using "sudo asterisk -vvvvvvvgcr" or "sudo asterisk -r". "-c" says Asterisk already running on /var/run/asterisk/asterisk.ctl. Use 'asterisk -r' to connect.<br>
</blockquote>
<br></div>
The 'r' command line option asks to connect to an existing instance, so this is not the command you use to start Asterisk.<br>
<br>
The 'upper-case C' command line option allows you to specify location other than /etc/asterisk/ for asterisk.conf.<br>
<br>
Typing 'echo $(cat /proc/<pid-of-asterisk>/cmdline)' will show the command line and options Asterisk was started with.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
4) What is the value of 'astetcdir' in asterisk.conf?<br>
The value is as astetcdir => /etc/asterisk and other values are:<br>
[directories](!) ; remove the (!) to enable this<br>
astetcdir => /etc/asterisk<br>
astmoddir => /usr/lib/asterisk/modules<br>
astvarlibdir => /var/lib/asterisk<br>
astdbdir => /var/lib/asterisk<br>
astkeydir => /var/lib/asterisk<br>
astdatadir => /usr/share/asterisk<br>
astagidir => /usr/share/asterisk/agi-bin<br>
astspooldir => /var/spool/asterisk<br>
astrundir => /var/run/asterisk<br>
astlogdir => /var/log/asterisk<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Some extra information:<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
- My asterisk version is Asterisk 1.6.2.5-0ubuntu1.1 built by buildd @ palmer on a i686 running Linux on 2010-07-16 13:24:33 UTC<br>
</blockquote>
<br></div>
So 'dialplan reload' would be the proper command to just reload the dialplan.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
- I am not able to verify the symlink between the two extensions.conf files<br>
</blockquote>
<br></div>
If you edit one and your edits don't magically appear in the other, they are not linked.<br>
<br>
The 'ls' command can also be use to confirm 'linkness.'<br>
<br>
When you do a 'dialplan show' do you see lines like:<br>
<br>
1. mumble-mumble [pbx_config]<br>
<br>
or<br>
<br>
1. mumble-mumble [pbx_ael]<br>
<br>
or both?<br>
<br>
(pbx_config means extensions.conf, pbx_ael means extensions.ael)<div><div></div><div class="h5"><br>
<br>
-- <br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>ABHINAV ANAND<br><br>3GPP Modem Lab., Modem R&D Team <br>
Telecommunication R&D Center<br>Information & Communication Business<br>SAMSUNG ELECTRONICS Co., Ltd.<br>SUWON, SOUTH KOREA<br>