Outbound calls not working with message saying call cannot be completed as dialed


I can’t get outsider calls to work, Any help to troubleshoot would be much appreciated.

It would be easier to trouble shoot if you provided a little info on your system? FreePBX version. Asterisk version? Distro install or built by hand. What type of trunks? Perhaps a little debuging output when a call fails.

Hi thanks for the quick reply

using sip trunks

Distro install.


== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] ResetCDR(“SIP/101-00000010”, “”) in new stack
– Executing [[email protected]:2] NoCDR(“SIP/101-00000010”, “”) in new stack
– Executing [[email protected]:3] Progress(“SIP/101-00000010”, “”) in new stack
– Executing [[email protected]:4] Wait(“SIP/101-00000010”, “1”) in new stack
– Executing [[email protected]:5] Progress(“SIP/101-00000010”, “”) in new stack
– Executing [[email protected]:6] Playback(“SIP/101-00000010”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <SIP/101-00000010> Playing ‘silence/1.ulaw’ (language ‘en’)
– <SIP/101-00000010> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
– <SIP/101-00000010> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
== Spawn extension (from-internal, 0035799573139, 6) exited non-zero on ‘SIP/101-00000010’
– Executing [[email protected]:1] Hangup(“SIP/101-00000010”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/101-00000010’

Distro version 1.813.210.58

That’s not enough log. Need the point that the sip/trunkname/dialed_number comes up and then the next 10 lines or so.

Also need your trunk and network config. Sanitize any private info.

It seems to be a dialplan issue

I have not got a real grasp on how exactly i would folrmulate a dialplan, at the moment I have 0. in the match pattern section and that works but if someone can help me properly setup a dial plan it would be much appreciated.

If you want help you need to tell us what you have done and what you want it to do.

Then we can provide direction.

A dial plan is just a set of rules, you arrange from the most specific to the least specific. The system processes the first matched rule.

It’s a simple logic problem.

for some reason the dialplans would not work unless i put in a fullstop . is that correct?

A period is not a fullstop it’s a match all further digits

Did you read the tooltip for the fields?