O
O
Oleksandr Minzak2016-04-08 17:32:24
Asterisk
Oleksandr Minzak, 2016-04-08 17:32:24

How to configure BLF button for line in GSM gateway?

The Grandstream GXP1628 phone has BLF buttons, they work great for Users and SIP lines.
How can I configure the BLF buttons to display the status of each gateway SIM card?
Not just a whole trunk to SIP / IP gateways, but separately, for each slot for a SIM card.
In the worst case, by a group of operators.
Given that in sip.conf we have only one user to register on the gateway.

[siptemp_dwg](!)
qualify = 600
type = friend
host = dynamic
transport = udp
encryption = no
context = gsm-in
disallow = all
allow = alaw
callgroup = 1
pickupgroup = 1
deny = 0.0.0.0/0.0.0.0
permit = 192.168.1.0/255.255.255.0

[User-DWG](siptemp_dwg);
defaultuser = User-DWG
secret   = User-PASS

...

[User-101](siptemp);
defaultuser = User-101
secret      = User-101
callerid    = 101
call-limit  = 1
busylevel=1
subscribecontext=BLF_Group

In extension.conf file
[BLF_Group]
exten => _XXX,hint,SIP/${EXTEN}
exten => User-101,hint,SIP/User-101
exten => 0441234567,hint,SIP/0441234567

A call to the gateway follows this pattern:
exten => _0[679]3XXXXXXX,n,Dial(SIP/192.168.1.100/${EXTEN})
How to configure the gateway and what to write in the BLF_Group for the gateway?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bely87, 2016-04-11
@minzak

With such a call, not like. if you add identifiers then you can do it.
BUT, in theory, you can create virtual numbers and hang them on hint and before the line

exten => _0[679]3XXXXXXX,n,Dial(SIP/192.168.1.100/${EXTEN})
signal that the virtual number is busy, and after it signal that it is free. you will also have to check which virtual numbers are busy and which are not so that the same ones are not engaged when calling from different slots

O
Olexandr Minzak, 2016-04-16
@minzak

Ideally, you need to configure the gateway differently, it looks very similar here - unified.com.ua/connecting-gsm-cdma-gateway-dinstar...
, but you need to try and work on your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question