Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Apr 24, 2024 8:54 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Voicemail
PostPosted: Mon Mar 01, 2010 2:35 pm 
Offline

Joined: Fri Jun 30, 2006 1:30 am
Posts: 31
Hi, does anyone know if A2B, as an ITSP platform, provides support for Voicemail for SIP clients? I know that feature was not available in previous version, not sure if the latest includes it.

Thanks!

Rocco.


Top
 Profile  
 
 Post subject: Re: Voicemail
PostPosted: Tue Mar 02, 2010 1:34 am 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
Hi Rocco,

If i remember very well, Areski said the voice mail support was removed because it required a lot more coding.

However there is a work around this, i remember i posted here a hack around getting voice mail to work for inbound SIP calls.

Rgds
Eamonn


Top
 Profile  
 
 Post subject: Re: Voicemail
PostPosted: Tue Mar 02, 2010 4:08 pm 
Offline

Joined: Fri Jun 30, 2006 1:30 am
Posts: 31
Thanks a lot manugmedia. Is that the case Areski? I think it is important to have this feature available.

Manugmedia, I will look for your hack on the forum. Do you happen to have an updated hack for version 1.6?


Top
 Profile  
 
 Post subject: Re: Voicemail
PostPosted: Wed Mar 03, 2010 6:16 am 
Offline

Joined: Tue Mar 02, 2010 11:22 am
Posts: 12
Location: Tokyo, Japan
To be honest, the lack of voicemail as an option (especially as a separately billable option) is what is preventing me from switching a bunch of my clients from manual billing to a2billing. I may do some hacking at the weekend to see if I can whomp something up.


Top
 Profile  
 
 Post subject: Re: Voicemail
PostPosted: Fri Mar 05, 2010 11:54 pm 
Offline

Joined: Fri Jul 13, 2007 5:50 pm
Posts: 11
A simple way to enable voicemail for DID_VOIP call with 1.6 is to edit /var/lib/asterisk/agi-bin/lib/Class.A2Billing.php



} elseif ($dialstatus == "NOANSWER") {
$answeredtime = 0;
// $agi-> stream_file('prepaid-callfollowme', '#');
// $agi-> exec(VoiceMail,$accountcode.'|b');

ADD THIS
$did_number = "u".$agi->request['agi_extension'];
$this -> write_log("[STATUS] CHANNEL UNAVAILABLE - DIVERT TO VOICEMAIL ($did_number)");
$agi-> exec(VoiceMail,$did_number);
return 1;


This work for me.

a2billing.php|2|did:
-- AGI Script Executing Application: (DIAL) Options: (sip/XXXXXXXXX|10|HiL)
-- Called XXXXXXXXX
-- SIP/XXXXXXXXX-0000007e is ringing
-- Nobody picked up in 10000 ms
a2billing.php|2|did: file:Class.A2Billing.php - line:1285 - uniqueid:1267832632.125 - DIAL sip/XXXXXXXX|10|HiL
a2billing.php|2|did: file:Class.A2Billing.php - line:1297 - uniqueid:1267832632.125 - [sip/XXXXXX Friend][followme=1]:[ANSWEREDTIME=-DIALSTATUS=NOANSWER]
-- AGI Script Executing Application: (VoiceMail) Options: (uXXXXXXXX)
-- <SIP/in-0000007d> Playing 'vm-theperson' (language 'fr')
-- <SIP/in-0000007d> Playing 'digits/4' (language 'fr')


Top
 Profile  
 
 Post subject: Re: Voicemail
PostPosted: Sat Mar 06, 2010 12:45 am 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
Quote:
a2billing.php|2|did: file:Class.A2Billing.php - line:1285 - uniqueid:1267832632.125 - DIAL sip/XXXXXXXX|10|HiL
a2billing.php|2|did: file:Class.A2Billing.php - line:1297 - uniqueid:1267832632.125 - [sip/XXXXXX Friend][followme=1]:[ANSWEREDTIME=-DIALSTATUS=NOANSWER]
-- AGI Script Executing Application: (VoiceMail) Options: (uXXXXXXXX)
-- <SIP/in-0000007d> Playing 'vm-theperson' (language 'fr')
-- <SIP/in-0000007d> Playing 'digits/4' (language 'fr')


Is A2billing announcing the DID number or Account code, so everyone can know your PIN.?

http://forum.asterisk2billing.org/viewtopic.php?f=21&t=6677

Rgds
Eamonn


Top
 Profile  
 
 Post subject: Re: Voicemail
PostPosted: Sat Mar 06, 2010 1:39 am 
Offline

Joined: Fri Jul 13, 2007 5:50 pm
Posts: 11
manugmedia wrote:
Quote:
a2billing.php|2|did: file:Class.A2Billing.php - line:1285 - uniqueid:1267832632.125 - DIAL sip/XXXXXXXX|10|HiL
a2billing.php|2|did: file:Class.A2Billing.php - line:1297 - uniqueid:1267832632.125 - [sip/XXXXXX Friend][followme=1]:[ANSWEREDTIME=-DIALSTATUS=NOANSWER]
-- AGI Script Executing Application: (VoiceMail) Options: (uXXXXXXXX)
-- <SIP/in-0000007d> Playing 'vm-theperson' (language 'fr')
-- <SIP/in-0000007d> Playing 'digits/4' (language 'fr')


Is A2billing announcing the DID number or Account code, so everyone can know your PIN.?

http://forum.asterisk2billing.org/viewtopic.php?f=21&t=6677

Rgds
Eamonn



A way to not annoncing the Account code could be
$agi-> exec(VoiceMail,$dst.'|b'); or
$agi-> exec(VoiceMail,$did_number.'|b');


I d'ont know if this is safe to do but it work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 
VoIP Billing solution


All times are UTC


Who is online

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