Author Topic: Dial Plan Prefix - can't get it to work!  (Read 237 times)

knobby

  • Newbie
  • *
  • Posts: 4
    • View Profile
Dial Plan Prefix - can't get it to work!
« on: February 16, 2017, 05:10:46 AM »
Hi everyone,
I hope you can help. I would like to have a dial plan prefix that would automatically add the country code prefix 0034 to any number dialed which begins with 6,7,8 or 9. I've tried using the examples in the manual and modifying them but I can't get them to work and the calls just fail.
Thanks in anticipation..

Marcin

  • Hero Member
  • *****
  • Posts: 2478
    • View Profile
    • Email
Re: Dial Plan Prefix - can't get it to work!
« Reply #1 on: February 17, 2017, 04:27:21 AM »
<=0034>[6-9]x+
Life is waste of time

knobby

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Dial Plan Prefix - can't get it to work!
« Reply #2 on: February 17, 2017, 04:51:32 AM »
Thanks for your reply.

Unfortunately it doesn't seem to work. I've tried it on it's own, and with ()  and {} around it, but I get a Call Failed each time.

Marcin

  • Hero Member
  • *****
  • Posts: 2478
    • View Profile
    • Email
Re: Dial Plan Prefix - can't get it to work!
« Reply #3 on: February 20, 2017, 06:30:15 AM »
{<=0034>[6-9]x+|  .. rest here...}
Failed do not mean it was not send, it could be that server reject.

Firmware ?
Life is waste of time

knobby

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Dial Plan Prefix - can't get it to work!
« Reply #4 on: February 20, 2017, 08:37:17 AM »
Ok I've sorted out the problem - it was me! I was putting {<=0034>[6-9]xxxxxxx} in the "Dial Plan Prefix" rather than as part of the "Dial Plan". I've now added this to the "Dial Plan" and it's working fine.
Thanks for your patience.