Remove chars from number dialplan asterisk
<p>How to remove first 3 digits/letters from CALLED NUMBER. Let's say number 123456789 calls to <code>abc987654321</code>. I want to remove <code>abc</code> because in the context I have only <code>987654321</code>. I know how to cut from CALLER but don't know how to cut from CALLED(Destination) number. This is what I tried so far but nothing happen:</p>

<pre><code>exten =&gt; _[a-z]XXXXXXXXXXXX,1,Set({CALLEDID}=${CALLEDID:3})
exten =&gt; _[a-z]XXXXXXXXXXXX,2,Dial(SIP/${CALLEDID},1)
exten =&gt; _[a-z]XXXXXXXXXXXX,3,Voicemail(${CALLEDID}@VoiceMail)
exten =&gt; _[a-z]XXXXXXXXXXXX,4,Playback(Goodbye)
exten =&gt; _[a-z]XXXXXXXXXXXX,5,Hangup
</code></pre>