Overview
The DLINK 102S is an MGCP based VOIP router. Two ethernet ports WAN and LAN, it apparentely does QOS. The device has two port FXS with 1 fallback FXO. IP confguration can by static or by DHCP.
The device is know to interact badly with some networks. Putting the device behind a DLINK 604 is a known workaround.
The device can be configured via HTTP (by default, only through the LAN port). It can also be configured telnet via the WAN port.
Setting the MGCP server can be done by telnet, set tcid [0|1] notify_entity 192.168.0.1:2427
You may confiured each port to a diffrerent provider.
Distinctive rings works well.
May be vunerable to signalling commands from unauthorized servers.
Alternate Firmware
SIP Firmare : ftp://ftp.dlink.ru/pub/VoIP/DG-102SS/Firmware/
it works with asterisk wery well! according to an asterisk user
Configuring with Asterisk
- The device will drop calls unless you add a line for ‘nat-timeout‘
- Three way calling features (call transfer, call waiting, etc) can cause software errors in asterisk (ver 1.2), the situation is much improved in 1.4 (freebsd ports asterisk-devel as of Mar 02/2006)
; this is mgcp.conf
; 00055D00DDBE is the MAC address of the device
; host = can be IP or dynamic
;
; If you do not create a line for nat-timeout, it will drop calls at random intervals.
; Supports Call waiting, Caller ID (not tested), Distintive Ring (set ALERT_INFO to one of ‘0..6’, where 0,6 and 7 are the same ring pattern.
[00055D00DDBE]
host=192.168.0.104
context = local-dialing
line => nat-timeout
callerid = “Jonh Smith” <5145551212>
threewaycalling=yes
transfer=yes ; transfer requires threewaycalling=yes. Use FLASH to transfer
callwaiting=yes ; this might be a cause of trouble for ip10s
callreturn = yes
cancallforward=yes
line => aaln/1 ; now lets save this config to line1 aka aaln/1
callerid = “Jane Doe” <5145551213>
threewaycalling=yes
transfer=yes ; transfer requires threewaycalling=yes. Use FLASH to transfer
callwaiting=yes ; this might be a cause of trouble for ip10s
callreturn = yes
cancallforward=yes
context = local-dialing
line => aaln/2 ; now lets save this config to line2 aka aaln/2