It sounds like you didnt hook up the ratecard to the tariffgroup...
Please click on "edit" in tariffgroup list then you will be able to
associate ratecard to it!
BR, Areski
On 6/4/05, Robson Ribeiro <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> After going to the paifull steps of installing AreskiCC and finally being able
> to access the webinterface, connecting to *, importing rates and setting up
> accounts I am not being able to make a CALL: No matter what number i try to
> dial I get the same response: The number you have dialed is currently
> unavailabel. Please enter thenumber you want to dial starting with 1 for
> local and 011 for international. Since I am in Italy there is no such a
> numbering but even if I ignore the message and try to dial 3902 (which is in
> the ratecard by the way) it tells me the same message. I know it says
> destination unreachable but why since it is listed on the ratecard???
>
> *CLI> -- Registered 'firefly1' (AUTHENTICATED) at 14.1.172.43:4569
> -- Accepting AUTHENTICATED call from 14.1.172.43, requested format = 2,
> actual format= 2
> -- Executing Answer("IAX2/[EMAIL PROTECTED]/3", "") in new stack
> -- Executing Wait("IAX2/[EMAIL PROTECTED]/3", "2") in new stack
> -- Executing DeadAGI("IAX2/[EMAIL PROTECTED]/3", "areskicc2.php") in new
> stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/areskicc2.php
> areskicc2.php: 'agi_request' => 'areskicc2.php'
> areskicc2.php: 'agi_channel' => 'IAX2/[EMAIL PROTECTED]/3'
> areskicc2.php: 'agi_language' => 'en'
> areskicc2.php: 'agi_type' => 'IAX2'
> areskicc2.php: 'agi_uniqueid' => '1117858211.0'
> areskicc2.php: 'agi_callerid' => '"firefly1" <0>'
> areskicc2.php: 'agi_dnid' => '0290785472'
> areskicc2.php: 'agi_rdnis' => 'unknown'
> areskicc2.php: 'agi_context' => 'default'
> areskicc2.php: 'agi_extension' => '0290785472'
> areskicc2.php: 'agi_priority' => '3'
> areskicc2.php: 'agi_enhanced' => '0.0'
> areskicc2.php: 'agi_accountcode' => '7898389079'
> areskicc2.php:
> areskicc2.php: >> ANSWER
> areskicc2.php: string(82) ""firefly1" <0> ; IAX2/[EMAIL PROTECTED]/3 ;
> 1117858211.0 ; 7898389079 ; 0290785472"n
> areskicc2.php: string(95) "SELECT credit, tariff, activated, inuse,
> simultaccess FROM cc_card WHERE username='7898389079'"n
> areskicc2.php: array(1) {n [0]=>n array(5) {n [0]=>n string(3)
> "110"n [1]=>n string(1) "1"n [2]=>n string(1) "t"n [3]=>n
> string(1) "1"n [4]=>n string(1) "1"n }n}n
> areskicc2.php: >> STREAM FILE prepaid-you-have #
> areskicc2.php: >> SAY NUMBER 110 X
> -- Playing 'digits/1' (language 'en')
> -- Playing 'digits/hundred' (language 'en')
> -- Playing 'digits/10' (language 'en')
> areskicc2.php: >> STREAM FILE prepaid-dollars #
> areskicc2.php: string(60) "UPDATE cc_card SET inuse=inuse+1 WHERE
> username='7898389079'"n
> areskicc2.php: >> CHANNEL STATUS IAX2/[EMAIL PROTECTED]/3
> areskicc2.php: result is 6
> areskicc2.php: string(20) "[CHANNEL STATUS : 6]"n
> areskicc2.php: >> GET DATA prepaid-enter-number-u-calling-1-or-011 10000 20
> #
> -- Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
> areskicc2.php: string(36) "RES sip_iax_pstndirect_call DTMF : 0"n
> areskicc2.php: string(22) "TRUNK - dnid : 0 (YES)"n
> areskicc2.php: string(16) "YES && && 1&& 0"n
> areskicc2.php: >> GET DATA prepaid-enter-number-u-calling-1-or-011 10000 20
> #
> -- Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
> areskicc2.php: string(25) "RES DTMF : 39020290785472"n
> areskicc2.php: string(30) "DESTINATION ::> 39020290785472"n
> areskicc2.php: string(34) "NEW DESTINATION ::> 39020290785472"n
> areskicc2.php: string(16) "RESFINDRATE::> 0"n
> areskicc2.php: >> STREAM FILE prepaid-dest-unreachable #
> areskicc2.php: >> CHANNEL STATUS IAX2/[EMAIL PROTECTED]/3
> areskicc2.php: result is 6
> areskicc2.php: string(20) "[CHANNEL STATUS : 6]"n
> areskicc2.php: >> GET DATA prepaid-enter-number-u-calling-1-or-011 10000 20
> #
> -- Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
> areskicc2.php: string(50) "RES sip_iax_pstndirect_call DTMF :
> 011552122083139"n
> areskicc2.php: string(36) "TRUNK - dnid : 011552122083139 (YES)"n
> areskicc2.php: string(17) "YES && && 15&& 1"n
> areskicc2.php: string(31) "DESTINATION ::> 011552122083139"n
> areskicc2.php: string(32) "NEW DESTINATION ::> 552122083139"n
> areskicc2.php: string(16) "RESFINDRATE::> 0"n
> areskicc2.php: >> STREAM FILE prepaid-dest-unreachable #
> areskicc2.php: >> CHANNEL STATUS IAX2/[EMAIL PROTECTED]/3
> areskicc2.php: result is 6
> areskicc2.php: string(20) "[CHANNEL STATUS : 6]"n
> areskicc2.php: >> GET DATA prepaid-enter-number-u-calling-1-or-011 10000 20
> #
> -- Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
> == Spawn extension (default, 0290785472, 3) exited non-zero on
> 'IAX2/[EMAIL PROTECTED]/3'
> -- Hungup 'IAX2/[EMAIL PROTECTED]/3'
>
>
> _______________________________________________
> Asterisk-Users mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users