Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17353

Remove area code on mail script

$
0
0

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 <mymail@gmail.com>" mymail@gmail.com)
exten => _.,n(ivrsel-0),Goto(ivr-6,s,1)

thanks

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 17353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>