Author Topic: How to strip some characters from A-Number  (Read 5750 times)

arts111199

  • Newbie
  • *
  • Posts: 28
    • View Profile
How to strip some characters from A-Number
« on: March 27, 2015, 02:49:14 AM »
Hi,

Please could You help me to strip some characters from A -number then route it to specified destination.
I have tried this way '
${caller}^\(.*\)\(374\)=;caller=\1
In this case A-number is 37411444444 but in outgoing invite From header is displayed with B-number.

Thanks in advance

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: How to strip some characters from A-Number
« Reply #1 on: March 30, 2015, 12:49:13 AM »
Hi,
The rule is:
${caller}^374\(.*\)=;caller=\1

arts111199

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: How to strip some characters from A-Number
« Reply #2 on: May 02, 2015, 03:41:01 PM »
Hi

Thanks a lot Marian