PBXes (http://www1.pbxes.com/forum/index.php)
- English (http://www1.pbxes.com/forum/board.php?boardid=16)
-- Miscellaneous (http://www1.pbxes.com/forum/board.php?boardid=19)
--- RE: How To Change a number from what is dialed to what is sent to trunk (http://www1.pbxes.com/forum/threadid.php?threadid=1282665189)


Posted by djino on 24.08.2010 at 17:53:

How To Change a number from what is dialed to what is sent to trunk

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


Posted by Diafora on 25.08.2010 at 21:55:

RE: How To Change a number from what is dialed to what is sent to trunk

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.


Posted by djino on 26.08.2010 at 14:20:

RE: How To Change a number from what is dialed to what is sent to trunk

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?


Posted by Diafora on 26.08.2010 at 21:02:

RE: How To Change a number from what is dialed to what is sent to trunk

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


Posted by djino on 26.08.2010 at 21:06:

RE: How To Change a number from what is dialed to what is sent to trunk

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?


Posted by Diafora on 27.08.2010 at 00:03:

RE: How To Change a number from what is dialed to what is sent to trunk

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?


Posted by djino on 27.08.2010 at 14:47:

RE: How To Change a number from what is dialed to what is sent to trunk

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"


Posted by Diafora on 31.08.2010 at 10:55:

RE: How To Change a number from what is dialed to what is sent to trunk

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.


Posted by Diafora on 31.08.2010 at 22:01:

RE: How To Change a number from what is dialed to what is sent to trunk

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.


Posted by marcelcalil on 01.09.2010 at 03:19:

RE: How To Change a number from what is dialed to what is sent to trunk

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.


Posted by djino on 01.09.2010 at 14:57:

RE: How To Change a number from what is dialed to what is sent to trunk

It works!! Thanks Diafora!

djino
"much appreciated"

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