E ai pessoal tudo bem;<br><br>tentei configurar a operadora justvoip
pra teste fiz varias configurações e na hora de chamar da erro,
configurei tudo certo no asterisk da que esta autenticado mas quando
tento fazer ligações sempre da erro, os dados que eu configurei são:<br>
<br>configuração do tronco<br><br>[just]<br>type=friend<br>username=XXXXXX<br>callerid=6136125299<br>amaflags=billing<br>secret=XXXX<br>nat=yes<br>dtmfmode=RFC2833<br>qualify=yes<br>canreinvite=no<br>disallow=all<br>allow=ulaw<br>
allow=alaw<br>allow=g729<br>host=194.120.0.198<br>context=a2billing<br>defaultip=194.120.0.198<br>fromuser=XXXXX<br>fromdomain=194.120.0.198<br>insecure=very<br>port=5060<br>cancallforward=yes<br><br><br>esse e o erro que esta dando no asterisk, e alguma coisa congestionado:<br>
<br> a2billing.php|1: file:Class.RateEngine.php - line:1037 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.<br> -- AGI Script Executing Application: (Dial) Options: (SIP/<a href="http://wdwebsite@ig.com.br/06136125299%7C60%7CiCHgLiwWTt%285664000%3A61000%3A30000%29" target="_blank">wdwebsite@ig.com.br/06136125299|60|iCHgLiwWTt(5664000:61000:30000)</a>)<br>
== Everyone is busy/congested at this time (1:0/0/1)<br> -- AGI Script Executing Application: (StopMixMonitor) Options: ((null))<br> a2billing.php|1: file:Class.RateEngine.php - line:1148 - [USEDRATECARD - FAIL =0]<br>
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)<br> == End MixMonitor Recording SIP/2001-b7826968<br>
a2billing.php|1: file:Class.RateEngine.php - line:899 -
[CC_asterisk_stop QUERY = INSERT INTO cc_call
(uniqueid,sessionid,username,<div id=":19j" class="ii gt">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 ('1240531076.16', 'SIP/2001-b7826968',
'2001', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '06136125299',
'CHANUNAVAIL', now(), '0.1', '-0', '', '', 'just', '2', '6', '8', '4',
'2001', '0', '0.07', '0', '0')]<br>
a2billing.php|1: file:Class.RateEngine.php - line:902 - [CC_asterisk_stop 1.1: SQL: DONE : result=1]<br> a2billing.php|1: file:a2billing.php - line:312 - [a2billing account stop]<br> -- Playing 'prepaid-final' (escape_digits=#) (sample_offset 0)<br>
a2billing.php|1: file:Class.A2Billing.php - line:654 - [CARD STATUS
UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='2001']<br> -- AGI Script a2billing.php completed, returning 0<br>trixbox1*CLI><br>
<br clear="all"><br>o interessante que eu uso outra operadora funciona normalmente;<br></div><br clear="all"><br>-- <br>Atenciosamente;<br>Wagner Danielli<br>Consultoria VoIP - Asterisk - Palestras<br>email: <a href="mailto:wdwebsite@gmail.com">wdwebsite@gmail.com</a><br>
msn: <a href="mailto:wdvoip@hotmail.com">wdvoip@hotmail.com</a><br>skype: wdwebsite<br>Tel com: 61 3612-5299<br>Cel: 61 9937-6746<br><br>Tudo sobre VoIP:<br><a href="http://www.wdvoip.com.br">www.wdvoip.com.br</a><br><br>
Tudo sobre tecnologia:<br><a href="http://www.portalwd.com.br">www.portalwd.com.br</a><br><br>Cartão Mega Bonus<br><a href="http://www.kartao.com.br">www.kartao.com.br</a><br>