Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 27, 2024 4:06 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Trunk setup to route calls through normal extentions
PostPosted: Tue Jun 09, 2009 3:46 am 
Offline

Joined: Tue Jun 09, 2009 2:57 am
Posts: 7
hi everyone,

I have a2billing v1.4 installed and it seem that it is working just fine. My problem has to do with Trunk definition. I want to be able to route calles after PIN validation to another internal extention that has a physical telephone line attached to it. I don't use SIP or IAX. I can make outbound calles from that extension using another internal extention directly ... I just dail 9 and then dail the number i want to call... and it works... asterisk executes successfully

-- Starting simple switch on 'DAHDI/2-1'
-- Executing [97777777777777@Internal:1] Dial("DAHDI/2-1", "dahdi/4/7777777777777") in new stack
-- Called 4/7777777777777
-- DAHDI/4-1 answered DAHDI/2-1
-- Native bridging DAHDI/2-1 and DAHDI/4-1
-- Hungup 'DAHDI/4-1'


However when I dail the same number from the extension that is handled by a2billing I get:


a2billing.php: file:Class.RateEngine.php - line:1204 - uniqueid:1244526221.25 - DIAL dahdi/dahdi/4/7777777777777|60|HRrL(12000000:61000:30000) ::>
.
.
.
WARNING[3318]: file.c:724 ast_readaudio_callback: Failed to write frame
a2billing.php: file:a2billing.php - line:172 - uniqueid:2244526221.25 - [CHANNEL STATUS : = Channel is down and available]

and I get the message "the number you are trying to call is not available".

// Trunk settings
Trunk "IP PROVIDER" is "dahdi/4"
Trunk "ADDITIONAL PARAMETER" is empty


The question is that how do I set up the Trunk "Provider IP" and "Additioal Parameter" correctly?

Thanks for your help.


Top
 Profile  
 
 Post subject: Re: Trunk setup to route calls through normal extentions
PostPosted: Tue Jun 09, 2009 9:13 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Quote:
// Trunk settings
Trunk "IP PROVIDER" is "dahdi/4"
Trunk "ADDITIONAL PARAMETER" is empty


Set the technology as DAHDI, and the trunk as the Dahdi channel

Joe


Top
 Profile  
 
 Post subject: Re: Trunk setup to route calls through normal extentions
PostPosted: Tue Jun 09, 2009 7:22 pm 
Offline

Joined: Tue Jun 09, 2009 2:57 am
Posts: 7
Many thanks joe.. I changed the settings as you mentioned and it worked!


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 38 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group