# key became '%23' at asterisk

I have this rule to execute external calls:

[quote][numberplan-custom-1]
plancomment = DialPlan1
include = default
exten = _0.,1,Macro(trunkdial,${trunk_3}/${EXTEN:1})[/quote]

This way every call with leading 0 is placed through trunk 3 (outside/ phone company network).

When I call 021983165703# to send a command to phone network, at Asterisk console I can see:

[quote] – Executing [021983165703%23@numberplan-custom-1:1] Macro(“SIP/1000-0821e938”, “trunkdial|Zap/g3/21983165703%23”) in new stack
– Executing [s@macro-trunkdial:1] Dial(“SIP/1000-0821e938”, “Zap/g3/21983165703%23”) in new stack
– Called g3/21963165705%23
– Zap/4-1 answered SIP/1000-0821e938[/quote]

Is asterisk sending # key tone or not? Command is never accepted by company phone and busy signal will come after few seconds, so I think Asterisk is not sending # tone.

I’ve already tested it with thomson st2030 terminal and X-Lite softphone, and problem is the same.

Any idea?

Regards.

Looks like the “translation” is a “feature” in the phones you use. I can confirm that X-Lite does this (and don’t know how to disable). But my GrandStream phone doesn’t - # is sent verbatim.