sh1
(Sh)
August 19, 2018, 6:33pm
1
Hi all,
I’m using fpbx as gsm gateway to recive and make calls via GSM (Huawei).
Everything is fine, but I would like to hidde my callerID of the simcard on outgoing calls by the simcard.
Maybee this article could help, but I didn’t find the option how to do it:
the format is very explicit.
It should be:
“hidden”
that will trigger specific dialplan which will execute this statement:
exten => s,n(hidecid),ExecIf($["${CALLERID(name)}"="hidden"],SetCallerPres,prohib_passed_screen)
assuming your provider honors the signalling, this is what tells them not to display the number while still passing it to them.
Some provider will require a setting of “sendrpid=yes” but you would have to find that out from your provider.
I tested also:
Connectivity → Trunks → (MyTrunk) → Hide CallerID = Yes, Force Trunk CID.
But I didn’t give me the result.
Also I tried to begin with this, but on the second step I don’t understand to which sections it should be added
opened 09:32AM - 11 Apr 18 UTC
Hi. i am running asterisk 11 and i have a 3g usb dongle to make/receive calls. A… t the moment the outgoing calls are with the following:
```
exten => _9X.,1,Dial(Dongle/dongle800/${EXTEN:1},120,KT)
exten => _9X.,n,Hangup(${HANGUPCAUSE})
```
i need to block my caller ID on the outgoing calls and the carrier has the #31# for this to work (it has been checked in an ordinary mobile phone). If i edit the dialplan to be:
> exten => _9X.,1,Dial(Dongle/dongle800/#31#ww${EXTEN:1},120,KT)
but the carrier responds that the number is wrong. Here is the output from the asterisk’s console:
```
root@Pbx: /etc/asterisk $ asterisk -rvvv
Asterisk 11.25.3, Copyright (C) 1999 - 2013 D == Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5 -- Executing [9211123456@AllCalls:1] Goto("SIP/500-00000003", "DefaultPlan,9211123456,1") in new stack -- Goto (DefaultPlan,92105727105,1)
-- Executing [9211123456@DefaultPlan:1] Dial("SIP/500-00000003", "Dongle/dongle800/#31#ww211123456,120,KT") in new stack [2018-04-10 13:23:46] WARNING[1327][C-00000003]: channel.c:79 parse_dial_string: Invalid destination '#31#ww211123456' in chan_dongle, only 0123456789*#+ABC allowed [2018-04-10 13:23:46] WARNING[1327][C-00000003]: app_dial.c:2455 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)
-- Executing [9211123456@DefaultPlan:2] Hangup("SIP/500-00000003", "88") in new stack == Spawn extension (DefaultPlan, 9211123456, 2) exited non-zero on 'SIP/500-00000003'
Pbx*CLI>
```
any ideas please?
sh1
(Sh)
August 19, 2018, 7:14pm
2
I fixed:
in dongle.conf modify to:
usecallingpres=yes
callingpres=prohib_passed_screen
system
(system)
Closed
August 19, 2019, 7:14pm
3
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.