How to extension dial by DID

We are in the beggining stages of deplying our asterisk box. We will be buying DID from vitelity.net and then in our asterisk box forward them to the extension.

What I cannot figure out how to do is this.

Ext 7001 has a DID association of 303459xxxx
Ext 7002 has a DID association of 303777xxxx
Ext 7003 has a DID association of 614345xxxx

Dialing between 7001 to any 7xxx ext works fine. But what we want is to pick up ext 7002 and dial 303459xxxx and have it go to ext 7001. When we do this today it goes out one pri and back into the other pri. This is not want we want on a large scale as we will have 200 plus customers on this box by June and many will want to call each other. These customers will not know anything about ext nor shoudl they.

How can I make this work to dial without going out to the world for DID that are on my network.

I tried to google this and got all sorts of answers

bbocus,

Your idea works great so far. We did have to remove the “CallerID” entry for each extesnion to make it work thought. we are testing it today and so far it looks really good.

I will let you know how we fair.

Thanks for the excellent tip.

do you mean the “outbound CID”?? you should not have to delete it … but
you are on the ground.

If you have to use the Outbound CID for your callers to overide the trunk
callerID then there is another way to do it.

  1. Extension
  2. Add Extension
  3. Custom
  4. Extension number =3056741234 ; your external DID
  5. Dial = SIP/7001 ; your sip extension number

The problem with this is that you have to test how the system resolves the
confilict if your outbound route 3056741234 chooses to use the PRI because
you defined 10 digit numbers in the outbound route to go that way. You have
no simple way to pritiorize as you did in the other one. You would have to
make a change the dialplan if it is not checking for local numbers before it
tries to match outbound routes.

From: cwooton [email protected]
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Amportal-users] How to extension dial by DID
Date: Fri, 12 Jan 2007 02:00:23 +1000

bbocus,

Your idea works great so far. We did have to remove the “CallerID” entry
for each extesnion to make it work thought. we are testing it today and so
far it looks really good.

I will let you know how we fair.

Thanks for the excellent tip.


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users


Type your favorite song.  Get a customized station.  Try MSN Radio powered
by Pandora. http://radio.msn.com/?icid=T002MSN03A07001


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

  1. I would create a custom trunk with the “custom dial string” set to
    Local/$OUTNUM$@ext-did/n
  2. I would create an outbound route with all the numbers that are going to
    map to extensions. e.g. 303459xxxx and assign it the trunk created in step
    1
  3. I would set inbound route to route the DID 3034459xxx to extension 7000
    [which i think you have already done]

if the numbers you route thru the PRI are 10 digits without the prefix "1"
then you should move this trunk above the ones used by the outbound PRI.
this way your internal mapping numbers get resolved before the ones that
will use the pri

From: cwooton [email protected]
Reply-To: [email protected]
To: [email protected]
Subject: [Amportal-users] How to extension dial by DID
Date: Thu, 11 Jan 2007 09:42:44 +1000

We are in the beggining stages of deplying our asterisk box. We will be
buying DID from vitelity.net and then in our asterisk box forward them to
the extension.

What I cannot figure out how to do is this.

Ext 7001 has a DID association of 303459xxxx
Ext 7002 has a DID association of 303777xxxx
Ext 7003 has a DID association of 614345xxxx

Dialing between 7001 to any 7xxx ext works fine. But what we want is to pick
up ext 7002 and dial 303459xxxx and have it go to ext 7001. When we do this
today it goes out one pri and back into the other pri. This is not want we
want on a large scale as we will have 200 plus customers on this box by June
and many will want to call each other. These customers will not know
anything about ext nor shoudl they.

How can I make this work to dial without going out to the world for DID that
are on my network.

I tried to google this and got all sorts of answers


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users


Your Hotmail address already works to sign into Windows Live Messenger! Get
it now
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)