dial from one domain to another

Status
Not open for further replies.

s2svoip

Member
Dec 9, 2019
255
7
18
44
can anyone offer any advice/guide for how to setup a dial plan to dial from one domain to another, i.e. domain 1 is ext 100-110 and domain 2 is 200-210 - would this just be an outbound route?
 

s2svoip

Member
Dec 9, 2019
255
7
18
44
thanks Adrian, based on those and your examples people are using prefixs, do you have to do this?

would it be a regex to say 3 digit numbers that start with a 2, go to this tenant ? where you have your destination number condition?

and I would assume you have to set this dial plan in both domains to point to each other to allow it both ways ?
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,390
365
83
Yes, you could do:
condition destination_number ^(2\d{2})
or
condition destination_number ^(2[0-9][0-9]})

and yes you would create a rule in both domains if you wanted both way calling. Think carefully about your numbering scheme so it doesn't get confusing for customers and also choose carefully where you put the brackets for the capturing group if you use the $1 otherwise CDR records can get confusing.
 
Status
Not open for further replies.