Hello all,
Currently I am configuring my GSM gateway with Asterisk. I encounter some difficulties. I have a 04 SIM GSM gateway, I want to link each SIM to a specific extension for both incoming and outgoing calls.
Configuring SIP trunk in Asterisk
[9999]
host=192.168.1.111
fromdomain=192.168.1.111
type=peer
disallow=all
allow=all
context=trunkinbond
qualify=yes
Setting outbound & inbound
Outbound :
exten => _0X.,1,Dial(SIP/9999/${EXTEN:1})
exten => _0X.,n,Hangup
Inbound :
[trunkinbound]
exten => _X.,1,Dial(SIP/1200)
The above configuration works, I can make and receive calls from a landline. I just want to link each SIM slot to one or more specific stations. like if extension 1300 makes a call to the outside that it places on SIM1
1300------SIM1
1301------SIM2
1200, 1201--------SIM3
1400------SIM4
For incoming calls
SIM1------1300
SIM2------1301
SIM3------1200
SIM4------1400
Please I need help.
![]() |
RépondreRépondre à tousTransférer Ajouter une réaction |
---|