# Symbol needed in Dial()


My SIP provider offers the possibility to hide my CallerID if I dial
#31# in front of a number. (The provider overrides SetCallerID.) So I
included the following line in /etc/asterisk/extensions.conf:

exten => _00XX.,1,Dial(SIP/#31#${EXTEN}@sipprovider,60)

But when trying to make a call, I get only get the following:

Called #31#0012345@provider
SIP/provider-081ccd18 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)

It works perfectly without the #31#, and also if I connect directly from
a softphone to the provider and use the prefix.

Do I have to escape the # symbol, or is there anything else to take care


I have never tried using # in dial string. It may be a bug in asterisk. I would run a sip debug to see how asterisk is sending the call to your ITSP. If it is not sending it correctly then you may want to file a bug report.