Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] missing ${DIALSTATUS} in hangup extension?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
bbridges at ifbyphone.com
Guest





PostPosted: Tue Mar 04, 2008 4:32 pm    Post subject: [asterisk-users] missing ${DIALSTATUS} in hangup extension? Reply with quote

Hi all,

I've been working on debugging a bit of a custom dialplan system, and
seem to have run into some issues on our development server. Hopefully
someone can give me some pointers on this one! =)

In a nutshell, we have a hangup extension that's being triggered to feed
data back to an api on our main webserver that seems to be randomly
"losing" the dialstatus channel variable.

For example, here is the line from our hangup extension in this context:

exten => h,n,System(/usr/bin/wget -q -b --output-file=/dev/null
"http://********.ifbyphone.com/******.php?action=outcallstatus&accountcode=${accountcode}&status=${DIALSTATUS}&trace")

It appears that about 50% of the time, when this gets called,
${DIALSTATUS} is empty. I have not been able to determine a cause or
any way to reliably replicate this.

Here's an example of the output from the console:

-- Executing [h at broadcast:1]
NoOp("Local/18476766607 at broadcast_outdial-8f51,1", "") in new stack
-- Executing [h at broadcast:2]
System("Local/18476766607 at broadcast_outdial-8f51,1", "/usr/bin/wget -q
-b --output-file=/dev/null
"http://******.ifbyphone.com/********.php?action=outcallstatus&accountcode=ast-dev-46616515680&status=&trace"")
in new stack

Any thoughts?

--
Brooks R. Bridges
Telecommunications Manager
Ifbyphone, Inc.
Phone: (847) 983-3000
Fax: (847) 676-6553
bbridges at ifbyphone.com
http://www.ifbyphone.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services