V
V
VoisHunter2019-09-24 15:13:51
Asterisk
VoisHunter, 2019-09-24 15:13:51

How to set up Dinstar + Aterisk?

The problem is:
I can’t configure incoming calls to GSM Dinstart, in the port settings on the gateway there is a line To VOIP Hotline which should accept, as I understand it, the number, if you specify a SIP number, then calls go to it, but what if there are dozens of these SIP numbers ? and you can specify only one or a group,
tell me how to properly organize the outgoing route for mobile, now it looks like this

[out-gsm-kyivstart-first]
exten => _X.,1,NoOp()
same => n,Set(CDR(did)=30100)
same => n,Dial(SIP/${EXTEN}@30100,90,tTM(AddOutToActive))

exten => _066XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _050XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _095XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _099XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _063XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _073XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _093XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _067XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _097XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)
exten => _098XXXXXXX,1,Goto(out-gsm-kyivstar-first,${EXTEN},1)

sims in total 6 (Life-2, Kyiv-2, MTC-2) example above to call any operator from any sim card, but only one can call let's say Kyivstar, the second immediately beats off

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Barbolin, 2019-09-24
@dronmaxman

How did you set up Dinstar registration, trunk or each number is a SIP account?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question