sip debug shows that my * is trying to invite my spa and being told 404 Reliably Transmitting: OPTIONS sip:42.7.11.194 SIP/2.0 Via: SIP/2.0/UDP 128.9.0.39:5060;branch=z9hG4bK43efe1d7 From: "asterisk" <sip:asterisk@128.9.0.39>;tag=as39d40d19 To: <sip:42.7.11.194> Contact: <sip:asterisk@128.9.0.39> Call-ID: 37a3a2bc5811012d44645e861979d27e@128.9.0.39 CSeq: 102 OPTIONS User-Agent: Asterisk PBX Date: Mon, 14 Jun 2004 23:13:04 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Length: 0 (no NAT) to 42.7.11.194:5060 Sip read: SIP/2.0 404 Not Found To: <sip:42.7.11.194> From: "asterisk" <sip:asterisk@128.9.0.39>;tag=as39d40d19 Call-ID: 37a3a2bc5811012d44645e861979d27e@128.9.0.39 CSeq: 102 OPTIONS Via: SIP/2.0/UDP 128.9.0.39:5060;branch=z9hG4bK43efe1d7 Server: Sipura/SPA1000-2.0.8(GW) Content-Length: 0 the sip.conf entry for the spa is [spa0p] callerid="SPA Phone" <102> type=friend host=dynamic port=5060 username=spa0p auth=md5 secret=seekret qualify=1000 dtmfmode=rfc2833 canreinvite=no context=in-99 mailbox=001 it appears that * is attemting to authenticate as 'asterisk'. but then what is the username in the sip.conf entry? randy
Randy Bush wrote:> sip debug shows that my * is trying to invite my spa and > being told 404 > > Reliably Transmitting: > OPTIONS sip:42.7.11.194 SIP/2.0 > Via: SIP/2.0/UDP 128.9.0.39:5060;branch=z9hG4bK43efe1d7 > From: "asterisk" <sip:asterisk@128.9.0.39>;tag=as39d40d19 > To: <sip:42.7.11.194> > Contact: <sip:asterisk@128.9.0.39> > Call-ID: 37a3a2bc5811012d44645e861979d27e@128.9.0.39 > CSeq: 102 OPTIONS > User-Agent: Asterisk PBX > Date: Mon, 14 Jun 2004 23:13:04 GMT > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER > Content-Length: 0 > > (no NAT) to 42.7.11.194:5060 > > > Sip read: > SIP/2.0 404 Not Found > To: <sip:42.7.11.194> > From: "asterisk" <sip:asterisk@128.9.0.39>;tag=as39d40d19 > Call-ID: 37a3a2bc5811012d44645e861979d27e@128.9.0.39 > CSeq: 102 OPTIONS > Via: SIP/2.0/UDP 128.9.0.39:5060;branch=z9hG4bK43efe1d7 > Server: Sipura/SPA1000-2.0.8(GW) > Content-Length: 0 > > the sip.conf entry for the spa is > > [spa0p] > callerid="SPA Phone" <102> > type=friend > host=dynamic > port=5060 > username=spa0p > auth=md5 > secret=seekret > qualify=1000 > dtmfmode=rfc2833 > canreinvite=no > context=in-99 > mailbox=001 > > it appears that * is attemting to authenticate as 'asterisk'. but > then what is the username in the sip.conf entry? > > randyCheck your codecs settings on both sides!
Randy Bush wrote:>sip debug shows that my * is trying to invite my spa and >being told 404 > > Reliably Transmitting: > OPTIONS sip:42.7.11.194 SIP/2.0 > Via: SIP/2.0/UDP 128.9.0.39:5060;branch=z9hG4bK43efe1d7 > From: "asterisk" <sip:asterisk@128.9.0.39>;tag=as39d40d19 > To: <sip:42.7.11.194> > Contact: <sip:asterisk@128.9.0.39> > Call-ID: 37a3a2bc5811012d44645e861979d27e@128.9.0.39 > CSeq: 102 OPTIONS > User-Agent: Asterisk PBX > Date: Mon, 14 Jun 2004 23:13:04 GMT > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER > Content-Length: 0 > > >Thats not an INVITE, its an OPTIONS message, its harmless:) Andres