Portech DuMV@PC User Manual

DuMV@PCI
2 ports GSM/VoIP PCI Card
User Manual
PORTech Communications Inc.
Content
1.INTRODUCTION................................................................................................................. 1
2.FUNCTION DESCRIPTION............................................................................................... 1
3.PARTS LIST.......................................................................................................................... 1
4.DIMENSION: 13CM X 32.5CM.......................................................................................... 2
5.CHART OF THE DEVICE.................................................................................................. 3
6.CABLING .............................................................................................................................. 4
7.WEB PAGE SETTING......................................................................................................... 5
8.SYSTEM INFORMATION.................................................................................................. 6
9. ROUTE.................................................................................................................................. 6
9.1 M
OBILE TO LAN SETTINGS ............................................................................................. 6
9.2 M
OBILE TO LAN SPEED DIAL SETTINGS........................................................................... 8
9.3 C
ALL BACK SERVICE (50 SETS)....................................................................................... 10
9.4 LAN
TO MOBILE SETTINGS............................................................................................. 11
10.MOBILE ............................................................................................................................ 13
10.1 M
OBILE STATUS............................................................................................................ 13
10.2 M
OBILE SETTING........................................................................................................... 14
10.3 M
OBILE / FORWARD SETTING : ..................................................................................... 16
10.4 M
OBILE / SMS AGENT :................................................................................................ 18
10.5
USE AT COMMAND VIA TELNET OR YOUR PROGRAM ................................................... 19
11.NETWORK........................................................................................................................ 20
12.SIP SETTING.................................................................................................................... 24
13. NAT TRANS..................................................................................................................... 33
14.SYSTEM AUTH................................................................................................................ 34
15.SAVE CHANGE................................................................................................................ 35
16.UPDATE ............................................................................................................................ 36
17.REBOOT............................................................................................................................ 38
18.SPECIFICATION ............................................................................................................. 39
19. APPENDIX: SETUP DUMV@PCI WITH ASTERISK .............................................. 40
20.
HOW TO SETUP ASTERISK TO RECEIVE CALLER ID FROM
DUMV@PCI
....................................................................................................................... 46
21. SIMPLE STEPS ............................................................................................................... 56
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-1-
1.Introduction
DuMV@PCI is a 2 channels VoIP GSM Gateway for call termination (VoIP to GSM ) and origination (GSM to VoIP). It is SIP based and compatible with Asterisk. It can enable to make 2 calls simultaneously from IP phones to GSM networks and GSM network to IP phone.
2.Function description
2.1 VoIP(SIP)GSM(DuMV@PCI) conversion.
2.2 50 sets of LAN->MOBILE routes setting50 sets of MOBILE->LAN
routes setting.
2.3 Voice response for setting and status (dial in from mobile).
2.4 Series connections to save bills.
2.5 Standard SIP(RFC2543,RFC3261) protocol
Communicates with other gateway or PC.
3.Parts list
Please check the parts for any missing parts. If do, please contact
our agents
3.1 DuMV@PCImain body
3.2 Network cable
3.3 Antenna
3.4 User Manual
-2-
4.Dimension: 13cm x 32.5cm
(1)
(3)
(2)
-3-
5.Chart of the device
5.1 AntennaAntenna connector.
5.2 SIM Slot 2: Insert second SIM card
5.3 SIM Slot 1: Insert first SIM card
5.4 WAN: RJ-45 internet connector,standard RJ-45 socket,connect to
HUB.
5.5 LANLAN port. It also can be DHCP Server.
5.1
5.2
5.3
5.4
5.5
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-4-
6.CABLING
6.1 Connect the internet cable from HUB to the ‘WAN’ connector of the
DuMV@PCI.
*If you need to stack up more
DuMV@PCI
, you can stack up as
follows.
6.2 Connect the antenna and put it in proper position to get the best
signal reception.
6.3 Insert the SIM card from back of the main body. (take the slide off
first).
6.4 Connect the power adaptor. The ‘POWER’ LED should be light up.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-5-
7.Web Page Setting
When the IP setting is done, the operator may setup all the rest
parameters via web page. Browse the IP address from Internet
Explorer (e.g. http://192.168.0.100
)The following page shows up
Enter the username and password for authentication. (default
username=voip, password=1234). The page follows when the
username and password are correct.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-6-
8.System Information.
8.1 When you login the web page, you can see the demo system current system information like firmware version, company… etc in this page.
8.2 Also you can see the function lists in the left side. You can use mouse to click the function you want to set up.
9. Route
9.1 Mobile TO LAN Settings
The operator may assign 50 sets of routing rule to transfer the call
incoming from MOBILE to LAN.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-7-
The DuMV@PCI will transfer to the URL according to the caller ID of the Mobile.
*CID
(1) may enter the whole number, e.g. 0911111111
(2) only part of the number (prefix) e.g. 0911* means any number
starting with 0911 will be accepted
(3) * means all numbers can be accepted
(4) N means the calls without the CID
Please note the priority of the rules. The item which has more digits will
have higher priority. If the digits are the same, then former one gets the
higher priority.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-8-
*URLThe IP address to transfer this call
(1) may enter the whole IP address, e.g. 192.168.0.101 or proxy
extension or phone number.
(2) If this field is blank or simply ‘N’, it means refuse to transfer.
(3) If an ‘*’ entered, it means 2-stages-dialing. The call will be
answered and prompt dial tone again to receive the IP address/sip
extension or any phone number as the destination. The caller may
enter the IP such as 192*168*0*101#.
*If the device have register proxy server/Asterisk ,you can enter any
destination phone number. Please note the proxy server/Asterisk
need to set the route of destination phone number.
Example: (1) Mobile to Lan: 0932*,0911123456
DuMV@PCI have register proxy server/Asterisk The proxy server/Asterisk have the route “09” When the caller’s prefix number is 0932, DuMV@PCI will connect 0911123456 automaticlly
(2) Mobile to Lan: *,*
Any caller call the DuMV@PCI’s sim, DuMV@PCI will prompt dial
tone.Caller can enter IP or sip extension or phone number.
*sip extension or phone number both need to register SIP Proxy
Server or Asterisk.
*Phone number, SIP Proxy Server or Asterisk need to set the route
of this phone number.
9.2 Mobile to LAN Speed Dial Settings
When you set Mobile to LAN Speed Dial Settings and Mobile to LAN at the same time, DuMV@PCI will give priority to Mobile to LAN Speed Dial Settings.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-9-
*The call will be answered and prompt dial tone again. When the caller
may enter the “Num”, system will connect the “URL” as destination.
E.g Num:0 Name:test URL:192.168.0.107
When the caller hear dial tone and enter 0, system will connect
192.168.0.107
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-10-
9.3 Call Back Service (50 sets)
You can set call back service as the following steps
(1) CID : set the phone number here (up to 50 sets) (2) URL: # (# is the command of call back)
Application:
a. Call MV-370 b. MV-370 will detect the phone number is in call back list or not c. If yes, MV-370 will reject the call, and call it back d. You will receive the call from MV-370, and prompt a dial tone
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-11-
9.4 LAN to Mobile Settings
The operator may assign 50 sets of routing rule to transfer the call
incoming from LAN to MOBILE.
The DuMV@PCI will transfer to the mobile number according to the
incoming URL
*URLThe IP address of the incoming call.
may enter the whole IP address, e.g. 192.168.0.101 or proxy server’s
extension. If a simple ‘*’ is entered, means no restriction for the
incoming IP address.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-12-
*Call Num
1.may enter the whole number, e.g. 0911111111
2.a simple *”means 2-stages-dialing. The call will be answered and
prompt dial tone again to receive the called number as the
destination, e.g. 0911111111 or 0911111111#
3.#['d'n]['a'ppp] for one-stage dialing
[...] is option
'd'n means to delete the beginning n codes,
'a'ppp means to add 'ppp' in front.
for example #d2a09 means one-stage dialing,
delete the first 2 codes from your destination number,
then add 09 in front as the new destination number.
Example:
Lan to Mobile: *, # (1)DuMV@PCI and Lan Phone both need to register proxy server or Asterisk. (2)Proxy server/asterisk set the route that the prefix of destination number (3)When you dial any destination phone number from lan phone, DuMV@PCI will
connect this call auto.
Example of Application:
When you call the ch.1 DuMV@PCI gsm number,it will provide dial tone and you enter a destination number. Then ch.2 DuMV@PCI will dial this number and connect. ch.1 DuMV@PCI: mobile to lan set route table *,* ch.2 DuMV@PCI:lan to mobile set route table *,# Additionally, two channels DuMV@PCI both need to register proxy server or Asterisk. And proxy server/asterisk set the route that the prefix of destination number dial out from ch.2 DuMV@PCI. *The channel 2 DuMV@PCI 's ip: the first ip + :5062 (e.g http://192.168.0.100:5062)
-13-
10.Mobile
10.1 Mobile Status
(1)Network RegistrationThe telecom carrier which the SIM card been
registered.
(2)SIM Card IDSIM card ID. (3)Signal QualitySignal quality.
(4)GSM S/N : IMEI Number (5)Incoming IPThe IP address of the last incoming call from LAN.
(6)Incoming IP Name: proxy server name
(7)Outgoing IPThe IP address of the last outgoing call to LAN. (8)Incoming MobThe caller ID of the last incoming call from MOBILE. (9)Outgoing Mob:The called number of the last outgoing call to MOBILE.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-14-
10.2 Mobile Setting
(1) VoIP Tx Gain: To adjust the volume of LAN side.
GSM
VoIP
Codec
LAN
(6)Rx
(5) Tx
DTMF
(1)VoIP Tx Gain
(2) VoIP Rx Gain
(1) (2)
(3)
(5) (6)
(7)
(8)
(9)
(10)
GSM
Codec
Rx
Tx
DTMF
Mobile 1:
Mobile 2:
(4)
(12)
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-15-
(2) VoIP Rx Gain: To adjust the volume of Mobile side.
(3)LAN Dialtone Gain: DTMF Reciver is not good,you can adjust gain
down.
(4) ON/Off: If you use this channel,please click on. Otherwise,please
click off.
(5)CODEC Tx Gain: as above
(6)CODEC Rx Gain: as above
(7) SIP From: Caller ID transfer
Tel/User(Standard): If you need to register to Asterisk and proxy
server,please choose this option. And how to transfer the caller ID
to LAN,please refer 21.How to setup Asterisk to receive Caller ID
from DuMV@PCI (page 42)
DuMV@PCI will send the message as follows in the Packet.
From: " caller number " <sip:3001@192.168.0.228>;tag=51088abb
Tel/Tel :
DuMV@PCI will send the message as follows in the Packet.
From: "caller number" <sip: caller number @192.168.0.228>;tag=6ac93f7c
Please note:If you choose this option,please don’t register to
Asterisk and proxy server. Please only fill proxy server ip and
choose Active: on (else field empty) in sip setting/service demain
User/Tel
DuMV@PCI will send the message as follows in the Packet.
From: " Username " <sip: caller number @192.168.0.228>;tag=7f130947
If you choose this option,please don’t register to Asterisk and
proxy server. Please only fill proxy server ip,Username and
choose Active: on (else field empty) in sip setting/service
demain
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-16-
(8)Presentation CLIR : If you need to block the Caller Id for call
termination,please choose Suppression
(9)Mobile PIN Code:If you need to unlock pin code via DuMV@PCI,you
can click “On” and enter pin code.
(10)LAN Answer Mode:
Answered : when mobile answer,then connect the call Alerted : when the mobile is ringing back tone,then connect the call Income : when lan dial out,then connect soon
(11)Band Type:When you buy Quad band,you need to choose your
GSM frequency
(12)Answer Delay: Delay for incoming call when the ring.
10.3 Mobile / Forward Setting :
When the first route are busying, SIP can transfer phone call to another free route. When the device are busying, the phone call can be transfer to another device (external equipments).
* "Forward Enable" is not motivate on Defualt value.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-17-
So please, mark "Forward Enable" this blank to motivate this function. Take SJ Phone for example: Profiles -> Edit -> Advanced -> Accept redirection replies (Turn on the "Forward Enable", therefore the SJ Phone can designate a port which are free to use.)
Name
URL:Port
Fwd to Mobile1:
192.168.0.100:5060
Fwd to Mobile2:
192.168.0.100:5062
Fwd to External:
The Explanation of Picture:
Fwd to Mobile1:192.168.0.100 : 5060, it means when 5062 Port are busying, SJ Phone can transfer the call to 5060 Port (192.168.0.100).
Fwd to Mobile2:192.168.0.100 : 5062, it means when 5060 Port are busying, SJ Phone can transfer the call to 5062 Port (192.168.0.100).
If both 5060 port and 5062 port are busying at same time, you can set
up "Fwd to External", then you can transfer the phone call to another designate device.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-18-
10.4 Mobile / SMS Agent :
(1) Rx List: Read received SMS (2) Dest Num: the Receiver’s phone number (3) Message: Please fill the message that want to send to receiver.
When you click Rx List, you can view all received SMS as follows.
Read received SMS
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-19-
Click the serial no,you can view message as follows.
10.5 use AT Command via Telnet or your program
Allows your program or Telnet Send/receive SMS with AT Command
Port : 23
Please enter account
and password
Choose module
Enter “ate1”,then you can see your at command below
Enter at+cmgs=”phone number”
Enter short message
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-20-
11.Network
In Network you can check the Network status, configure the WLAN Settings , LAN Setting and SNTP settings.
11.1 Network Status: You can check the current Network setting in this
page.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-21-
11.2 WAN Settings: You can check the current Network setting in this
page.
(1) The TCP/IP Configuration item is to setup the WAN port’s network
environment. You may refer to your current network environment to configure the system properly.
(2) The PPPoE Configuration item is to setup the PPPoE Username and
Password. If you have the PPPoE account from your Service Provider, please input the Username and the Password correctly.
(3) The Bridge Item is to setuo the system Bridge mode Enable/Disable.
If you set the Bridge On, then the two Fast Ethernet ports will be transparent.
(4) When you finished the setting, please click the Submit button.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-22-
11.3 LAN Settings: You can check the current Network setting in this
page.
(1) The TCP/IP Configuration item is to setup the WAN port’s network
environment. You may refer to your current network environment to configure the system properly.
(2)DHCP Server: You may refer to your current network environment to
configure the system properly
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-23-
11.4 SNTP Settings:
SNTP Setting function: you can setup the primary and second SNTP Server IP Address, to get the date/time information. Also you can base on your location to set the Time Zone, and how long need to synchronize again. When you finished the setting, please click the Submit button.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-24-
12.SIP Setting
In SIP Setting you can setup the Service Domain,Port Settings,Codec Settings,RTP setting,RPort Setting and Other SettingS. If the VoIP service is provided by ISP,you need to setup the related informations correctly then you can register to SIP Proxy Server correctly.
12.1 In Servcie Domain Function you need to input the account and the
related informations in this page,please refer to your ISP Provider. You can register three SIP accounts . You can dial the VoIP phone to your friends via first enable SIP account and receive the phone from the tree SIP account.
First you need to click Active to enable the Service Domain,then you can input the following items. (1)No.,: choose Mobile 1 or Mobile 2 (2) Display name: you can input the name you want to display. (3) User name: you need to input the User Name get from your ISP. (4) Register Name: you need to input the Register Name get from your
ISP.
(5) Register Password: you need to input the Register Password get
from ISP.
(6) Domain Server:you need to input the Domain Server get from your
ISP. (7) Proxy Server:you need to input the Proxy Server get from your ISP. (8) Outbound Proxy: you need to input the Outbound Proxy get from your
ISP. If your ISP does not provide the information,then you can skip
this item. (9) You can see the Register Status in the Status item. (10) When you finished the setting,please click the Submit button.
Remember to click “Save Charge”
-25-
Example: Register VoipBuster
Your Voipbuster username
Your Voipbuster password
Proxy Server’s IP
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-26-
12.2 Port Setting You can setup the SIP and RTP port number in this page. Each ISP provider will have different SIP/RTPport setting, please refer to the ISP to setup the port number correctly. When you finished the setting, please click the Submit button.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-27-
12.3 Codec Settings: You can setup the Codec priority, RTP packet length in this page. You need to follow the ISP suggestion to setup these items. When you finished the setting, please click the Submit button.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-28-
12.4 Codec ID Setting You can setup the Codec ID in this page.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-29-
12.5 DTMF Setting You can setup the DTMF Setting in this page.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-30-
12.6 RPort Function: You can setup the RPort Enable/Disable in this page. To change this setting, please following your ISP information. When you finished the setting, please click the Submit button.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-31-
12.7 SIP Responses
12.7.1 486(busy here), 503(Service unavailable): When Device is busy,
you can select 486 or 505 to response to SIP.
12.7.2 180 Ring on/off: LAN TO MOBILE two stage dialing can be turn
off, therefore there will be no the Ring Back Tone, all the phone call will
be transferred to Prompt voice directly. (For this function, 183 must be
turn on)
12.7.3 183(Session Progress)-->[It means"on progressing"] : When you
turn 183 on, it means you can hear voicemail while GMS side is
busy. We recommend you to turn this on if you use SIP Proxy.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-32-
12.8 Other Settings Other Settings: you can setup the Hold by RFC and QoS in this page. To change these settings. please following your ISP information. When you finished the setting, please click the Submit button. The QoS setting is to set the voice packets’ priority. If you set the value higher than 0, then the voice packets will get the higher priority to the Internet. But the QoS function still need to cooperate with the others Internet devices.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-33-
13. NAT Trans
In NAT Trans. you can setup STUN and uPnP function. These functions can help your VoIP device working properly behind NAT.
13.1 STUN Setting: you can setup the STUN Enable/Disable and STUN
Server IP address in this page. This function can help your VoIP device working properly behind NAT. To change these settings please following your ISP information. When you finished the setting, please click the Submit button.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-34-
14.System Auth.
In System Authority you can change your login name and password.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-35-
15.Save Change
In Save Change you can save the changes you have done. If you want to use new setting in the VoIP system, You have to click the Save button. After you click the Save button, the system will automatically restart and the new setting will effect.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-36-
16.Update
In Update you can update the system’s firmware to the new one or do the factory reset to let the system back to default setting.
16.1 Update firmware (1) In New Firmware function you can update new firmware via HTTP in
this page. You can upgrade the firmware by the following steps: (2)Select the firmware code type, Risc code. (3)Click the “Browse” button in the right side of the File Location or you
can type the correct path and the filename in File Location blank. (4)Select the correct file you want to download to the system then click
the Update button.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-37-
16.2 Restore Default Settings
Default Setting you can restore the system to factory default in this page. You can just click the Restore button, then the system will restore to default and automatically restart again.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-38-
17.Reboot
Reboot function you can restart the system. If you want to restart the system, you can just click the Reboor button, then the system will automatically.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-39-
18.Specification
18.1 Protocols
SIP (RFC2543,RFC3261)
18.2 TCP/IP
IP/TCP/UDP/RTP/RTCP/
CMP/ARP/RARP/SNTP
DHCP/DNS Client
IEEE802.1P/Q
ToS/DiffServ
NAT Traversal
STUN
uPnP
IP Assignment
Static IP
DHCP
PPPoE
18.3 Codec
G.711 u-Law
G.711 a-Law
G.723.1 (5.3k)
G.723.1 (6.3k)
G.729A
G.729A/B
18.4 Voice Quality
VAD
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-40-
CNG
AEC, LEC
Packet loss
18.5 GSM (DuMV@PCI)
Dual BAND: 900/1800 MHZ
Tri BAND(BenQ M23): 900/1800/1900 MHZ
Tri BAND(Siemens MC56): 850/1800/1900 MHZ
Quad BAND: 900/1800/1900/850 MHZ
19. Appendix: Setup DuMV@PCI with Asterisk
19.1 Usage
A typical usage of such a gateway is to be able to give a call with your
normal mobile to any destination at voip cost :
Your mobile <----gsm network----> DuMV@PCI <--lan--> Asterisk
<--internet--> VOIP provider <--whatever--> landline
To do such a call, you just call your DuMV@PCI number (it has its own
simcard), then you get an invitation tone, then you dial the number which
is handled by Asterisk.
If you have some special deals with your mobile operator, like free
special number, you can call your DuMV@PCI for free.
You can then call all around the world from your mobile at voip cost :-)
19.2 DuMV@PCI Configuration
Once you've configured everything in the box, one good advice is to
unplug the power and to restart it. By this way you should have all the
parameters taken into account.
To have the DuMV@PCI to work with Asterisk, you need first to
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-41-
configure the box.
Here are some screen shots showing all the important parameters.
You have to note that in all the configuration process, the DuMV@PCI is
considered as extension '103' of the IPBX.
In Bold are the parameters depending on your installation
Here the '#' is important to avoid the two stage dialing when you give a
call from Asterisk to GSM.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-42-
The mobile number you give in that page are the authorised mobile
which can call GSM to Asterisk.
These mobile number must be defined as your GSM provider displays
the number.
If you don't know how it is displayed, just give a call to the box and check
the number given in the 'Incoming Mob' field of the 'Mobile Status' page.
Any number which is not in that list won't have acces to the LAN side, so
to Asterisk.
If you want to allow any number, just set '*' in that field ... but beware of
the bill ;-)
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-43-
Once Asterisk configuration is made, you should get 'Registered' on the
Realm1.
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-44-
It is very important to use only u-law or a-law as all DTMF is inband.
So if you want to be able to do some DISA when you call from GSM to
Asterisk, it has to be one of these 2 codecs.
These settings seem to be ok, just adjust ...
19.3 Antenna position
Another important thing is to properly place the provided antenna.
If your gsm reception is good, you should get around 18 or 19 as Signal
Quality in the "Mobile Status" page.
With that level of signal quality, your audio quality will be very good.
On the other end,the signal quality down to 11, audio becomes very jerky.
So, maximum signal quality = maximum audio quality.
19.4 Asterisk configuration
Once the DuMV@PCI is set, you have to configure Asterisk.
On that side, you have to setup files as follow :
19.5 sip.conf
; GSM VOIP Gateway DuMV@PCI
[103]
type=friend
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-45-
username=103
fromuser=103
regexten=103 ; When they register, create extension 401
secret=xxxxxxx ; Asterisk extension password
context=gateway ; Incoming calls context
dtmfmode=inband ; Very important for DISA to work
call-limit=1 ; Limit to 1 call max
callerid=GSM Gateway <103>
host=dynamic
nat=no ; Gateway is not behind a NAT router
canreinvite=no ; Typically set to NO if behind NAT
insecure=very
qualify=yes
disallow=all
allow=ulaw ; prefered codec for DTMF detection
allow=alaw
19.6 extensions.conf
; ******* GSM Gateway incoming calls ********** [gateway] exten => _103,1,Answer() exten => _103,2,DigitTimeout(3) ; give enough time to do second stage dialing exten => _103,3,ResponseTimeout(5) exten => _103,4,DISA(no-password|outgoing) ; here 'outgoing' is the normal context to deal with the dial plan
[outgoing] ... ; example of LAN to GSM call ; call the DuMV@PCI sim card mail box thru GSM exten => _888,1,SetCallerID("xxxxxxxxxx") exten => _888,2,Dial(SIP/${EXTEN}@103,60,r) exten => _888,3,Hangup()
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-46-
20.
How to setup Asterisk to receive Caller ID from DuMV@PCI
Test version
trixbox-2.2
SIP Softphone
SJPhone 1.60.289a X-Lite 1105x
Modify file
Add the following setting to/etc/asterisk/sip.conf
[1000] type=friend secret=1000 qualify=yes nat=yes host=dynamic canreinvite=no context=internal
[1001] type=friend secret=1001 qualify=yes nat=yes host=dynamic canreinvite=no context=internal
[1002] type=friend secret=1002 qualify=yes
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-47-
nat=yes host=dynamic canreinvite=no context=internal
Add the following setting to /etc/asterisk/extensions.conf
[internal] exten => 1000,1,Dial(SIP/1000) exten => 1001,1,Dial(SIP/1001) exten => 1002,1,Dial(SIP/1002)
configure: trixbox-2.2: address=192.168.66.202:5060 SJPhone: address=192.168.66.145:5060; username=1000, displayname=user_1000 X-Lite: address=192.168.66.145:7331; username=1001, displayname=user_1001 DUMV@PCI: address=192.168.66.203:5060; username=1002, displayname=user_1002
-48-
test1
pstn call 0928492911(mobile number) DuMV@PCI hear the second dial
tone,call SoftPhone’s number SoftPhone show pstn caller id
This Is X-Lite receiving packet, red word is pstn number. Test ok.
INVITE sip:1001@192.168.66.145:7331 SIP/2.0 Via: SIP/2.0/UDP 192.168.66.202:5060;branch=z9hG4bK3d0bbaf7;rport From: "035678238" <sip:1002@192.168.66.202>;tag=as580472a7 To: <sip:1001@192.168.66.145:7331> Contact: <sip:1002@192.168.66.202> Call-ID: 20fa417265e6a26d0b0aae4f551f06f3@192.168.66.202 CSeq: 102 INVITE User-Agent: Asterisk PBX Max-Forwards: 70 Date: Tue, 22 May 2007 02:50:37 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-49-
Content-Type: application/sdp Content-Length: 242
v=0 o=root 2737 2737 IN IP4 192.168.66.202 s=session c=IN IP4 192.168.66.202 t=0 0 m=audio 15852 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - -
SIP/2.0 200 Ok Via: SIP/2.0/UDP 192.168.66.202:5060;branch=z9hG4bK3d0bbaf7;rport From: "035678238" <sip:1002@192.168.66.202>;tag=as580472a7 To: <sip:1001@192.168.66.145:7331>;tag=677373503 Contact: <sip:1001@192.168.66.145:7331> Call-ID: 20fa417265e6a26d0b0aae4f551f06f3@192.168.66.202 CSeq: 102 INVITE Content-Type: application/sdp Server: X-Lite release 1105x Content-Length: 254
v=0 o=1001 4804366 4807851 IN IP4 192.168.66.145 s=X-Lite c=IN IP4 192.168.66.145 t=0 0 m=audio 8000 RTP/AVP 0 8 3 101 a=rtpmap:0 pcmu/8000
-50-
a=rtpmap:8 pcma/8000 a=rtpmap:3 gsm/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
test 2
SoftPhone call 1002 DuMV@PCI  hear second dial tone and call pstn pstn answer show caller id-mobile number 0928492911
This Is X-Lite receiving packet. Test ok.
INVITE sip:1002@192.168.66.202 SIP/2.0 Via: SIP/2.0/UDP
192.168.66.145:7331;rport;branch=z9hG4bK4C4315351FC84CA582D14FB8C25F C3BF From: user_1001 <sip:1001@192.168.66.202:7331>;tag=1121869743 To: <sip:1002@192.168.66.202> Contact: <sip:1001@192.168.66.145:7331> Call-ID: F4B32CA6-1835-4E68-941A-C685B39C43FF@192.168.66.145 CSeq: 63148 INVITE Proxy-Authorization: Digest username="1001",realm="asterisk",nonce="0d3b2879",response="8aaaaa5b5ad53 654bf0a2ab0fa9bb118",uri="sip:1002@192.168.66.202",algorithm=MD5 Max-Forwards: 70 Content-Type: application/sdp User-Agent: X-Lite release 1105x Content-Length: 254
v=0 o=1001 5111461 5111501 IN IP4 192.168.66.145 s=X-Lite
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-51-
c=IN IP4 192.168.66.145 t=0 0 m=audio 8000 RTP/AVP 0 8 3 101 a=rtpmap:0 pcmu/8000 a=rtpmap:8 pcma/8000 a=rtpmap:3 gsm/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv
SIP/2.0 200 OK Via: SIP/2.0/UDP
192.168.66.145:7331;branch=z9hG4bK4C4315351FC84CA582D14FB8C25FC3BF ;received=192.168.66.145;rport=7331 From: user_1001 <sip:1001@192.168.66.202:7331>;tag=1121869743 To: <sip:1002@192.168.66.202>;tag=as2a2fbf98 Call-ID: F4B32CA6-1835-4E68-941A-C685B39C43FF@192.168.66.145 CSeq: 63148 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:1002@192.168.66.202> Content-Type: application/sdp Content-Length: 242
v=0 o=root 2737 2737 IN IP4 192.168.66.202 s=session c=IN IP4 192.168.66.202 t=0 0 m=audio 13798 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000
-52-
a=fmtp:101 0-16 a=silenceSupp:off - - - -
register issue
The packet date from Asterisk as follows. Please note, user_1002’s display name don’t appear So the website’s Display Name is not available
<-- SIP read from 192.168.66.203:5060: REGISTER sip:192.168.66.202 SIP/2.0 Via: SIP/2.0/UDP
192.168.66.203:5060;rport;branch=z9hG4bK590e92b551233a10a0ae71944c19b5 aa From: <sip:1002@192.168.66.202>;tag=4e36d8f1 To: <sip:1002@192.168.66.202> Call-ID: 7e45b773130f1fc945efcee502f84042@192.168.66.203 Contact: <sip:1002@192.168.66.203:5060> CSeq: 10 REGISTER Expires: 300 Authorization: Digest username="1002",realm="asterisk",nonce="3ca93a1e",response="4d39ccb0dae64 bb2f1341e9896ac1ea7",uri="sip:192.168.66.202",algorithm=MD5 User-Agent: CMI CM5K Content-Length: 0
--- (11 headers 0 lines) --­Using latest REGISTER request as basis request Sending to 192.168.66.203 : 5060 (NAT) Transmitting (NAT) to 192.168.66.203:5060: SIP/2.0 100 Trying Via: SIP/2.0/UDP
192.168.66.203:5060;branch=z9hG4bK590e92b551233a10a0ae71944c19b5aa;rec
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-53-
eived=192.168.66.203;rport=5060 From: <sip:1002@192.168.66.202>;tag=4e36d8f1 To: <sip:1002@192.168.66.202> Call-ID: 7e45b773130f1fc945efcee502f84042@192.168.66.203 CSeq: 10 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:1002@192.168.66.202> Content-Length: 0
--­Transmitting (NAT) to 192.168.66.203:5060: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP
192.168.66.203:5060;branch=z9hG4bK590e92b551233a10a0ae71944c19b5aa;rec eived=192.168.66.203;rport=5060 From: <sip:1002@192.168.66.202>;tag=4e36d8f1 To: <sip:1002@192.168.66.202>;tag=as13a32ae8 Call-ID: 7e45b773130f1fc945efcee502f84042@192.168.66.203 CSeq: 10 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5def9231" Content-Length: 0
--­Scheduling destruction of call '7e45b773130f1fc945efcee502f84042@192.168.66.203' in 15000 ms asterisk1*CLI> <-- SIP read from 192.168.66.203:5060: REGISTER sip:192.168.66.202 SIP/2.0
-54-
Via: SIP/2.0/UDP
192.168.66.203:5060;rport;branch=z9hG4bK672fa67f59c2223275f5ee286d27597a From: <sip:1002@192.168.66.202>;tag=4e36d8f1 To: <sip:1002@192.168.66.202> Call-ID: 7e45b773130f1fc945efcee502f84042@192.168.66.203 Contact: <sip:1002@192.168.66.203:5060> CSeq: 11 REGISTER Expires: 300 Authorization: Digest username="1002",realm="asterisk",nonce="5def9231",response="046a412f4e7ed4 e98fd507416994a80a",uri="sip:192.168.66.202",algorithm=MD5 User-Agent: CMI CM5K Content-Length: 0
--- (11 headers 0 lines) --­Using latest REGISTER request as basis request Sending to 192.168.66.203 : 5060 (NAT) Transmitting (NAT) to 192.168.66.203:5060: SIP/2.0 100 Trying Via: SIP/2.0/UDP
192.168.66.203:5060;branch=z9hG4bK672fa67f59c2223275f5ee286d27597a;recei ved=192.168.66.203;rport=5060 From: <sip:1002@192.168.66.202>;tag=4e36d8f1 To: <sip:1002@192.168.66.202> Call-ID: 7e45b773130f1fc945efcee502f84042@192.168.66.203 CSeq: 11 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:1002@192.168.66.202> Content-Length: 0 12 headers, 0 lines Reliably Transmitting (NAT) to 192.168.66.203:5060:
-55-
OPTIONS sip:1002@192.168.66.203:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.66.202:5060;branch=z9hG4bK7b92dd8a;rport From: "Unknown" <sip:Unknown@192.168.66.202>;tag=as5dee3942 To: <sip:1002@192.168.66.203:5060> Contact: <sip:Unknown@192.168.66.202> Call-ID: 5ebc2211278e2cb7699911ad39454d4e@192.168.66.202 CSeq: 102 OPTIONS User-Agent: Asterisk PBX Max-Forwards: 70 Date: Tue, 22 May 2007 03:11:54 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Content-Length: 0
--­Transmitting (NAT) to 192.168.66.203:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP
192.168.66.203:5060;branch=z9hG4bK672fa67f59c2223275f5ee286d27597a;recei ved=192.168.66.203;rport=5060 From: <sip:1002@192.168.66.202>;tag=4e36d8f1 To: <sip:1002@192.168.66.202>;tag=as13a32ae8 Call-ID: 7e45b773130f1fc945efcee502f84042@192.168.66.203 CSeq: 11 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Expires: 300 Contact: <sip:1002@192.168.66.203:5060>;expires=300 Date: Tue, 22 May 2007 03:11:54 GMT Content-Length: 0
-56-
21. Simple Steps
Step 1. Change the Network setting if you need (Network/network setting) Step 2. Register SIP proxy Server or Asterisk or VoipBuster if you need
(sip setting/service domain)
Step 3. Set Route ( request )
mobile to lan:
(1) *,* --->it is two stage dialing.
when mobile call in, DuMV@PCI will provide dial tone and you can enter ip or asterisk extension or phone number.
*
If you want to enter phone number
,please note your asterisk need
to have route of destination number.
(2) *, specific extension or IP or phone number
when mobile call in, DuMV@PCI will connect with this specific extension or IP or phone number auto
*
If you want to set specific pho
ne number,please note your asterisk
need to have route of destination number.
Lan to Mobile:
(1)
*,* --->it is two stage dialing.
when lan phone call in, DuMV@PCI will provide dial tone and you
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
-57-
(2) *, specific mobile number
when lan phone call in, DuMV@PCI will connect with the specific mobile number auto.
(3) *,#--->It is 1 stage dialing
When lan phone and DuMV@PCI both register Asterisk, you can dial any destination number from lan phone directly.
*
Please note:Asterisk need to set route of destination number that dial out from DuMV@PCI
* All changes both need to click "save and change"
VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299
Loading...