Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 5:31 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multiple SIP accounts on the same CARD number
PostPosted: Sat Feb 21, 2009 1:48 pm 
Offline

Joined: Thu Feb 12, 2009 11:11 pm
Posts: 18
Location: Thessaloniki, Greece
Hi all,

I noticed that you can create multiple sip friends for the same card holder but when the system tries to authenticate a user with

cc_sip_buddies.accountcode != cc_card.username

the authentication fails.

So the right way to do this is to set the ACCOUNT CODE (aka cc_sip_buddies.accountcode) for each of your sip friends that are connected to the same customer, to the customer's CARD NUMBER (aka cc_card.username)

I think that it would be a grat idea if every SIP friend account had a different login name and webui password to access the Customer UI independetly.

bye


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2009 2:17 pm 
Offline

Joined: Thu Oct 19, 2006 9:56 am
Posts: 300
Location: Athens, Greece
Implemented in v200..

If you dial that card, all the peers will ring simultaneously, too.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2009 6:39 pm 
Offline

Joined: Thu Feb 12, 2009 11:11 pm
Posts: 18
Location: Thessaloniki, Greece
xrg wrote:
Implemented in v200..

If you dial that card, all the peers will ring simultaneously, too.


Another case where i need your advise is the following scenario:

A user is registered in our system and in our cc_card table.
We create multiple SIP-friend accounts that are linked to that user. If you enable
sip_iax_friends = YES
and permit inter-a2billing calls then you realize that these SIP accounts can't dial each other. A valid Dial command executes only when the destination number is equal to cc_card.useralias. The cc_card.useralias field belongs to cc_card table and it is unique, pointing to the unique customer.

The exact QUERY command prior to Dial execution is:

QUERY = SELECT name FROM cc_sip_buddies, cc_card WHERE cc_sip_buddies.name=cc_card.username AND useralias='XXXXX'

where XXXX is the called number

A quick fix for this is to alter the query to:

QUERY = SELECT name FROM cc_sip_buddies, cc_card WHERE cc_sip_buddies.accountcode=cc_card.username AND cc_sip_buddies.username='XXXXX'


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 6 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