Khir
(Khir)
1
hello friend ,
how can i remove area code and add 0 number before the incoming call number , when sending mail for this script?
example : 0XXXXXXXXX
exten => _.,1,TrySystem(echo "Incoming call from : ${CALLERID(number)} Call on ${STRFTIME(${EPOCH},,%k:%M:%S %A %B %e Date )}" | mail -s "Incoming call alert" -a "From: Incoming Phone Call <[email protected]>" [email protected])
exten => _.,n(ivrsel-0),Goto(ivr-6,s,1)
thanks
dicko
(dicko)
2
Depends on where the are code is in the number, what country are you in?
Khir
(Khir)
3
my country code 972
first 3 numbers on number
example : 972XXXXXXXXX
i want to replace 972 with 0
and get email with 0XXXXXXXXX
dicko
(dicko)
4
system
(system)
Closed
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.