[asterisk-users] ${ANSWEREDTIME} returning null

2014-09-17 Thread Anurag Rana
Hi, I am initiating a call using call files. In 'h' extension I am trying to collect the value of ANSWEREDTIME variable but it is returning null. While It works fine when call is not generated using call files instead is generated from softphone. any idea what might be wrong? thanks Anurag

Re: [asterisk-users] ${ANSWEREDTIME} returning null

2014-09-17 Thread Anurag Rana
Call file syntax: Channel: SIP/ MaxRetries: 2 Context: demo1 Extension: s Priority: 1 WaitTime: 30 RetryTime: 60 in dialplan: exten=h,n,NoOp(${DIALLEDPEERNUMBER) variable ${DIALLEDPEERNUMBER} is returning null. Suggestions please? Thanks Anurag Rana http://newbie42.blogspot.in/ --

Re: [asterisk-users] ${ANSWEREDTIME} returning null

2014-09-17 Thread A J Stiles
On Wednesday 17 Sep 2014, Anurag Rana wrote: in dialplan: exten=h,n,NoOp(${DIALLEDPEERNUMBER) variable ${DIALLEDPEERNUMBER} is returning null. Suggestions please? Thanks Anurag Rana http://newbie42.blogspot.in/ Asterisk has it mis-spelled as DIALEDPEERNUMBER (sic). Try exten =

Re: [asterisk-users] ${ANSWEREDTIME} returning null

2014-09-17 Thread Anurag Rana
Oh, Sorry My mistake, I misspelled it in mail. It is already ${DIALEDPEERNUMBER}, still returning null. Anurag Rana http://newbie42.blogspot.in/ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to

Re: [asterisk-users] ${ANSWEREDTIME} returning null

2014-09-17 Thread A J Stiles
On Wednesday 17 Sep 2014, Anurag Rana wrote: Oh, Sorry My mistake, I misspelled it in mail. It is already ${DIALEDPEERNUMBER}, still returning null. Anurag Rana http://newbie42.blogspot.in/ Hmm. I've looked a bit further. According to the documentation, ${DIALEDPEERNUMBER} is set by a

Re: [asterisk-users] ${ANSWEREDTIME} returning null

2014-09-17 Thread Anurag Rana
Thanks, That worked. :) Anurag Rana http://newbie42.blogspot.in/ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:

Re: [asterisk-users] ${ANSWEREDTIME} returning null

2014-09-17 Thread A J Stiles
On Wednesday 17 Sep 2014, Anurag Rana wrote: Thanks, That worked. :) Anurag Rana http://newbie42.blogspot.in/ Good; it's always nice to hear that someone has got something working! -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to