@Alan_uk wrote:
Hi
I have a Raspberry Pi Zero with RasPBX with Asterisk 13.13.1 upgraded to 13.15.0 & FreePBX 13.0.190.11 upgraded to 13.0.192.8
I am not using any SIP provider. The aim initially is to filter incoming PSTN calls via an OBi110.
I've defined 2 ring groups: 500 for softphones from 501 etc and 600 for hardphones from 601 (the OBi110 handset 601 is the only hardphone at the moment)
When a PSTN call comes in the Dial Plan has this command:
same => n,Dial(SIP/500&SIP/600)
However this gives errors:
[2017-06-23 19:20:52] VERBOSE[6557][C-00000009] pbx.c: Executing [0@day:2] Dial("SIP/OBiTrunkSP2-00000007", "SIP/500&SIP/600") in new stack
[2017-06-23 19:20:52] WARNING[6557][C-00000009] chan_sip.c: Purely numeric hostname (500), and not a peer--rejecting!
[2017-06-23 19:20:52] WARNING[6557][C-00000009] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[2017-06-23 19:20:52] WARNING[6557][C-00000009] chan_sip.c: Purely numeric hostname (600), and not a peer--rejecting!
[2017-06-23 19:20:52] WARNING[6557][C-00000009] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[2017-06-23 19:20:52] VERBOSE[6557][C-00000009] app_dial.c: Everyone is busy/congested at this time (2:0/0/2)
[2017-06-23 19:20:52] VERBOSE[6557][C-00000009] pbx.c: Executing [0@day:3] Hangup("SIP/OBiTrunkSP2-00000007", "") in new stackI have tested calling the two ring groups from softphones and that works.
I know I can list all the extensions separately or create a macro, but 1) I want to avoid having to remember to change the code when adding an extension; and 2) it just seems a natural /logical thing to ring a ring group.
I've spent a couple of hours on the web and surprised that not more people have done this.
BTW, FreePBX is an excellent product
Thanks for reading.
Alan
Posts: 3
Participants: 2