Upgrade 3CX to v18 and get it hosted free!

Asterisk phone Kphone

Author image

How to configure Asterisk for KPhone 4.0.1

Asterisk configuration

In this sample configuration, 192.168.0.1 represents the Asterisk server and 192.168.0.2 is the client running Kphone.

Configure Asterisk to accept registration and inbound calls in sip.conf like this:

[general]

disallow=all ; Disallow all codecs
allow=ulaw ; Allow codecs in order of preference

[kphone]
type=friend
host=dynamic
dtmfmode=inband
secret=blahblahblah

Important:
kphone handles DTMF in-band, and this only works if you force a 64 kbps codec, like ulaw or alaw

Configure kphone for the asterix server

File->Identity:
User part of SIP URL: kphone
Host part of SIP URL: 192.168.0.1
Authentication Username: kphone
Auto register: check

KPhone will ask to be restarted. After restarting it should register, and Asterisk’s console should display (if verbosity is high enough):

Registered SIP ‘kphone’ at 192.168.0.2 port 5060 expires 900

Now you can use kphone, complete with the DTMF support.

To dial your asterisk server (e.g. for voicemail) dial the extension of interest once you are registered. For example, “s” for the start extension, or 8500 for voicemail with the default extensions.conf.

Tóth Istvà¡n, 2004-03-13

Please note

This configuration does not take NAT into consideration. To do that, read the Asterisk FAQ on SIP and NAT.

Also, if running kphone and Asterisk on the same machine. Make sure you start Asterisk first or it will have problems binding to port 5060 if kphone is already running.

See Also


Asterisk | Asterisk Configuration | Channel Configuration | Configuration for Specific Phones


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.