DISA and # pound sign

Hello

I need to dial through DISA a number terminated by the # sign. However, DISA takes the # as the end of the input and launches the Dial, without the # - is there a way to pass # sign to the outgoing line ?

Rgds

J.

You may add the pound sign before the Dial DISA initiates in it’s target context.

thanks !

you mean, create a local context, that adds the # to the dialed number, and have disa dial @thislocalcontext ?
that may help me as I have a specific operation to make, but it would apply to all dialed disa number… I had hoped some unknown option to me, that would allow that !

Just a simple example:

[disa-dial]
exten => 123,1,DISA(1234,disa-out)

[disa-out]
exten => _800XXXXXX,1,Set(CALLERID(num)=1234567890)
exten => _800XXXXXX,n,Dial(SIP/Provider/${EXTEN}#)
exten => _NXXXXXXXX,1,Set(CALLERID(num)=9876543210)
exten => _NXXXXXXXX,n,Dial(SIP/Provider2/${EXTEN})

In this simple example, a DISA-Call to a 9-digit destination starting with 800 will be dialed over Provider with an added Pound-sign. CALLERID will be set up to 1234567890.
All other 9-digit destinations starting with 2…9 will be dialed using Provider2 whereas CALLERID is set up to 9876543210 and no pound sign is added.

Many thanks! I got that working.

J.