Difference between revisions of "OpenBTS: RangeNetwork Trunk ke Asterisk Lain"

From OnnoWiki
Jump to navigation Jump to search
Line 32: Line 32:
  
 
Di sisi RangeNetworks
 
Di sisi RangeNetworks
 +
 +
vi /etc/asterisk/extensions.conf
 +
 +
Isinya bisa seperti
 +
 +
[default]
 +
; This is the context for handsets that are allowed to attached via open registration.
 +
; Normally, this context is only used for testing.
 +
 +
exten => _2191.,1,Dial(SIP/${EXTEN}@192.168.2.42,60,rt)
 +
exten => _2193.,1,Dial(SIP/${EXTEN}@192.168.2.41,60,rt)
 +
exten => _2194.,1,Dial(SIP/${EXTEN}@192.168.2.44,60,rt)
 +
exten => _07.,1,Dial(SIP/${EXTEN:2}@192.168.0.3,60,rt)
 +
;
 +
; 4 kalimat di atas utk ujicoba mengarahkan ke OpenBTS 2191 & opensips 2193

Revision as of 08:45, 16 February 2014

Ada beberapa hal yang perlu di set agar RangeNetworks BTS dapat menerima & melakukan panggilan ke Softswitch / Asterisk lain.

Menerima Call dari Asterisk Lain

Edit di RangeNetworks

vi /etc/asterisk/sip.conf

Agar mudah buat

canreinvite=no                  ; no reinvites from Asterisk
insecure=very


Edit di Asterisk Lain

vi /etc/asterisk/sip.conf

Pastikan hanya mengijinkan gsm, ulaw & alow yang lain di buang

[my-codecs](!)                    ; a template for my preferred codecs
  disallow=all
  allow=gsm
  allow=ulaw
  allow=alaw
; allow=ilbc
; allow=g729
; allow=g723


Tabel Dialplan

Di sisi RangeNetworks

vi /etc/asterisk/extensions.conf

Isinya bisa seperti

[default]
; This is the context for handsets that are allowed to attached via open registration.
; Normally, this context is only used for testing.

exten => _2191.,1,Dial(SIP/${EXTEN}@192.168.2.42,60,rt)
exten => _2193.,1,Dial(SIP/${EXTEN}@192.168.2.41,60,rt)
exten => _2194.,1,Dial(SIP/${EXTEN}@192.168.2.44,60,rt)
exten => _07.,1,Dial(SIP/${EXTEN:2}@192.168.0.3,60,rt)
;
; 4 kalimat di atas utk ujicoba mengarahkan ke OpenBTS 2191 & opensips 2193