[Asterisk-Users] Re: SIP Problem - What did I screw up?

Alex Zeffertt ajz at cambridgebroadband.com
Fri Sep 24 05:47:11 MST 2004


Check that the sip address that kphone needs to register is
	sip:247417@<ipaddr or fqn of server>

with password
	xyz123

I also find that using ethereal *really* helps debug these things.

But the real reason I'm writing is to ask: what did you do to get
asterisk to log to /dev/log?

Ta,

Alex


On Wed, 22 Sep 2004 23:37:29 +0000
C Wegrzyn <lists at garbagedump.com> wrote:

> I am a newbie to Asterisk (though not to SIP) . I am trying to setup a
> pure SIP environment for some testing. Here is my SIP.CONF file:
> 
> [general]
> port = 5060
> bindaddr = 0.0.0.0
> context = default
> 
> [247417]
> type=friend
> host=dynamic
> dtmfmode=inband
> secret=xyz123
> context=default
> 
> And my EXTENSION.CONF file is:
> 
> 
> [general]
> static=yes
> writeprotect=no
> 
> [globals]
> 
> [default]
> exten => 247417,1,Dial(SIP/247417,15,t)
> exten => 247417,2,Voicemail2(u247417)
> exten => 247417,102,Voicemail2(b247417)
> exten => 247417,103,Hangup
> 
> 
> What I am seeing in the debug log is:
> 
> ep 22 23:23:50 VERBOSE[16384]:   == Parsing '/etc/asterisk/sip.conf': 
> Sep 22 23:23:50 VERBOSE[16384]:   == Parsing '/etc/asterisk/sip.conf':
> Found Sep 22 23:23:50 DEBUG[16384]: Unable to find key '247417' in
> family 'SIP/Registry'
> Sep 22 23:23:50 VERBOSE[16384]:   =  SIP Listening on 0.0.0.0:5060
> Sep 22 23:23:50 VERBOSE[16384]:   == Using TOS bits 0
> Sep 22 23:23:50 VERBOSE[16384]:   == Registered channel type 'SIP' 
> (Session Initiation Protocol (SIP))
> Sep 22 23:23:50 VERBOSE[16384]:   == Registered application
> 'SIPDtmfMode'
> 
> 
> What am I doing wrong? When I use KPhone I can't register the phone.
> 
> TIA,
> Chuck Wegrzyn
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Alex Zeffertt
Software Engineer
Cambridge Broadband Ltd.
http://www.cambridgebroadband.com



More information about the asterisk-users mailing list