[Asterisk-video] continue dialplan execution after h324m_call
Johansson Olle E
oej at edvina.net
Tue Jan 22 08:20:41 CST 2008
22 jan 2008 kl. 14.57 skrev Sergio Garcia Murillo:
>> Klaus Darilion schrieb:
>>> Johansson Olle E schrieb:
>>>> 22 jan 2008 kl. 10.26 skrev Klaus Darilion:
> [..]
>>>> If an application returns -1, Asterisk will stop execution.
>>>
>>> ...without looking into this particular app...
>>
>> This is the reason.
>> Nevertheless I do not get the ->hangupcause from the local channel
>> - it
>> is always 0. Any hints?
>
> Yes, as Olle says the application hangup by returning -1. Do you
> think it could
> be interesting to return to different extensions to handle the
> different exit causes??
> I.E. as I've seen in some other apps:
> 0 if normal realease (or hangup??)
> ext+100 if not answered
> ext+101 if ..
That is Asterisk 1.2 behaviour, not extension, but priority. We've
stopped doing that and
instead set a XXXYYYSTATUS variable for each application.
Hanging up should be the default action if an application gets a
hangup from the
other end. Optionally having the incoming channel open can be done,
like we do
in dial(), but that has to be an option.
/O
More information about the asterisk-video
mailing list