Differences
This shows you the differences between two versions of the page.
— |
nokia_voip_and_asterisk [2015/05/24 14:28] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Nokia VoIP and Asterisk ====== | ||
+ | |||
+ | This works for both inside and outside the local network as long as you [[forward outside voip traffic]] to your Asterisk box. | ||
+ | |||
+ | The following settings have been tested on: | ||
+ | * E70 RM-10 (V 3.0633.09.04) | ||
+ | * E90 RA-6 (V 07.24.0.3) | ||
+ | |||
+ | |||
+ | |||
+ | **In this example:** | ||
+ | [SIP username] = 101 | ||
+ | [your password] = mypassword | ||
+ | [realm of your asterisk] = asterisk (default for trixbox) | ||
+ | |||
+ | |||
+ | ===== Asterisk Settings ===== | ||
+ | **Trixbox sip_nat.conf** | ||
+ | |||
+ | externip=x.x.x.x ;Your external IP or hostname | ||
+ | localnet=x.x.x.x/255.255.255.0 ;Your internal network e.g. 192.168.1.0 | ||
+ | |||
+ | |||
+ | **Asterisk sip.conf** | ||
+ | [101] | ||
+ | username=101 | ||
+ | type=friend | ||
+ | secret=mypassword | ||
+ | record_out=Adhoc | ||
+ | record_in=Adhoc | ||
+ | qualify=yes | ||
+ | port=5060 | ||
+ | nat=yes | ||
+ | mailbox=101@device | ||
+ | host=dynamic | ||
+ | dtmfmode=rfc2833 | ||
+ | context=from-internal | ||
+ | canreinvite=no | ||
+ | callerid=Nokia | ||
+ | |||
+ | ===== Nokia Settings ===== | ||
+ | |||
+ | {{ screenshot0014.thumbnail.png|E70 Registered with Asterisk}} | ||
+ | |||
+ | Set the following on your Nokia: | ||
+ | |||
+ | **SIP Settings** | ||
+ | Profile name: Asterisk | ||
+ | Service profile: IETF | ||
+ | Default access point: [set your wifi access point] | ||
+ | Public user name: sip:[SIP username]@[domain or IP address] | ||
+ | Use compression: No | ||
+ | Registration: Always on | ||
+ | Use security: No | ||
+ | |||
+ | **Proxy server** | ||
+ | Proxy server address: sip:[domain or IP address] | ||
+ | Realm: [realm of your asterisk] | ||
+ | User name: [SIP username] | ||
+ | Password: [your password] | ||
+ | Allow loose routing: yes | ||
+ | Transport type: UDP | ||
+ | Port: 5060 | ||
+ | |||
+ | **Registrar server** | ||
+ | Registrar server address: sip:Asterisk | ||
+ | Realm: none (leave blank) | ||
+ | User name: none (leave blank) | ||
+ | Password: none (leave blank) | ||
+ | Transport type: UDP | ||
+ | Port: 5060 | ||