Asterisk phone sjphone
Created by: oej,Last modification on Thu 10 of May, 2007 [20:21 UTC] by Darthapache
How to configure Asterisk for the SJphone
Asterisk configuration
In this sample configuration, 192.168.0.1 represents the Asterisk server and 192.168.0.2 is the client running SJPhone.
Configure Asterisk to accept registration and inbound calls in sip.conf like this:
[mysjphone]
context=from-sip
type=friend
host=dynamic
username=mysjphone
secret=blablabla
Next, configure Asterisk to dial the SJphone with an entry in extensions.conf
exten => 100,1,dial(SIP/mysjphone)
exten => mysjphone,1,goto(100,1) ; To be able to dial with text, "mysjphone"
SJPhone configuration:
1/ click on the Options button
2/ go to the Profiles tab.
3/ click on 'New'
4/ create a new profile called 'asterisk' with profile type 'Calls through SIP proxy'
5/ use this profile for your asterisk connection with the following settings:
Register with proxy - checked.
Proxy domain: 192.168.0.1
Leave the rest of the settings at default. When you hit the OK button, it will ask for
Account: mysjphone
Password: <as above>
You can change the account and password by reinitializing the profile.
When it's working, SJPhone's main display shows:
Status: no active calls
Default protocol: SIP
SIP Proxy: registered with 192.168.0.1
Host address: 192.168.0.2
and Asterisk's console displays:
Registered SIP 'mysjphone' at 192.168.0.2
Mark Johnston, 2003-11-27
Rob Scott, 2005-01-21
Please note
This configuration does not take NAT into consideration. To do that, read the Asterisk FAQ on SIP and NAT.In addition, You can view SJPhone/Asterisk setup instructions for newer versions of SJPhone Here or you can find a complete step by step configuration manual on asteriskguru
See Also
Asterisk | Asterisk Configuration | Channel Configuration | Configuration for Specific Phones
Comments
333Question
Can I use SJphone like a H.323 phone in order to dial and receive call through Asterisk?Can I consider Asterisk just like a sort of H323 Gateway?
Thanks 4 all!
AX
333GSM and inband dtmf
I had to disable GSM codec (the default for SJPhone), then I could call the asterisk server from the SJPhone.
I also made Ulaw the top of the Codec list.
333External SJPhone Extensions?
Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK04367ddc;rport
From: "2000" ;tag=as5e4b16da
To:
Contact:
When I call the 3000 its sitting on a network outside mine but it cant connect to it. Could someone help?
333Subscription does not exist
OPTIONS SIP messages were being sent periodically from my SIP phone to the Asterisk server and responded with "404 Not found" error messages. This messages are not sent anymore after disabling STUN.
Hope it helps!
Alberto