Answer the question
In order to leave comments, you need to log in
How to set up forwarding in Asterisk?
There is a simple task - to teach Asterisk to receive calls from SIP Beeline and forward them to my mobile phone.
I installed Asterisk 1.8.17.0 on the Asus RT-N16 router. In /opt/etc/asterisk/sip.conf I wrote in the [general] section :
register => [email protected]:password:[email protected]@msk.sip.beeline.ru:5060/7499952XXXX
.
Checking:
RTR*CLI> sip show registry Host dnsmgr Username Refresh State Reg.Time msk.sip.beeline.ru:5060 N [email protected] 105 Registered Thu, 01 Jan 1970 00:10:38 1 SIP registrations.
Answer the question
In order to leave comments, you need to log in
1. host=sip.beeline.ru - must be host=dynamic or ip-notebook, but not the address of the Beeline server.
2. In addition to the registration line, you also need to create a separate device for the provider's peer.
By analogy with 6000,
[beeline]
context=from-beeline
type=peer
secret=password
fromuser=7499952XXXX
host=sip.beeline.ru
canreinvite=no It
remains to write the dialplan correctly,
[from-beeline]
exten => _X.,1, Dial(SIP/beeline/your_mobile_phone)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question