Cant dial out through gateway with country code added

Status
Not open for further replies.

soabbd

New Member
Jun 22, 2023
3
0
1
Bangladesh
Hello all, I have configured gateway with inbound and outbound routes with Dial Plan: 11 Digit Long Distance calls are working fine when i just input number like 01711XXXXXX , but problem occurs when i dial saved numbers from contacts which is saved included country code +88 as incoming calls always add country code. So when i dial out saved number like +8801711XXXXXX doesn't go through. Is there any solution to dial with my country code.

Here is my dial plan


dialplan 1.png
dialplan 2.png
 

hfoster

Active Member
Jan 28, 2019
684
81
28
34
Without the prefix, it's probably useless as your provider will probably expect the 0 prefix.

1687850579881.png
 
  • Like
Reactions: soabbd

soabbd

New Member
Jun 22, 2023
3
0
1
Bangladesh
Without the prefix, it's probably useless as your provider will probably expect the 0 prefix.

View attachment 3496

Thanks a lot it work's. In my scenario i have made tow outbound route with same gateway in with regular dial plan expression 11 digit long distance for without country code and another one is with your expression
Code:
^\+?88(\d{11})$
working seamlessly, but prefix doesn't work so i just leaved it blank.
 

hfoster

Active Member
Jan 28, 2019
684
81
28
34
Yeh, I don't know if prefix 0 is a British only thing. Every number has a 0 at the start here for national dialling, and 00 for international exit code.
 
  • Like
Reactions: soabbd
Status
Not open for further replies.