PBXes » English » Miscellaneous » RE: How To Change a number from what is dialed to what is sent to trunk
Print Page | Recommend to Friend | Add Thread to Favorites
Post New Thread Post Reply
Author
Post « Previous Thread | Next Thread »
dji


Registration Date: 01.01.1970
Posts:

How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Example. If I dial 1-800-123-4567 from one of the extensions. Is there a way to have this number pass to the trunk as say 1-613-987-6543? How would I set that up?

Thanks,

djino

24.08.2010 17:53 djino is offline Search for Posts by djino Add djino to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

djino,

That depends on whether the ITSP whose trunk is used to dial the outgoing call allows you to set the CallerID. Some ITSPs allow you to do so, the majority overwrite it with the DID they have assigned to you.

25.08.2010 21:55 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
dji


Registration Date: 01.01.1970
Posts:

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

No No no, I'm not speaking about Caller ID at all.

My ITSPs are not able to dial 310-xxxx numbers. I would like for whenever someone makes an outbound call to 310-7873, that pbxes changes this to it dialing 1-800-123-4567 for example on the trunk I specify.

Is this possible?

26.08.2010 14:20 djino is offline Search for Posts by djino Add djino to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

It sure is possible. In the Trunk's configuration at Dial Rules section, add the following rule 1800+310xxx.

26.08.2010 21:02 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
dji


Registration Date: 01.01.1970
Posts:

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Thats what I thought I'd have to do, but the thing is, the 310-xxxx number won't be the same as 1-800-310-xxxx. The 1-800 number will not have any string of digits in common with the 310 number.

I assume when you put 1800+310xxxx, that means if someone say dials 310-1234 that it will pass to the trunk as 1-800-310-1234.

But what I want is completely different number to be dialed. Example: someone who dials 310-1234 would pass to the trunk as 1-800-987-6543.

Is this possible?

This post has been edited 1 time(s), it was last edited by dji on 26.08.2010 at 21:47.

26.08.2010 21:06 djino is offline Search for Posts by djino Add djino to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Djino,

What you are asking for is complete digit replacement, so you better have a solid case for it. This is complicated, and the instances can't de indefinite.

For how many sets of numbers (310xxxx, 456xxxx, etc) do you want this setup for?

27.08.2010 00:03 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
dji


Registration Date: 01.01.1970
Posts:

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

So far there are only 3 310 numbers that I want to change. But will add more when I see the need for it.

1) Someone dials 310-7873 should be changed to 1-800-773-2121
2) Someone dials 310-2355 should be changed to 1-888-333-2811
3) Someone dials 310-7777 should be changed to 819-682-1515

Thats what I'd like to setup so far and add more when I see other common 310 numbers being dialed.

And yeah, its a complete digit replacement, which I'm not sure how to implement. Any idea?

djino
"Thanks for your help"

27.08.2010 14:47 djino is offline Search for Posts by djino Add djino to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Well,

Your last message clarifies what you wish to implement, even if these numbers are not strictly geographic numbers, but SS7 translations designed to route calls from the PSTN to the most relevant call center.

I have inquired whether this functionality can be supported and I will update this thread as soon as I have news.

31.08.2010 10:55 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Here is how you do it. In the Trunk's configuration at Dial Rules section, add the following rule(s)

18007732121+3107873|
18883332811+3102355|
8196821515+3107777|

This will allow you to replace the dialed digits, with the numbers you intend.

31.08.2010 22:01 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
mar


Registration Date: 01.01.1970
Posts:

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Interesting...

Is there any way to implement digit replacement as well?

For example, the main trunk uses syntax

0ZZNXXXXXXX

(where ZZ is the area code and NXXXXXXX is the subscriber number)

While the backup uses

00XXZZNXXXXXXX

(where XX is the country code, and the other numbers follow the previous example)

The idea is to have a rule applied to the back-up trunk which strips the first digit and adds 00XX (replaces the first zero by double-zero and country code), so that a number dialed as:

0ZZNXXXXXXX

would have the 0 stripped, becoming:

ZZNXXXXXXX

and then added 00XX, resulting in:

00XXZZNXXXXXXX

This way, both trunks would accept the same input from users.

Using rule 00XX+0|ZXNXXXXXXX does not work.

This is not a must-have feature, since there are ways to bypass it (creating rules on both the trunks and the outbound routes, for example). But it would make life simpler, and the simpler the more error-free it is.

Regards.

01.09.2010 03:19 marcelcalil is offline Search for Posts by marcelcalil Add marcelcalil to your Buddy List
dji


Registration Date: 01.01.1970
Posts:

RE: How To Change a number from what is dialed to what is sent to trunk Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

It works!! Thanks Diafora!

djino
"much appreciated"

01.09.2010 14:57 djino is offline Search for Posts by djino Add djino to your Buddy List
 
Post New Thread Post Reply
Go to:

Powered by Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English Translation by Satelk