Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 5:31 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Thu Sep 27, 2007 3:48 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I seem to remember that someone on this forum recently reported similar difficulties with 0 rated calls. After setting a non-zero buy and sell rate does the problem remain?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 4:46 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
Hi again!
thanks for the quick reply. Is it necessary to have callback damaen installed in order to get DID forwarding working? I believe its not necessary.

I tried the way you have described in your post, even i copied the whole code into my extensions.conf file.
I am dialing the number 441234567899 (the one used in your example), Destination of did is sip friend 50002 which is registered.

but the call fails.
This is what appears on asterisk cli

a2billing.php|2|did: file:Class.A2Billing.php - line:1001 - [A2Billing] DID call friend: Dialing '50002|60|HRgirL(3600000:61000:30000)' Friend.
a2billing.php|2|did:
-- AGI Script Executing Application: (DIAL) Options: (50002|60|HRgirL(3600000:61000:30000))
-- Limit Data for this call:
> timelimit = 3600000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
a2billing.php|2|did: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='50002']
-- AGI Script a2billing.php completed, returning 0

Please help.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 6:41 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
mazhar996 wrote:
Is it necessary to have callback damaen installed in order to get DID forwarding working? I believe its not necessary.
You are correct. The callback daemon is only useful when using callback, and as a sideline it'll report any syntax errors in a2billing.conf if you launch it manually.
Hmmm... it looks like there's something going wrong with the Dial command being passed to Asterisk. You could confirm this by using 'agi debug'. I'm not sure, but I think it might be complaining about you using both 'R' and 'r' as options; I think they might be mutually exclusive.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 8:54 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
Hi,, I have tried both way,, once with R and then with r, but didn't work, theres definetly something wrong witht he arguments, but i don't understand what.. here is what agi debug says, but unable to understand

a2billing.php|2|did: file:Class.A2Billing.php - line:1001 - [A2Billing] DID call friend: Dialing '50002|60|HRgirL(3600000:61000:30000)' Friend.
AGI Tx >> 200 result=1
AGI Rx << VERBOSE "" 1
a2billing.php|2|did:
AGI Tx >> 200 result=1
AGI Rx << EXEC DIAL 50002|60|HRgirL(3600000:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (50002|60|HRgirL(3600000:61000:30000))
-- Limit Data for this call:
> timelimit = 3600000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
AGI Tx >> 200 result=0
AGI Rx << GET VARIABLE ANSWEREDTIME
AGI Tx >> 200 result=0
AGI Rx << GET VARIABLE DIALSTATUS
AGI Tx >> 200 result=1 (INVALIDARGS)


this AGI Tx has some issue but what?

please advise


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 9:09 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Quote:
Dialing '50002|60|HRgirL(3600000:61000:30000)'
You're missing the channel technology (ie SIP/). Edit the DID destination and set the technology.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 9:30 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
stavros! man you are a genius. and i am so dump..
in the customer interface its written clearily,, still didn't see that,, I really gotta go for eyesight test.
I really apologize and thank you for your patience with me.

have a good night.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 9:39 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Hey don't be too hard on yourself. Middletn is trying to improve the usability of A2B, and one of his first threads indicates he probably went down this path himself. :wink:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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