10 digit extensions

kent

Joined
Aug 6, 2007
Messages
6
Likes
0
Points
0
#1
still need help on this one, we want to emulate a telephone central office switch. we need subscribers to register with 10 digits npa-nxx-xxxx but when someone in the same nxx only dials 7 digits (nxx-xxxx) we sent the call out the trunk and not directly to the extension. please help.<br><br>Post edited by: kent, at: 2007/08/25 05:16
 

rejil.rajan

Joined
Apr 8, 2007
Messages
154
Likes
0
Points
0
#2
Hi Kent

If you explain your question with an example, it would be more easy to help you out with a solution. Correct me if I am wrong.

You have an extension 6726887456 and if another user having the extension 6726887896 gives the number 6887456, it goes out via trunk. Is this what you mean.Please could you also tell us what are the trunks defined in your Asterisk Server<br><br>Post edited by: rejil.rajan, at: 2007/08/25 07:51
 

kent

Joined
Aug 6, 2007
Messages
6
Likes
0
Points
0
#3
Let me try to explain my problem better. We need to emulate our local telephone company. Because our network spans the 970,720 and 303 area codes (npa) we need all extensions to register with 10 digits (npa-nxx-xxxx)otherwise, 970-848-1234 could not exist in the same elastix box as 303-848-1234 or 720-848-1234.

Here is the issue. In the 970 area code, the incumbant telephone company allows 7 digit dialing for local (non toll) calls. If 970-848-1234 wants to call 970-848-5555 they only have to dial 848-5555 (nxx-xxxx). We can force dialing rules in the trunks section to add 970 to all 7 digit calls but the call is routed out the trunk then comes back in on a different pri and connects to the extension. We are taking up 1 outbound and 1 inbound trunk resource to connect two extendions on the same elastix switch.
 

kent

Joined
Aug 6, 2007
Messages
6
Likes
0
Points
0
#4
Let me try to explain my problem better. We need to emulate our local telephone company. Because our network spans the 970,720 and 303 area codes (npa) we need all extensions to register with 10 digits (npa-nxx-xxxx)otherwise, 970-848-1234 could not exist in the same elastix box as 303-848-1234 or 720-848-1234.

Here is the issue. In the 970 area code, the incumbant telephone company allows 7 digit dialing for local (non toll) calls. If 970-848-1234 wants to call 970-848-5555 they only have to dial 848-5555 (nxx-xxxx). We can force dialing rules in the trunks section to add 970 to all 7 digit calls but the call is routed out the trunk then comes back in on a different pri and connects to the extension. We are taking up 1 outbound and 1 inbound trunk resource to connect two extendions on the same elastix switch.
 

rejil.rajan

Joined
Apr 8, 2007
Messages
154
Likes
0
Points
0
#5
Hi Kent

The explanation looks fine, so you also want to give the user the privilege to make the users dial only 7 digits.

May I ask why would you use a PRI trunk, instead do the same process by creating an IAX trunk for your own server itself and route them back to your server and it should work.

Say if you prefix 970 for the 7 digits number then create an outbound route to the same server again. This will make the call come back to your server as the 10 digit extension and thus ring the extension itself. If you need any help with the configuration. Post me your configuration. I think i could help you with that
 

dreamcatcher

Joined
Jan 7, 2011
Messages
1
Likes
0
Points
0
#6
Can you show an example how to route an IAX trunk to itself (to the same server)? Thanks.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top