Eliminate '+' symbol on zulu's clic to call

Hi all!

I have realized that sometimes, many calls are not execute because zulu sends phone number with ‘+’ symbol.

I wonder if it’s possible to process the number before dial, to send the correct number to the sip provider. ¿How could I do it?

Regards

Hello @fetoa ,

Add this to your extensions_custom.conf file:

[macro-dialout-trunk-predial-hook]
;Remove spaces or dashes or + from outbound number when calling
exten => s,1,Set(OUTNUM=${FILTER(0123456789*#,${OUTNUM})})
exten => s,n,MacroExit()

After saving it in your extensions_custom.conf file, run the following command from the linux console:

rasterisk -x'dialplan reload'

Thank you,

Daniel Friedman
Trixton LTD.

Just go into your trunk and add a dial rule that strips any plus No need for custom configs since you want this on a trunk level not global thing as some carriers require + for international calling.

1 Like

Cool!! Thanks!

Cool again!