On Sat, 5 Dec 2015, Frank wrote:
Given, as an example, the following sequence
012345*543210
I would like to store into a variable all digits before "*" (012345) and
in a different variable all digits after the "*" (543210) for further
processing in the dial plan.
Have you tried the 'cut'
On Fri, Dec 4, 2015 at 12:50 PM, Greg Woods wrote:
> the first numeric button press generates a fast busy. Inbound calls to the
> Dahdi phones work just fine.
>
I did some poking around and figured out that I could run something like
"asterisk -r -d -d -d" and get more
Hi Asterisk List
Given, as an example, the following sequence
012345*543210
I would like to store into a variable all digits before "*" (012345) and
in a different variable all digits after the "*" (543210) for further
processing in the dial plan.
The length of the dialed sequence may be
Hi
Try this:
[pbx]
exten => _1X.,1,Answer()
same => n,Set(VAR=012345*543210)
same => n,Set(VAR1=${CUT(VAR,*,1)});012345
same => n,Set(VAR1=${CUT(VAR,*,2)});543210
[image: Sua Foto] Rafael S. SaraivaPorto Alegre - RS
| Mobile: (51) 8174-7956
Steve and Rafael, that is exactly what I was looking for!
Many thanks for your help!
:-)
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar