Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 11:38 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: "the number u have dialed is currently unavailable"
PostPosted: Fri Oct 25, 2013 6:42 am 
Offline

Joined: Fri Oct 25, 2013 6:31 am
Posts: 2
I have installed
Freepbx : 2.8.1
asterisk: 1.8.20.0
a2billing: 1.9.4
I have created a trunk using rapidvox.com . The following link is used for creating trunk and configuring a2billing http://sysadminman.net/blog/2010/using-a2billing-to-account-for-extension-calls-in-elastix-1307 .

I’ve created an iax account using freepbx. And I made a successful call to a mobile number using this extension. Later I configured a2billing. There I created the same trunk with Rapidvox. Then I made rate cards, rate, call plan and customer. I put the account number of a2billing customer to the iax account that i created in freepbx. After doing all these things, I tried to make a call to the same number that i called earlier, i am not able to make it. Everything works properly till I enter the number I wish to call. After entering the number I am getting the error as “The number you have dialed is currently not available, Please enter the number you wish to call.”

Following are the configurations that I used to make the call.
extension_a2billing_additionals.conf:
[a2billing]
include => a2billing_callingcard
include => a2billing_monitoring
include => a2billing_voucher
[a2billing_callingcard]
; CallingCard application
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,DeadAgi(a2billing.php,1)
exten => _X.,n,Hangup
[a2billing_voucher]
exten => _X.,1,Answer(1)
exten => _X.,n,DeadAgi(a2billing.php,1,voucher)
exten => _X.,n,Hangup
[a2billing_did]
exten => _X.,1,DeadAgi(a2billing.php,1,did)
exten => _X.,2,Hangup

extensions_custom.conf:
[from-internal-custom]
exten => 1234,1,Playback(demo-congrats) ; extensions can dial 1234
exten => 1234,2,Hangup()
exten => h,1,Hangup()
include => agentlogin
include => conferences
include => calendar-event
include => weather-wakeup

[agentlogin]
exten => _*8888.,1,Set(AGENTNUMBER=${EXTEN:5})
exten => _*8888.,n,NoOp(AgentNumber is ${AGENTNUMBER})
exten => _*8888.,n,AgentLogin(${AGENTNUMBER})
exten => _*8888.,n,Hangup()

[mm-announce]
exten => 9999,1,Set(CALLERID(name)="MMGETOUT")
exten => 9999,n,Answer
exten => 9999,n,Playback(conf-will-end-in)
exten => 9999,n,Playback(digits/5)
exten => 9999,n,Playback(minutes)
exten => 9999,n,Hangup

[conferences]
;Used by cbEnd script to play end of conference warning
exten => 5555,1,Answer
exten => 5555,n,Wait(3)
exten => 5555,n,CBMysql()
exten => 5555,n,Hangup

extensions.conf:
#include extensions_additional.conf
#include extensions_custom.conf
[from-digital]
include => from-pstn
[from-analog]
include => from-dahdi
[from-trunk] ; just an alias since VoIP shouldn't be called PSTN
include => from-pstn
[from-pstn]
include => from-pstn-custom ; create this context in extensions_custom.conf to include customizations
include => ext-did
include => ext-did-post-custom
include => from-did-direct ; MODIFICATION (PL) for findmefollow if enabled, should be before ext-local
include => ext-did-catchall ; THIS MUST COME AFTER ext-did
#include extension_a2billing_additionals.conf

Here is my error log:
-- AGI Script Executing Application: (DIAL) Options: (IAX2/[email protected],60,HRrL(5940000:61000:30000))
> Limit Data for this call:
> timelimit = 5940000 ms (5940.000 s)
> play_warning = 61000 ms (61.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =
-- Called IAX2/[email protected]
-- Hungup 'IAX2/Rapidvox-9686'
== Everyone is busy/congested at this time (1:0/0/1)
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
-- <Local/00919846241378@a2billing-00000003;2> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- Executing [h@macro-dialout-trunk:1] Macro("IAX2/1004-3266", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("IAX2/1004-3266", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("IAX2/1004-3266", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("IAX2/1004-3266", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("IAX2/1004-3266", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("IAX2/1004-3266", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("IAX2/1004-3266", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("IAX2/1004-3266", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("IAX2/1004-3266", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("IAX2/1004-3266", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("IAX2/1004-3266", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("IAX2/1004-3266", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("IAX2/1004-3266", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <IAX2/1004-3266>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("IAX2/1004-3266", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'IAX2/1004-3266' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'IAX2/1004-3266'
== Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'IAX2/1004-3266' in macro 'dialout-trunk'
== Spawn extension (from-internal, 00919846241378, 6) exited non-zero on 'IAX2/1004-3266'
-- Hungup 'IAX2/1004-3266'
-- <Local/00919846241378@a2billing-00000003;2>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing, 00919846241378, 2) exited non-zero on 'Local/00919846241378@a2billing-00000003;2'
-- Registered IAX2 '1004' (AUTHENTICATED) at 192.168.10.5:4569

Here is the call logs in a2billing:

- Call Logs -

Date CallerID DNID PhoneNumber Destination BuyRate SellRate Duration Account Trunk TC CallType Buy Sell Margin Markup
2013 1004 unknown 919846241378 0 0.0USD 0.0USD 00:00 1819579977 Rapidvox CHANUNAVAIL STANDARD 0.0USD
-10 0.000 USD n/a n/a
-25


1 / 1


TRAFFIC SUMMARY
DATE DUR GRAPHIC CALLS ALOC ASR SELL BUY PROFIT MARGIN MARKUP
2013-10-25 00:00
1 00:00 0.00% 0.000 USD 0.000 USD 0.000 USD NULL NULL
TOTAL 00:00 1 00:00 0.00% 0.000 USD 0.000 USD 0.000 USD NULL NULL


how can i fix this, please help me?


Top
 Profile  
 
 Post subject: Re: "the number u have dialed is currently unavailable"
PostPosted: Fri Oct 25, 2013 7:26 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

The advice here - viewtopic.php?f=9&t=10560 probably applies.

Joe


Top
 Profile  
 
 Post subject: Re: "the number u have dialed is currently unavailable"
PostPosted: Sat Oct 26, 2013 3:54 am 
Offline

Joined: Fri Oct 25, 2013 6:31 am
Posts: 2
Thank u for ur reply .......
I tried using the above link u specified, but still i am getting the same error.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group