# Dongle with hidden number

**URL:** <https://community.asterisk.org/t/dongle-with-hidden-number/68503>\
**Category:** Asterisk Support\
**Created:** [October 26, 2016, 12:00pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503 "2016-10-26T12:00:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [October 26, 2016, 12:00pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/1 "2016-10-26T12:00:30Z")

</div>

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  
Dial(dongle/d1/#31#+${EXTEN})  
But dont work  
how can I do?

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [October 26, 2016, 8:59pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/2 "2016-10-26T20:59:17Z")

</div>

What is the “+” for?

---

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [October 27, 2016, 7:10am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/3 "2016-10-27T07:10:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [October 27, 2016, 7:14am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/4 "2016-10-27T07:14:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [October 27, 2016, 11:21am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/5 "2016-10-27T11:21:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [October 27, 2016, 10:09pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/6 "2016-10-27T22:09:07Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [October 28, 2016, 6:20am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/7 "2016-10-28T06:20:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [October 28, 2016, 8:32am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/8 "2016-10-28T08:32:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [October 28, 2016, 11:25am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/9 "2016-10-28T11:25:43Z")

</div>

This is all exten complete

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

```

But dont work

---

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [October 29, 2016, 1:46pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/10 "2016-10-29T13:46:56Z")

</div>

Someone have news for me?

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [October 29, 2016, 3:11pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/11 "2016-10-29T15:11:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [November 2, 2016, 3:04pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/12 "2016-11-02T15:04:41Z")

</div>

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'
debian*CLI>

```

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

---

<div class="post-metadata">

**Author:** ![simone686](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/simone686/32/1795_2.png) [@simone686](https://community.asterisk.org/u/simone686)\
**Post date:** [November 3, 2016, 12:11pm UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/13 "2016-11-03T12:11:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![enri.rosso](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@enri.rosso](https://community.asterisk.org/u/enri.rosso)\
**Post date:** [November 10, 2016, 8:44am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/14 "2016-11-10T08:44:52Z")

</div>

Hi simone686  
Yoy have test?

---

<div class="post-metadata">

**Author:** ![simone686](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/simone686/32/1795_2.png) [@simone686](https://community.asterisk.org/u/simone686)\
**Post date:** [November 10, 2016, 11:52am UTC](https://community.asterisk.org/t/dongle-with-hidden-number/68503/15 "2016-11-10T11:52:43Z")

</div>

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