Does anyone know what might be going wrong here?
This is the only phone that is doing this. It is a Cisco 7970 and it is showing a 400 Bad Request when I show debugging in SIP. It looks like it is trying to do a PUBLISH and then Asterisk is saying that it has no matching peer.
Here are the details:
<--- SIP read from UDP:192.168.4.220:50057 --->
PUBLISH sip:00131a592255@192.168.4.53 SIP/2.0
Via: SIP/2.0/UDP 192.168.4.220:5060;branch=z9hG4bK4580744c
To: <sip:00131a592255@192.168.4.53>
From: <sip:00131a592255@192.168.4.53>;tag=00131a5922553835d9e361a4-776fd7ea
Call-ID: 00131a59-22552f88-a17a07bc-b8efb072@192.168.4.220
Contact: <sip:00131a592255@192.168.4.220:5060>
CSeq: 12167 PUBLISH
User-Agent: Cisco-CP7970G/9.4.2
Event: presence
Expires: 2147483647
Max-Forwards: 70
Content-Length: 465
Content-Type: application/pidf+xml
Content-Disposition: session;handling=required
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:e="urn:ietf:params:xml:ns:pidf:status:rpid" xmlns:ce="urn:cisco:params:xml:ns:pidf:rpid" xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps" entity="sip:00131a592255">
<tuple id="1"> <status> <basic>open</basic> </status> </tuple>
<dm:person><e:activities><ce:available/></e:activities> </dm:person>
</presence>
<------------->
--- (14 headers 5 lines) ---
Sending to 192.168.4.220:5060 (no NAT)
No matching peer for '00131a592255' from '192.168.4.220:50057'
<--- Transmitting (no NAT) to 192.168.4.220:5060 --->
SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP 192.168.4.220:5060;branch=z9hG4bK4580744c;received=192.168.4.220
From: <sip:00131a592255@192.168.4.53>;tag=00131a5922553835d9e361a4-776fd7ea
To: <sip:00131a592255@192.168.4.53>;tag=as5e73d260
Call-ID: 00131a59-22552f88-a17a07bc-b8efb072@192.168.4.220
CSeq: 12167 PUBLISH
Server: Asterisk PBX 13.12.1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces,timer
Content-Length: 0
Thanks in advance.