Hello Everybody
Can somebody help me please I can not make calls this is the message that I got from /var/log/asterisk/
[Jun 27 01:07:30] ERROR[17331] pbx.c: Function LANGUAGE not registered [Jun 27 01:07:31] WARNING[17331] chan_sip.c: No such host: voipms|60|HRgrL(76923000 [Jun 27 01:07:31] WARNING[17331] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Unknown)
this is my sip.conf
[voipms] canreinvite=no context=mycontext host=sip.us4.voip.ms secret= xxxxx type=friend username=xxxxx disallow=all allow=ulaw allow=g729 ; Uncomment if you support G729 fromuser=xxxxxx trustrpid=yes dtmfmode=info qualify=yes sendrpid=yes insecure=port,invite nat=yes ; Uncomment this if your box is behind a NAT
This is my trunk in A2B
VOIP-PROVIDER = voip LABEL =international
ADD PREFIX =
REMOVE PREFIX =
PROVIDER TECH =SIP
PROVIDER IP = voipms
ADDITIONAL PARAMETER =
FAILOVER TRUNK
I can make calls with asterisk to that provider without problems
This is the cli:
a2billing.php: file:Class.A2Billing.php - line:621 - get_agi_request_parameter = 513227 ; SIP/604600-07bd9ac0 ; 1246089935.131441 ; 604600 ; 18883396699 == Spawn extension (icall-outbound, 19375489875, 1) exited non-zero on 'SIP/5060-07c0a890' a2billing.php: file:a2billing.php - line:145 - [NO ANSWER CALL] a2billing.php: file:Class.A2Billing.php - line:1640 - SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE username='604600' [Jun 27 01:05:36] ERROR[17204]: pbx.c:2793 ast_func_write: Function LANGUAGE not registered a2billing.php: file:Class.A2Billing.php - line:1714 - [SET LANGUAGE() en] a2billing.php: file:Class.A2Billing.php - line:654 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='604600'] a2billing.php: file:Class.A2Billing.php - line:1400 - [AUTO SetCallerID] a2billing.php: file:Class.A2Billing.php - line:1406 - [REQUESTED SetCallerID : 513227] a2billing.php: file:Class.A2Billing.php - line:1417 - [EXEC SetCallerID : 513227] a2billing.php: file:a2billing.php - line:172 - [CHANNEL STATUS : 4 = Line is ringing] a2billing.php: file:a2billing.php - line:173 - [CREDIT : 10.00000][CREDIT MIN_CREDIT_2CALL : 0] a2billing.php: file:Class.A2Billing.php - line:676 - 1 && && 11&& 0 a2billing.php: file:Class.A2Billing.php - line:701 - DESTINATION ::> 18883396699 a2billing.php: file:Class.A2Billing.php - line:703 - RULES APPLY ON DESTINATION ::> 18883396699 a2billing.php: file:Class.A2Billing.php - line:741 - OK - RESFINDRATE::> 1 a2billing.php: file:Class.A2Billing.php - line:763 - RES_ALL_CALCULTIMEOUT ::> 1 a2billing.php: file:Class.A2Billing.php - line:780 - TIMEOUT::> 76923 : minutes=1282 - seconds=3 a2billing.php: file:Class.RateEngine.php - line:1012 - app_callingcard: Dialing 'SIP/18883396699@voipms|60|HRgrL(76923000:61000:30000)' with timeout of '76923'. a2billing.php: a2billing.php: file:Class.RateEngine.php - line:1037 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'. -- AGI Script Executing Application: (Dial) Options: (SIP/18883396699@voipms|60|HRgrL(76923000:61000:30000)) == Using SIP RTP CoS mark 5 [Jun 27 01:05:36] WARNING[17204]: chan_sip.c:4224 create_addr: No such host: voipms|60|HRgrL(76923000 [Jun 27 01:05:36] WARNING[17204]: app_dial.c:1468 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) == Everyone is busy/congested at this time (1:0/0/1) a2billing.php: file:Class.RateEngine.php - line:1148 - [USEDRATECARD - FAIL =0] a2billing.php: 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 ('1246089935.131441', 'SIP/604600-07bd9ac0', '604600', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '18883396699', 'CHANUNAVAIL', now(), '0.0078', '-0', '', '', 'usa', '5', '5', '5', '6', '513227', '0', '0.0055', '0', '0')] a2billing.php: file:Class.RateEngine.php - line:902 - [CC_asterisk_stop 1.1: SQL: DONE : result=1] a2billing.php: file:a2billing.php - line:312 - [a2billing account stop]
Can somebody help me please
Thank you Regards a2billing.php: file:Class.A2Billing.php - line:654 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='604600'] -- <SIP/604600-07bd9ac0>AGI Script a2billing.php completed, returning -1
|