search for: dialresult

Displaying 2 results from an estimated 2 matches for "dialresult".

2006 Jun 05
1
This should be easy: What happens when the Calling Party hangs up
svn trunk 31497 For the life of me, I can't get this :) I want to be able to catch the situation where the calling party hangs up *before* the call is connected to the called party. My dialplan is thus: macro DialExternal(exten) { Dial(Zap/G3/${exten},120,g,M(connected)); goto DialResult|r${HANGUPCAUSE}|1; Hangup(); }; But the goto dialresult is not executed: Executing [from-sip:1] Macro("SIP/7XX-b403", "DialExternal|xxxxxx") in new stack -- Executing [macro-DialExternal:1] Dial("SIP/7XX-b403", "Zap/G3/07803034440|120|g|M(connect...
2006 Jun 14
1
Determining if extension exists
All, Is there a way I can perform a lookup to see if a given extension exists within a given context, on the local system? I could call Dial() and check the result of $DIALRESULT, but I'm thinking there should be a better way. Note, that I don't want to use ChanIsAvail(). That's only for determining if endpoints, ie phones, are registered. It doesn't seem to work with extensions. I am (trying) to use DUNDi. I'd like to perform a local lookup first (see...