Dongle with hidden number

Hi my name is Enrico
I want calling with dongle but the number hidden
If i call with SIM in smartphone it is a possible with prefix #31# and number
It is a possible with asterisk?
I try
But dont work
how can I do?

What is the “+” for?

When i call there is not “+” only prefix international adn number.
You understand?

If you don’t want to send a plus, don’t include it in the string.

When i call this number
39 3XX XXXXX i need add + for call and total is
Now if i have call with number hidden i need call
#31#+39 3XX XXXXX
It is a possibile with exten?

Please use unformatted text markup to prevent # being treated as markup for a heading line.

What you have should do what you want if the dongle understands it. What does verbose logging show as the expansion of the variables, and what does sip set debug on show as the actual request URI?

I dont understand.
The character # is incorrect in the format?
Where i see the document for know how is the sintax?

Please re-paste your configuration file into the forum, then select it and click the </> button on the toolbar.

This is all exten complete

exten => _39.,1,NoOP()
exten => _39.,n,Dial(dongle/d1/#31#+${EXTEN},60)

But dont work

Someone have news for me?

Enable detailed tracing on the channel and see if the number is being sent. (You may find you need to use a USB protocol logger.)

Look at the verbose log and see if the correct number is being passed to the application.

Hi you say this?

== Using SIP RTP CoS mark 5
    -- Executing [393XXYYYYYYY@call:1] NoOp("SIP/200-00000000", "") in new stack
    -- Executing [393XXYYYYYYY@call:2] Dial("SIP/200-00000000", "Dongle/d1/#31#+393XXYYYYYYY,60") in new stack
[2016-11-02 16:01:38] WARNING[22594]: channel.c:76 parse_dial_string: Invalid destination '#31#+393XXYYYYYYY' in chan_dongle, only 0123456789*#+ABC allowed
[2016-11-02 16:01:38] WARNING[22594]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'Dongle' (cause 88 - Incompatible destination)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/200-00000000' status is 'CHANUNAVAIL'

If i call with my telephone #31#+393XXYYYYYYY is ok and work

I’ll make same test on my dongle ASAP to check if i’m able to make that working

Hi simone686
Yoy have test?

No…my test’s sim stop working…i need to go to cell shop to check sim status…