Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 28, 2024 12:43 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: "NAME" parameter in SIP config in A2Billing
PostPosted: Tue Aug 24, 2010 4:29 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
Greetings,

I noticed that the "NAME" parameter in the A2Billing's SIP config (Sip config for the user, after you create it) contains
"ACCOUNTCODE". Its the user's account number. I tried to change it to the name of the user, I was able to save the
configuration. But when that user called out, the call did not went through.

I changed the name back to account code and the outgoing calls started working for that user.

What is the significance of this "Name" parameter? As its name suggests the NAME of the user.

Can some one shed some light on this? Whats the correct value for this parameter?

Any comments/suggestions all welcome.

Thanks


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Tue Aug 24, 2010 6:13 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
My A2billing setup utilizes FreePBX (came default with A2Billing distro).

I configure extension in FreePBX and enter my name in "DISPLAY NAME"
field. I assign a DID to this ext. I call out and the called party can see
the name and number displayed.

I delete this extension in FreePBX.

I create a new customer in A2Billing, and enter all the necessary data.
But when I call out, only number (the DID number) is displayed.

I tried one more thing, which is explained in my previous posting.

Am I missing somthing here?

Your help/comments/suggestions are highly appreciated.

Thanks


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing - LallerID NAME
PostPosted: Wed Aug 25, 2010 11:49 am 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
This seems a bug, in multi server deployment. Our setup is multiple asterrisk servers, a sip server, a db server and a billing server.
When a consumer is configured in either of the asterisk servers, the callerid name passes through when the consumer calls out,
but when same consumer is setup in a2billing, the callerid name is suppressed while calling out. Calling out suggests we are using
this setup for residential phone services and not for calling card.

Thanks for any help/comments/suggestions/insight


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 11:58 am 
Offline

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

These settings relate to sip.conf.

e.g Name, from http://www.voip-info.org/wiki/view/Aste ... g+sip.conf
Quote:
Asterisk sip name = <name> : Name of the realtime peer. If the peer is an actual phone then this will generally be the extension number of that phone. On some softphones this field corresponds to the "username" field/option in the softphone's settings. Valid only for realtime peers.


The accountcode is how A2Billing authenticates a SIP peer, you would use the A2Billing account number for this field.

CID Number and CallerID control the caller ID being sent out.

Joe


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 12:55 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
I understand the former part, when we set those parameters in asterisk server itself, and CallerID name and number is set when created in asterisk server. But in my setup, the consumer is not created/set in asterisk server, it is created in A2Billing.

If CID and CALLERID controls the callerid being sent out in A2Billing, I found that setting either 9CID or CALLERID in A2Billing), name of the consumer do not set CALLERID
name as it would, if similar is set in asterisk (as explained in your response).

