asterisk2billing.org http://forum.asterisk2billing.org/ |
|
No channel available, when there is one working for freepbx. http://forum.asterisk2billing.org/viewtopic.php?f=14&t=8239 |
Page 1 of 1 |
Author: | ghurty [ Sun Oct 10, 2010 8:50 pm ] |
Post subject: | No channel available, when there is one working for freepbx. |
Here goes by next attempt to get things going. First my system: PiaF Running asterisk 1.6.2.11 and FreePBX 2.6.0.2 I have a2billing Version 1.3.4 installed. I modified the extensions_a2billing.conf, and extensions_custom.conf files to reflect that we are dealing with asterisk 1.6 (changed "|" to ",") With a phone connected directly to freepbx, outbound calls work perfectly. I created a trunk in a2billing and for the the provider I put voipms which matches trunk name I have in freepbx. I put the technology as SIP. When I try to make a call it prompts me for the number, when I enter it, it says number is not available at this time. The log shows that the channel is unavailable, however I have SIP entered. No matter what I enter in the provider tech field, it still shows it blank in the log: [2010-10-10 17:23:18] WARNING[24657] channel.c: No channel type registered for '' Code: [2010-10-10 16:31:42] VERBOSE[5121] file.c: -- <SIP/9582719834-0000000c> Playing 'digits/10.gsm' (language 'en') [2010-10-10 16:31:42] VERBOSE[5121] file.c: -- <SIP/9582719834-0000000c> Playing 'digits/thousand.gsm' (language 'en') [2010-10-10 16:31:43] VERBOSE[5121] res_agi.c: -- Playing 'prepaid-minutes' (escape_digits=#) (sample_offset 0) [2010-10-10 16:31:44] VERBOSE[5121] res_agi.c: a2billing.php,1: file:Class.RateEngine.php - line:1012 - app_callingcard: Dialing '//18005558355|60|HRgrL(600000000:61000:30000)' with timeout of '600000'. [2010-10-10 16:31:44] VERBOSE[5121] res_agi.c: a2billing.php,1: [2010-10-10 16:31:44] VERBOSE[5121] res_agi.c: a2billing.php,1: file:Class.RateEngine.php - line:1037 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'. [2010-10-10 16:31:44] VERBOSE[5121] res_agi.c: -- AGI Script Executing Application: (Dial) Options: (//18005558355|60|HRgrL(600000000:61000:30000)) [2010-10-10 16:31:44] VERBOSE[5121] app_dial.c: -- Limit Data for this call: [2010-10-10 16:31:44] WARNING[5121] channel.c: No channel type registered for '' [2010-10-10 16:31:44] WARNING[5121] app_dial.c: Unable to create channel of type '' (cause 66 - Channel not implemented) [2010-10-10 16:31:44] VERBOSE[5121] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1) [2010-10-10 16:31:44] VERBOSE[5121] res_agi.c: a2billing.php,1: file:Class.RateEngine.php - line:1148 - [USEDRATECARD - FAIL =0] [2010-10-10 16:31:44] VERBOSE[5121] res_agi.c: -- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0) [2010-10-10 16:31:47] VERBOSE[5121] res_agi.c: a2billing.php,1: file:Class.RateEngine.php - line:899 - [CC_asterisk_stop QUERY = INSERT INTO cc_call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buyrate, buycost, id_card_package_offer) VALUES ('1286742690.12', 'SIP/9582719834-0000000c', '9582719834', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '18005558355', 'CHANUNAVAIL', now(), '0.01', '-0', '', '', 'us', '1', '1', '1', '1', '594910483054293', '0', '0.01', '0', '0')] Thanks |
Author: | ghurty [ Sun Oct 10, 2010 9:44 pm ] |
Post subject: | Re: No channel available, when there is one working for freepbx. |
Dont know what happened. But I deleted the trunk and created a new one and now it works. Thanks |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |