Multiple aliases possible?

I have alias setup for an extension 15555551212 however when a user dials 5555551212 it goes out through a trunk and back in again. How can we make both go to it?

I have tried setting up a ENUM (which all extensions are callable via sip uri and are registered through e164.org) with a dial plan to fix this so at least if not an internal extension call it will be a sip uri call. I have a dial plan for the trunk to make 10 digit dialing 11 digit which seems to be working up the lookup is still returning a zero. (so I am addressing that Issue with e164.org but I thoguht I would include this anyway)

– Executing [s@macro-dialout-enum:6] Set(“SIP/200-a02ad9e0”,
“DIAL_NUMBER=5033501765”) in new stack
– Executing [s@macro-dialout-enum:7] Set(“SIP/200-a02ad9e0”,
“DIAL_TRUNK=7”) in new stack
– Executing [s@macro-dialout-enum:8] ExecIf(“SIP/200-a02ad9e0”,
“1|AGI|fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Dialpattern 1+NXXXXXXXXX matched. 5033501765 ->
15033501765
– AGI Script fixlocalprefix completed, returning 0
– Executing [s@macro-dialout-enum:9] AGI(“SIP/200-a02ad9e0”,
“enumlookup.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/enumlookup.agi
– AGI Script enumlookup.agi completed, returning 0
– Executing [s@macro-dialout-enum:10] GotoIf(“SIP/200-a02ad9e0”,
“1?end”) in new stack
– Goto (macro-dialout-enum,s,18)
– Executing [s@macro-dialout-enum:18] NoOp(“SIP/200-a02ad9e0”,
“Exiting macro-dialout-enum”) in new stack
– Executing [5033501765@from-internal:6]
Macro(“SIP/200-a02ad9e0”, “dialout-trunk|8|5033501765||”) in new stack

How did you set up the alias?

Like this

http://img686.imageshack.us/img686/8804/59959881.jpg

I dont believe you can direct-dial sip aliases from within your orginazation.

Whaaa? Are you sure? The description of the item itself says…

CID Num Alias The CID Number to use for internal calls, if different from the extension number. This is used to masquerade as a different user. A common example is a team of support people who would like their internal callerid to display the general support number (a ringgroup or queue). There will be no effect on external calls.

Actualy, I looked at the tooltip for SIP Alias. But my response remains: ‘CID Number to use for internal calls…would like their internal callerid to display’. This only affects display, nothing else.

Ok? Gotcha. Right answer, wrong question. I am talking about internal dialing.

Thanks

hu?

lazytt - He wants to Alias an extension to other internal extensions and have them added to the dial plan.

SIP alias allows an external user to dial a SIP URI instead of a TEL URI

IE: SIP:[email protected]

You can use misc. destinations to create alternate extensions for your physical extensions. The will be reachable from the from-internal context.

Doh! I have use it before. Actually I used Misc Applications not Not Misc Destinations, but the end result was what I wanted. Goodbye Slow and Broken Freepbx Enum Module! :slight_smile: