Your call cannot be completed as dialed but trunk line is on?

This is to be expected…

Do a separate entry for “1NXXNXXXXXX”, don’t modify the “NXXNXXXXXX” one…

(This is what you did on the first line…)

The “NXXNXXXXXX” needs to have a “1” in the prepend, the “1NXXNXXXXXX” needs to have its prepend empty…

Good luck and have a nice day!

Nick

1 Like

Thanks,

Did I do this right?

Nope, that’s backwards…

put the “1” in the prepend field in front of “NXXNXXXXXX”,
empty the “1” you put in the prepend field in front of “1NXXNXXXXXX”…

What is in the prepend gets added to the phone number you call…

When you call 15165551212 you don’t want to have it dial 115165551212…

When you call 5165551212 the existing entries you had in your initial screen capture suggests your provider wants you to dial 15165551212 and, with what you have right now, you simply dial 5165551212…

Good luck and have a nice day!

Nick

sorry for the problems

Did I do this right the calls still do not work

No problem…

If when you call 5551212 you want to have the “1516” added automatically then put a “1516” in the prepend field in front of “NXXXXXX”…

Then let’s check other things…

Did you assign your trunk to your outbound route?

(“Trunk Sequence for Matched Routes” under the “Route settings” tab…)

Good luck and have a nice day!

Nick

I did that still not working

What am I doing wrong ?

Is your trunk enabled under “General”, “Disable Trunk” ?

(It should be set to “No”.)

Looks suspicious…

I wonder if it might not be something like:

http://forums.asterisk.org/viewtopic.php?f=1&t=87273

(ie that somewhere in your trunk definition there’s something that doesn’t belong there because you copied it from elsewhere or the like…)

Good luck and have a nice day!

Nick

my trunk is set to No.

I forgot to add this screenshot of the trunk

Also when I click on Download Local Patterns its not working ?

Hi!

Remove all of those…

They further modify the phone number which you don’t want to do at this point…

Also, if you cut and pasted your trunk settings you might want to retype them manually, that error message you got about “type” suggests Asterisk is having trouble parsing them…

If you typed them manually, recheck them to see if there might be something wrong with the “type” lines…

Good luck and have a nice day!

Nick

The Screenshot that I just upload I should delete all the items?

i am going to copy and paste them from Outbound Routes to the trunk.

Yes…

The numbers are already in the right format, you don’t need to further modify them…

You did make sure that your provider requires you to call a number such as 5165551212 like this 15165551212, right? I based myself on the entries you already had to guide you…

Good luck and have a nice day!

Nick

No…

The ones that do number manipulation could be be put there but let’s not complicate things further until it works…

Good luck and have a nice day!
Nick

If i call someone from my phone company in the same area code i can just dial the 7 digit number I test this my just connecting my ip phone to them with out a PBX

I am still lost why its not working :frowning:

That’s peculiar…

What kind of provider are you using?

None of the VoIP providers would know what to do with that since they would not know which area code to add… The providers I have DIDs with I have DID in many area codes and multiple countries…

The call doesn’t even seem to be attempted from the log you posted so I think you should check those trunk settings again, there seems to be some wrong with what you put there…

(I mean the place you put "type=…, host=…)

Good luck and have a nice day!

Nick