Can someone clarify difference between calling and called number?

Posted on 2011-05-07
Last Modified: 2012-06-27

This may seem like a stupid question but it is confusing me in how to properly apply my translation-profiles on the correct interfaces or dial-peers.

Assign Translation Profiles
New translation rules can be referenced by a translation profile. You can define these types of call numbers in a translation profile:




Is the called number the number (or person) I am trying to reach or send out to PSTN or SIP?
Example: I am dialing 7052779876

Is the calling number the person or number that is trying to reach me? Therefore coming into my router from Sip or PSTN
Example: My number is: 7053334444, my phone rings, I answer the call.

Is this correct?


Question by:ibanez7
    LVL 79

    Accepted Solution

    It depends on the direction of call flow and how you apply the translation profile.
    If you apply translation profile outgoing on a dial-peer then calling is internal user and called is external number you dialed
    If you apply translation profile incomming then the called number is the DiD number that was dialed and calling number is the external caller's number.

    Author Comment

    thanks for the help lrmoore

    Here is an example of what i'm trying to figure out:

    voice translation-rule 1      *****This means any number dialed to change to 7052696665 correct?
     rule 1 /^.*/ /7052696665/
    voice translation-rule 2     *******This means to append 705 to 7 digit dialing correct?
     rule 1 /\([2-9]......$\)/ /705\1/
    voice translation-rule 3     ******This means any number beginning with 705 followed by 7 digits to drop
     rule 1 /^\(705\)\(.......\)/ /\2/       the 705 correct?
    voice translation-profile SIPout
     translate calling 1       *********Therefore internal is calling number correct?!
    voice translation-profile local
     translate called 2         ********Here the number dialed out or external is the called number correct?
    voice translation-profile no-prefix
     translate called 3         ********Here DID is the called number correct?

    Here's where these are applied:

    dial-peer voice 6666 voip
     description [-[ 7 Digit Local calls to SIP ]-]
     translation-profile outgoing local    ****Therefore dialing any 7 digit you will append 705 correct
     preference 1                                        on outgoing calls or to the called number correct?
     destination-pattern [2-9]......
     voice-class codec 100
     session protocol sipv2
     session target sip-server
     session transport udp
     dtmf-relay rtp-nte
     no vad
    dial-peer voice 6667 voip
     description [-[ 11 Digit Long Distance calls to SIP ]-]
     translation-profile outgoing SIPout     ****This means that internal number is now  7052696665
     preference 1                                            (so I'm the calling number correct?)
     destination-pattern 1[2-9]..[2-9]......
     voice-class codec 100
     session protocol sipv2
     session target sip-server
     session transport udp
     dtmf-relay rtp-nte
     no vad

    ephone-dn  1  dual-line
     number 1003 no-reg primary
     label Rodger V:x1003
      translation-profile incoming no-prefix   *****This means that the prefix (705) is dropped from the called
    !                                                                     number which is actually the DID so the outside is now the
    !                                                                     calling number correct?
    ephone-dn  2  dual-line
     number 1004 no-reg primary
     label Luc H:x1004
     translation-profile incoming no-prefix

    Am I reading this right or am I totally lost here.
    Thanks very much for the help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
    Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now