How i can return maximum credit time to terminate the call under his credit. In CISCO NAS i found h323-credit-time which is returning maximum credit time for calls when the call reached to this time, it will disconnect automatically. I did a lot of google but i am not able to find the commond which can return max calling credit. i will be really apriciate if any one can tell me this commond. -- Best Regards, Abdul Lateef Khan Computer Programmer Mobile No. : +974 - 5405022 ICQ : 276-994-704 YM! : abdul_zu@yahoo.com MSN : abdulzu@hotmail.com Google Talk : lateef.np@gmail.com
Asterisk don't have a maximum credit time parameter as this is normally
stored in a MySQL database. You can set the maximum calling time in the dial
command like this to restrict to one hr.
Dial("SIP/70103-dc7a",
"SIP/70108|30|tTL(3600000:60000:30000)|20")
If you want a compeete working framework To handle call balances and Credit
Time you can download our free Open Source software AstBill at
http://astbill.com.
Are Casilla
http://astartelecom.com - Independent VOIP Telecoms Broker. Asterisk
Consultants
http://astbill.com - Open Source Billing, Routing and Management software
for Asterisk and VOIP
AstBill DEMO: http://demo.astbill.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20051119/2d405f3e/attachment.htm
Hi Are,
Thank you for your reply, Actually i have my own billing system with
freeradius which is running for our customers. and i wanted to
integrate Callback system with our Billing System. So if i am going to
use AstBill or any others billing system i cannot make connection to
my real billing system.
For this i start to work with Asterisk and PHP to work with my old
database. First as i am begner in Asterisk i wanted to ask how i can
include PHP file and retrive the value from PHP variable into sip.conf
or extentions.conf.
for the example as you give me the example to send max calling time,
if i want to take this time value from php variable how i can define
into Dial format, is this configuration will work?
#include myphp.php
Dial("SIP/70103-dc7a",
"SIP/70108|30|tTL($phpvar:$phpvar1:$phpvar2)|20")
--
Best Regards,
Abdul Lateef Khan
Computer Programmer
Mobile No. : +974 - 5405022
ICQ : 276-994-704
YM! : abdul_zu@yahoo.com
MSN : abdulzu@hotmail.com
Google Talk : lateef.np@gmail.com
Hi, I already install the agiphp from the following steps, i want to be sure, is my agiphp installation is correct or not. i copied all following files into /var/lib/asterisk/agi-bin folder phpagi.php phpagi-asmanager.php phpagi-fastagi.php dtmf.php ;For test i crated one extention [ppp] exten => 111,1,agi(dtmf.php) These are all modification which i did for phpagi, Is another configurations need to be done to work properly? When i am dialing this 111 extentions i am getting the error: Nov 21 06:44:30 WARNING[8266]: Timeout, but no rule 't' in context 'ppp' i will be very thank full if anyone can help me. -- Best Regards, Abdul Lateef Khan Computer Programmer Mobile No. : +974 - 5405022 ICQ : 276-994-704 YM! : abdul_zu@yahoo.com MSN : abdulzu@hotmail.com Google Talk : lateef.np@gmail.com