Results 1 to 2 of 2

Thread: Client Code Rule for billing

  1. #1
    Senior Member
    Join Date
    Mar 2008
    South Africa

    Default Client Code Rule for billing

    Hi There,

    I have a client who would like to use "Client Code Identification". There would only be two client codes, one for Business calls and the other for personal calls. Each user when dialing out would need to dial *(business code) or *(peronal code) for the client code idenification to be passed onto the radius.

    The issue that i am having is how do I make the user have to insert one of the codes before the call will go through, I have tried every pattern possible.

    I tried pattern: ??????????\*44 (10 digits to enter *44 (for client code) - this would not go through.....
    If i user pattern: 0?* or ??????????* - both these work, but then the user can leave out the client code altogether or enter in any client code which I dont want them to be able to do....

    I only want them to be able to use *44 (business) or *66 (personal) anything else should not go through.

    Hope someone can help.



  2. #2


    There is no control on the "Client Code Identification". All the digits dialed after * (separator) are being removed and the remaining digits string is considered as a destination number and passed to the Call Routing Table for further processing/modification and call rout matching. If the "Client Code Identification" is enabled in matching call rout then the digits dialed after * are considered as "Client Code Identification" and sent to Radius server in a separate CDR field.
    Therefore, when building the "Destination number pattern" the Client Code Identification should not be considered and unfortunately "... I only want them to be able to use *44 (business) or *66 (personal) anything else should not go through" cannot be implemented using the above mentioned mechanism. However, if we assume that your users are honest and dial proper codes (66 for personal and 44 for business) then this mechanism will help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I create a routing rule
    By Lumalac in forum General Discussions
    Replies: 2
    Last Post: 12-01-2011, 04:20 AM
  2. SIP Tunnel versus sip in routing rule
    By lambsons in forum Tips and Tricks
    Replies: 1
    Last Post: 08-31-2010, 04:58 AM
  3. filter rule for sip access
    By nitrox in forum Troubleshooting and Problems
    Replies: 2
    Last Post: 10-08-2009, 02:07 PM
  4. Dialing Rule
    By darryl in forum 'How Do I' Questions
    Replies: 2
    Last Post: 06-18-2009, 12:25 PM
  5. billing
    By EBustos in forum General Discussions
    Replies: 2
    Last Post: 04-28-2009, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts