Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 9:33 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Gurus! Tampering a2billing.php to check if peer is online?
PostPosted: Thu Jun 10, 2010 6:03 am 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Hello Developers and Gurus,

I have inbound DID setup properly which dials the SIP PEER FRIEND when they are online. However, I want to know specifically which part of the code in a2billing.php relates to initiating the call to SIP Peer Friend. I will insert a bit of code there to check to see if the PEER is online or not. If the PEER is not online, I will send a PUSH message to the iPhone so that application can start and so that the PEER comes online before the call is made. That way, no call is missed.

I really appreciate it if you give me some pointers.

Thanks,


Top
 Profile  
 
 Post subject: Re: Gurus! Tampering a2billing.php to check if peer is online?
PostPosted: Thu Jun 10, 2010 8:16 am 
Offline

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

I do not think a2billing does check, it just dials, and if it fails, moves on to the next destination, so you would need to do some dialplan modifications to achieve this, and send the trunk to a local context to dial rather than do it direct.

Joe


Top
 Profile  
 
 Post subject: Re: Gurus! Tampering a2billing.php to check if peer is online?
PostPosted: Thu Jun 10, 2010 2:21 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
I am willing to tamper the code for this purpose. I don't want to do it in dial plan because there are many DIDs assigned and then that will require yet another database of checking for dial-plan purpose against account numbers.

So, if any pointers can be given to the code part as to where a dial initiates for an inbound DID, I would be happy to take it from there.

Thanks,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Auto Dialer Software


All times are UTC


Who is online

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