login | register
Wed 08 of Oct, 2008 [07:23 UTC]

voip-info.org

Discuss [7] History

Asterisk phone Kphone

Created by: stoty,Last modification on Wed 02 of Feb, 2005 [05:52 UTC] by fugalh

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

Comments

Comments Filter
222

333Kphone Configuration with Asterisk

by mahendran, Wednesday 23 of May, 2007 [04:05:18 UTC]
I tried kphone with asterisk 1.4.4 (Both client and server configured in Linux machines). Asterisk server installed in fedora version4. I followed the same procedure given in this portal. But still i am not able to connect to the asterisk server. I am getting the following error.

May 20 21:22:01 NOTICE18275: chan_sip.c:14606 handle_request_register: Registration from '"kphone" <sip:kphone@10.81.144.110>' failed for '10.81.144.139' - No matching peer found
   — Remote UNIX connection
   — Remote UNIX connection disconnected
   — Remote UNIX connection

Please give me some pointers regarding this.

Mahendran.

                                                                                                                                                                                                                                                                               
222

333Re: answers

by jas2803, Wednesday 09 of March, 2005 [05:48:40 UTC]
I did not have to use the ip address.....Only for the host(the asterisk server). I am able to receive calls but I am not able to make any. Receive error Call Failed Service unavailable.
222

333answers

by fugalh, Wednesday 02 of February, 2005 [05:55:23 UTC]
you're right about the ip address. I corrected it. You don't need an ip address, you just need a name that will resolve to your asterisk server.
222

333Getting the sample to work

by , Monday 17 of January, 2005 [12:33:30 UTC]
Hi,
To get the sample above to work, I had to make a change to the kphone identity setting. In the above, it says to set the "host part of sip url: to 192.168.0.2. I think it should be the ip of the asterisk server. So I set it to 192.168.0.1 and it started to work
Abdul.

222

333doesn't work

by , Monday 27 of December, 2004 [14:35:40 UTC]
I tried kphone 4.0.5 and asterisk 1.0.2. I followed the instructions but it doesn't work. The best I could get was asterisk sends 200 OK and kphone retries forever. One thing I found, you must put an IP address (not a hostname) into kphone. But it still didn't work. If you figure out how to make it work then send me an email jpritikin@pobox.com
222

333Echo

by , Tuesday 12 of October, 2004 [18:57:23 UTC]
When using kphone (and only kphone), I get an echo. Is there a work around for this.
222

333ASterisk Kphone installation

by kiran_79, Monday 19 of April, 2004 [10:52:57 UTC]
Hi

Iam new to voip,hence do not know much abt Asterisk and kphone,i need help in installing them without any special hardware,for basic voip connectivity between two computers,can someone please tell me how to proceed abt it