<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello everybody,<br>
<br>
I have been trying lately to generate an outbound call from a .call
file <b>but </b>using a local channel. <br>
<br>
I need the local channel in order populate ${HANGUPCAUSE} asterisk
variable. <br>
<br>
Hangupcause gives a better explanation than ${REASON} as to why call
has failed, and hence one can find out if receiving device has not
3g video capability, or is out of 3g coverage e.t.c<br>
<br>
No matter what i try i cannot make it work. <br>
<br>
I have managed to do outbound calls generated by .call file, but not
with a local channel<br>
<br>
I am using the following:<br>
<br>
Channel: Zap/g0/number<br>
CallerId: $strCallerId<br>
Context: from-dialer<br>
Extension: outbound<br>
Priority: 1<br>
Set: CHANNEL(transfercapability)=VIDEO<br>
Set: CHANNEL(userinformationlayer1)=38<br>
<br>
<br>
[from-dialer]<br>
<br>
exten => outbound,1,h324m_gw(play@video-campaign)<br>
<br>
[video-campaign]<br>
<br>
exten => play,1,h324m_gw_answer()<br>
exten => play,n,mp4play(${filename})<br>
exten => play,n,Hangup()<br>
<br>
Could someone modify the above in order to work with local channel,
so the dial command can be in the dialplan<br>
<br>
Thank you very much in advance for your help<br>
<br>
Regards<br>
<br>
Dinos<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-signature"><br>
</div>
</body>
</html>