[asterisk-users] AGI script
Yawar Hadi
yawarhadi at gmail.com
Fri Feb 20 07:30:52 CST 2009
okay
this is the dial plan u can test it and let me know if u want more
information ...
and script is attached.
exten=>112,1,AGI(DialNumber.pl|${EXTEN});
exten=>112,2,Dial(SIP/Terminator/${DestNo}|);
exten=>112,3,Hangup();
on second in place of termeinator u have to use the ip of terminator to
which u r sending ur traffic.if u want to call sip sip of from one soft
phone to second soft phone then remoce /terminator ok... like
(SIP/${DestNo})
mail be back if any problem.
On Fri, Feb 20, 2009 at 1:07 PM, michel freiha <michofr at gmail.com> wrote:
> Dear Yawar,
>
> I'll appreciate a lot if you send to me these scripts in order to test
>
> Regards
>
> On Fri, Feb 20, 2009 at 5:58 AM, Yawar Hadi <yawarhadi at gmail.com> wrote:
>
>> i have in perl AGI script if u want then let me know ...?
>>
>>
>> On Fri, Feb 20, 2009 at 4:59 AM, Steve Edwards <asterisk.org at sedwards.com
>> > wrote:
>>
>>> On Fri, 20 Feb 2009, michel freiha wrote:
>>>
>>> > I need the following....A customer will dial a specific number like
>>> 112,this
>>> > will fire a php AGI script...The AGI script will connect to the
>>> database and
>>> > see if this number (112) is registered in a specific table...If yes,
>>> AGI
>>> > script will return to asterisk a destination number registered in that
>>> table
>>> > and match the 112 then asterisk will dial out the number fetched
>>> >
>>> > Please let me know if you need any other information
>>>
>>> 1) How much are you paying for us to do your work?
>>>
>>> 2) Shouldn't this be on -biz?
>>>
>>> Thanks in advance,
>>> ------------------------------------------------------------------------
>>> Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
>>> Newline Fax: +1-760-731-3000
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>>
>> --
>> Best regards
>>
>> Yawar Hadi Noshahi
>> QAU Islamabad
>> (+92-0300-5504798)
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Best regards
Yawar Hadi Noshahi
QAU Islamabad
(+92-0300-5504798)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090220/ceeba528/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DialNumber.pl
Type: application/x-perl
Size: 1855 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090220/ceeba528/attachment.bin
More information about the asterisk-users
mailing list