[asterisk-dev] Dialstatus Oddity in 1.2

steve at daviesfam.org steve at daviesfam.org
Mon Jan 23 00:31:00 MST 2006



On Sun, 22 Jan 2006, John Todd wrote:

> My mail is making it through to the list!  A miracle!
> 
> I would expect an unavailable IAX peer to return "CHANUNAVAIL", 
> actually.  But this really does warrant some more discussion about 
> what return codes are passed back to the dialplan, and why.

Hi John,

Nice to have you back ;-)

Good points on the DIALSTATUS.

In trying to do complicated stuff with Asterisk I often feel the lack of 
detailed call status.  Various channels set various variables, and 
those that don't, should.

But I also think we could do something to abstract those into more 
detailed, but still channel-independent values.

Perhaps one can take inspiration from ISUP from SS7 (and its baby-brother,
ISDN itself).  It it true, though, that even the telcos often don't seem
sure what code to use for particular conditions.

There's another thing that needs thought:

I Dial(IAX2/place/number).  On "place", perhaps it dials
Dial(SIP/place2/number).  On place2, it dials Dial(Zap/g0/number).

Back on the home machine, I'd like to be able to see the detailed call 
results from the end-call, and, preferably, all the detailed 
call results from all the hops.

So "DIALSTATUS" is now a whole set of values (associative arrays,
anyone?).  Or a bunch of variables in a kind-of linked list.

Regards,
Steve



More information about the asterisk-dev mailing list