Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 20, 2024 2:52 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Callback- Channel
PostPosted: Fri Feb 11, 2011 4:22 pm 
Offline

Joined: Wed Nov 25, 2009 12:01 pm
Posts: 90
hello,

i'm new to callback..i have callback demon running successfuly and i'm using all-callback.
when the i call the DID, the system answer and hangup but doesn't callback.

Accordinf to my log, it says "Error : There is no route to call back your phonenumber"

i believe i got the setting wrong in the admin Add Callback.
i have attached screenshot and log.

please Help...

Asterisk 1.4
A2B 1.8


Attachments:
File comment: log
putty.txt [21.7 KiB]
Downloaded 520 times
addcallback.JPG
addcallback.JPG [ 115.02 KiB | Viewed 3462 times ]
Top
 Profile  
 
 Post subject: Re: Callback- Channel
PostPosted: Fri Feb 11, 2011 4:45 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi
When you have triggered a callback, you will see in the channel field, the number that is to be called back - at the moment you have *32 that I am presuming you have sanitised before posting your screenshot.

You need to take that number, and check that there is a valid rate for the destination using the simulator. I can see the 0790 number in your log so you need to ensure that there is a rate for the 0790 number you called from.

There are more details about callbacks in the link at the top of that page.

Joe


Top
 Profile  
 
 Post subject: Re: Callback- Channel
PostPosted: Fri Feb 11, 2011 7:01 pm 
Offline

Joined: Wed Nov 25, 2009 12:01 pm
Posts: 90
Hi joe,

Thank you for the replay...the callback is triggered but the channel show "SIP/Callwithus/*324407904164760"
(callwithus is the trunk name/ *32 prefix i have send to voip carrier).

As you have said i have check the rate list but the rate are defined in 44790 so i have modified the trigger to call back with "SIP/Callwithus/*32447904164760" but in the log: get error " Got SIP response 500 "Service Unavailable" back from 204.74.213.5"

Also if i have the local dialing option enabled in the agi-config and remove inter prefix in the call plan, why callback is not applying this? this work fine with calling card setting.

i have also tried by adding 44 to extentions_a2b

[a2billing-all-callback]
exten => _X.,1,DeadAgi(a2billing.php,1,all-callback,44) ;last parameter is the callback area code
exten => h,1,Hangup

What am i doing wrong?



UPDATE:

I have managed to get the callback working. the problem was due to not having the callback rate in the call plan.
i have modified the dialplan to receive in the format +44 so that it can match in the call plan.

exten => _X.,n,Set(CALLERID(num)=44${IF($[${CALLERID(num):0:1}=0]?${CALLERID(num):1}:${CALLERID(num)})})


Next Step to work on the 1st & 2nd leg billing :D


Attachments:
newlog.txt [13.45 KiB]
Downloaded 514 times
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 23 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