[asterisk-users] API Originate Action -
distinguishingbetweenNoAnswer and Invalid phone number
Michael Collins
mcollins at fcnetwork.com
Fri Feb 2 14:41:31 MST 2007
> I have been having a very similar problem. Has anyone here gotten a
> DIALSTATUS for calls started with originate?
>
> I did some research and saw some posts that local channels are the
> solution
> to this problem. However, I could not find examples of how to use
local
> channels with originate. I could not get it to work. I posted a topic
> (Using
> Local Channels with originate) to this list yesterday with the details
> about
> what I had tried. Maybe you will see what I missed.
>
> -Brian
>
Brian,
I have had zero success with local channels as well. When I dial a
local channel, I actually get TWO outbound channels. It's weird. My
logs show two passes through the dialplan even though I've called
Dial(Local/xxx) only once. The phone number received two calls
simultaneous. I've tried with and without the /n just to see if there's
a difference. (There isn't, at least on my system.)
If anyone out there has success stories using local channels with API
Originate (or .call files) then we'd love to hear about it! Please let
us know how you've overcome the limitations of autodialing, i.e. no
DIALSTATUS, no dialplan processing on failed attempts unless you have a
'failed' extension, no DIALSTATUS information going to the 'failed'
extension, etc. I still don't know how to distinguish between a legit
NO ANSWER and an INVALID phone number. (They both 'fail' on an
Originate and they both produce a second CDR with a disposition of NO
ANSWER. BTW, I'm using PRI, and I've tried both inband and outofband
signaling.)
Thanks,
MC
More information about the asterisk-users
mailing list