<div dir="ltr"><div><div>Thanks Stiles<br></div>Trying as u asked to do........<br><br></div>Regards<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 6:10 PM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday 06 May 2016, Alok Srivastava wrote:<br>
> Dear List<br>
> wanna configure click2call in such a manner that my asterisk box call two<br>
> mobile numbers and connect both numbers to talk. I have configured voip<br>
> gateway, my internal and external calls are working fine.<br>
> please help ,<br>
<br>
</span>You ought to be able to do this just using call files.<br>
<br>
All you have to do is inject a callfile (format is explained on the Wiki)<br>
into the folder /var/spool/asterisk/outgoing/ . You have to do this within a<br>
CGI script, so you can pass the two end numbers to that script when the button<br>
is clicked.<br>
<br>
Note that depending on the block size used on the underlying device, you<br>
probably should first create the file in some temporary location and then mv it<br>
to ...outgoing/ . Otherwise there is a danger of Asterisk reading an<br>
incomplete file and doing nothing. Only if you know the entire file is<br>
definitely going to be smaller than one block, can you get away with creating<br>
it in place.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
AJS<br>
<br>
Note: Originating address only accepts e-mail from list! If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>