HELP: Outbound call to China not working

Hello,

i am using FreePBX 2.11 with Asterisk 11.5 IP PBX system.

We would like to have a local calls to china, so we arranged a testing on 1 on China’s voip provider. We were given a test account by a Chinese voip provider, created a SIP Trunk, inbound and outbound route for it.

We’ve managed to register our PBX server to the voip provider using their supplied username and password. inbound calls to our China DID seemed to be working, but outbound call to China using our China SIP trunk was not. Whenever i tried calling China number, i am getting a message “all circuits are busy now, please try your call again later”. I also noticed on asterisk CLI that it’s trying to use other SiP Trunk instead of the China SIP trunk.

if i may ask, what would be the correct Dial Pattern for trunk and outbound route? the Chinese voip provider mentioned that i can just use “X.” (without quote)

Any help is greatly appreciated

Thanks in advance…

You need an outbound route that matches what you are dialing for china. I would just match the country code and then accept anything else after those digits.

Thank you for your response.
China country code is +85, 3 digit area code and 8 digit telephone number.
If i may ask, what would be the correct dialing rule/ matched pattern that i should use?
is it ok to use this:
86XXXXXXXXX
86X.

Thanks,

Update…

China country code is +86, 3 digit area code and 8 digit telephone number.
If i may ask, what would be the correct dialing rule/ matched pattern that i should use?
is it ok to use this:
86XXXXXXXXX
86X.

Thanks,

can you share with me which VoIP vendor you are using and where is your PBX? Is it inside or outside of China?

I think you will find it will work if you remove the country code as China will block this.