[asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Zhang Shukun
hi, All one thing confused me a long time. when i change the extensions.conf file. why not take effects after restart the asterisk? details as follow: my dailplan is : [95040] exten = _95040X,1,Set(CALLINNUM=${CALLERID(dnid)}) exten = _95040X,n(start),Answer exten =

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Emanuele Carbone
check the Goto cmd syntax 2010/3/10 Zhang Shukun bit...@gmail.com hi, All one thing confused me a long time. when i change the extensions.conf file. why not take effects after restart the asterisk? details as follow: my dailplan is : [95040] exten =

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Håkon Nessjøen
On Wed, Mar 10, 2010 at 10:38 AM, Zhang Shukun bit...@gmail.com wrote: hi, All one thing confused me a long time. when i change the extensions.conf file. why not take effects after restart the asterisk? details as follow: Type dialplan reload in your CLI --

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Danny Nicholas
. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Emanuele Carbone Sent: Wednesday, March 10, 2010 3:57 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Extensions.conf changed but not take effect

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Warren Selby
On Wed, Mar 10, 2010 at 3:38 AM, Zhang Shukun bit...@gmail.com wrote: [95040] exten = _95040X,1,Set(CALLINNUM=${CALLERID(dnid)}) exten = _95040X,n(start),Answer exten = _95040X,n(welcome),Background(${welcomefile},,123) ... exten = i,1,Playback(invalid) exten =

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Philipp von Klitzing
exten = _95040X,1,Set(CALLINNUM=${CALLERID(dnid)}) Try setting CALLINNUM to ${EXTEN}. exten = _95040X,1,Set(CALLINNUM=${EXTEN}). CALLERID(num) instead of CALLINNUM (which is 100% wrong) -- _ -- Bandwidth and

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Warren Selby
On Wed, Mar 10, 2010 at 2:09 PM, Philipp von Klitzing klitz...@pool.informatik.rwth-aachen.de wrote: exten = _95040X,1,Set(CALLINNUM=${CALLERID(dnid)}) Try setting CALLINNUM to ${EXTEN}. exten = _95040X,1,Set(CALLINNUM=${EXTEN}). CALLERID(num) instead of CALLINNUM (which is

Re: [asterisk-users] Extensions.conf changed but not take effect

2010-03-10 Thread Philipp von Klitzing
CALLERID(num) instead of CALLINNUM (which is 100% wrong) How is it wrong if he's creating his own variable named CALLINNUM? Maybe you are right, it just looked to me like a typo in for the old and deprecated ${CALLERIDNUM}. Philipp --