I also found that setting CID is rather irrelevant, as setting it to anything appears to make no difference to anything. Setting caller ID to the DID number shows as CallerIS number. Setting it to name of the consumer do not set CallerID name (name of the consumer is not shown on the called party's phone).

We need this to work, as it works when user is created in asterisk (as explained in your response).

Hope this explains the issue.

Thanks again for your help


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 1:13 pm 
Offline

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

The A2Billing VoIP settings simply write the contents of sip.conf, either via the realtime database or a sip config file, depending on your installation.

These settings can be manipulated, just like you would be doing in Asterisk directly. However during the call, these settings may be altered by the callerID settings you have set in the agi-conf.

Joe


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 2:02 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
In my agi-conf1, running search for CID looks like:

New Caller ID notenoughcredit_assign_newcardnumber_cid No
CLID Sanitize cid_sanitize 0
CLID Enable cid_enable No
Ask PIN cid_askpincode_ifnot_callerid No
Auto CLID cid_auto_assign_card_to_cid Yes
Option CallerID update callerid_update No

And then there are few others related to creation of a card:

Auto Create Card cid_auto_create_card No
Auto Create Card Length cid_auto_create_card_len 10
Auto Create Card Type cid_auto_create_card_typepaid POSTPAID
Auto Create Card Credit cid_auto_create_card_credit 0
Auto Create Card Limit cid_auto_create_card_credit_limit 100
Auto Create Card TariffGroup cid_auto_create_card_tariffgroup 1

Which one affects callerids at RUN time? which one controls CallerID Name and CallerID Number?
Which of the VOIP Settings parameteres, I can use to set CallerIDname and CallerIDnumber?

Thanks again for your support


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 2:08 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
Additionally, sip.conf info is written to a realtime database and not to the sip.conf.

Thanks for your support


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 2:54 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
I tried several combinations of the these parameters. It screws up the account, outgoing completely shuts off while incoming works fine.
I had to delete that account finally and create a new one to rectify the problem for that consumer.

Please let me know if anything else I can do or if there is a right combination of those parameter=value pairs to enable proper setting of
CallerIDname and CallerIDnumber for a consumer in A2billing.

Thanks for your help


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 3:16 pm 
Offline

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

The caller ID Name is often determined by a database at the distant end, not because you have sent it through.

Usually, you would leave the agi-conf as default and fill in the callerID and CID Number with the number you wanted to deliver to the called party. Some carriers have a particular format for the CID for it to be passed through, e.g. in the USA, it could be 10 or 11 digits, and in the case of 11 digits, may need a + on the front.

Provided your carrier supports caller ID manipulation, you should send through the correct caller ID to the distant party.

The exception to this is when you are connecting from another asterisk server, and you use the sip directives, trustrpid and sendrpid, in this case the callerID delivered from the PBX is the one that is passed through, except if you use the fromuser directive, which over rides the callerID.

Joe


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 3:36 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
Almost every carrier will pass CallerIDnumber.

Problem is with CallerIDname.

As you mentioned in one of your previous emails, if I set the CallerIDname and CallIDnumber of the consumer in asterisk, the called party sees both on the phone.
Then question is why it should not work in A2Billing? Why only working entries for CallerIDnumber are permitted and why not CallerIDname?

CallerIDname is handled differently by different carriers in different countries I was told. In the US, CallerIDname sent by the originator is most of the times stripped, and
CallerIDnumber is matched for the associated NAME in CNAM (National) database (one of the tier one carrier in the US told me this yesterday). To get the name resolved,
one must look into the CNAM db for name resolution.

In some other countries including Canada, most carriers do not implement CNAM DB. Canada do not have any National Database (like in the US) I was told.
Most of the carriers including mine just let pass whatever comes (CallerIDname and CallerIDnumber) from originator to the destination. That is the reason why
the consumer configured in asterisk able to pass through his name and number to the called party.

Its just the A2Billing which is restricting CallerIDname to pass through, or in fact I do not see a place in A2Billing where I can set CallerIDname (just like
I can do in asterisk, which comes with A2billing distro) for the consumer.

Please correct me if I am wrong somewhere.....

Please let me know where to go from here....is there a way to fix this?

Please let me know

Thanks again for your support


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Wed Aug 25, 2010 4:21 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
Greetings,

I tried setting CALLERID="name" <DID> in A2Billing, after clicking save when I looked back whether the entries were saved or not, they were not, the field was empty.
Same with the CID parameter.

I found that CALLERID and CID takes only the DID or some integer numbers only, unlike what asterisk takes in for: callerid="Tuomas Tammisalo" <1000>

Any insight/comments/suggestions all welcome.

Thanks for your support


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Thu Aug 26, 2010 2:19 pm 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
Any one experiencing this kind of problem?

A2billing folks, can you clarify/confirm whether it is a bug in a2billing or just a config error on my part?
If it is a bug, can this be easily rectifiable, something I can fix on my systems, will the fix be incorporated
in next[which] release?

Please let me know, this is crucial to our business, especially looking from competition point of view.

You can directly contact me on [email protected] on this.

Thanks again for your support


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Thu Aug 26, 2010 4:49 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Quote:
I found that CALLERID and CID takes only the DID or some integer numbers only,


you could change the underlying datatype in the DB to allow numbers and letters, and see what happens.

Joe


Top
 Profile  
 
 Post subject: Re: "NAME" parameter in SIP config in A2Billing
PostPosted: Thu Sep 02, 2010 5:11 am 
Offline

Joined: Fri Feb 19, 2010 4:29 pm
Posts: 50
Hello Joe,

The datatype for CID looks OK:
Hope I am looking at the right table.

mysql> describe cc_callerid;
+------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+-----+---------+----------------+
| id | bigint(20) | NO | PRI | NULL | auto_increment |
| cid | varchar(100) | NO | UNI | NULL | |
| id_cc_card | bigint(20) | NO | | NULL | |
| activated | char(1) | NO | | t | |
+------------+--------------+------+-----+---------+----------------+
4 rows in set (0.00 sec)

mysql>

I cannot enter "character" from A2billing GUI for CID.----> this is one of the issue

So, I tried to update the CID with my name:

mysql> select * from cc_callerid;
+----+-------------------+------------+-----------+
| id | cid | id_cc_card | activated |
+----+-------------------+------------+-----------+
| 18 | Niranjan Kulkarni | 50 | t |
| 19 | 6475471152 | 57 | t |
+----+-------------------+------------+-----------+
2 rows in set (0.00 sec)

mysql>

Notice CID for id 18 and 19.
ID 18's CID was updated right into the datebase.

Now I called outbound, [id=18]

The called party still sees the DID number and "Anonymous" in the name field.

I tried to twick the config, hoping, it will make some changes, still no joy:

Auto Set CLID auto_setcallerid No
Force CLID force_callerid
CLID Sanitize cid_sanitize 0
CLID Enable cid_enable No

Any help/comments/suggestions all highly appreciated.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Hosted Voice Broadcast


All times are UTC


Who is online

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