The example uses a berofix card with one bf4S0 Lineinterface.
Remove these ads by
Signing UpStep 1: Establish SIP connection
To do so simply add the following lines to the "/etc/asterisk/sip.conf" to create a new SIP friend/peer:
[berofix]
type=friend
secret=berofix
host=10.0.0.2
allow=all
canreinvite=no
context=from-sip
In the "/etc/asterisk/extensions.conf" you need to add a context "from-sip" like:
[from-sip]
exten => _X.,1,Playback(tt-monkeys)
So every call from berofix will be routed to Playback(tt-monkeys).
If you want to send calls to berofix you can simply use the following dial statement:
exten => _0X.,1,Dial(SIP/99${EXTEN:1}@berofix)
exten => _0X.,n,hangup
To make this work you need to reload the configs on the asterisk cli:
asterisk -rx "reload"


















Not Nice













Visit Our Store »
Go Pro Today »



