[Asterisk-Users] How to connect with a headphone

Bruno Hertz brrhtz at yahoo.de
Tue Mar 15 12:44:28 MST 2005


On Tue, 2005-03-15 at 20:09 +0100, Andreas Meyer wrote:

> Sorry for not being clear enough but my headphone is attached to the
> soundcard at my local PC. Now when I start Asterisk on that machine it
> is using port 5060 and sjphone can not connect because it also uses port
> 5060.
> 
> netstat -panu |grep 506
> udp        0      0 0.0.0.0:5060       0.0.0.0:*           5773/asterisk
> 
> If I could tell Asterisk to listen to more ports than 5060 it would be
> no problem.

OK, that really wasn't clear from your first posting. The problem is
that you try to run two SIP 'clients' on the same machine, sjphone and
asterisk, and both try to bind to port 5060 for that reason. It has
literally nothing to do with your headset/phone.

I you want asterisk to take SIP calls, you can't really run sjphone on
the same machine. * itself however can act like a softphone via chan_oss
or chan_alsa, so you might want to look into this (* wiki) and just drop
sjphone.

If asterisk doesn't need to take SIP calls, just disable chan_sip
loading and sjphone should have no problems running.

Regards, Bruno.






More information about the asterisk-users mailing list