[Home]

Summary:ASTERISK-10186: Can not register with server from sip.conf if domain name or IP is not in real time db
Reporter:dovid (dovid)Labels:
Date Opened:2007-08-28 13:58:39Date Closed:2011-06-07 14:02:42
Priority:MajorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_realtime
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I am having a problem which I can replicate on 1.4.6 but I never have the problem on 1.2.24. (or on any 1.2.X for that matter).

When trying to register with another server (in this case SER) if I am using real time asterisk queries the asterisk real time for the host name (or IP depending on how I wrote my register statement in sip.conf).

For instance if I use register => 1234:1234@myprovider.com then you see asterisk looking for myhost.com in the mysql db. It should not because it is just a registration statement. If I put the rest of the information in to the asterisk real time db then I have no issue.

One thing I will add is that as long as I have an entry in my real time for myprovider.com it will work for multiple registrations. Meaning that if under the name myprovider.com I have sip user name 1234 and password 1234 and I have in sip.conf

register => 1234:1234@myprovider.com
register => 4444:4444.myprovider.com
register => 6666:6666.myprovider.com

all of the above registrations will work as long as I have an entry for myprovider.com in my realtime db



****** ADDITIONAL INFORMATION ******

If I have the domain in the db then I get:
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = 'myprovider.com'

MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = 'my_cid_num'
   -- Executing [device@sip-incoming:1] Dial("SIP/55551234-08e306c0", "SIP/device") in new stack
   -- Called device

When not in mysql I get:
  -- Registration for 'sip_id@myprovide.com' timed out, trying again (Attempt #2)
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = 'myprovide.com'

WITH SIP DEBUG when working:

<--- SIP read from XXX.XX.XX.XX:5060 --->
INVITE sip:dovid@69.XX.XX.XX:5060 SIP/2.0
Record-Route: <sip:XXX.XX.XX.XX;ftag=as0308c0ae;lr=on>
Via: SIP/2.0/UDP XXX.XX.XX.XX;branch=z9hG4bKa8c4.0070bbb7.0
Via: SIP/2.0/UDP XXX.XX.XX.XX:5060;branch=z9hG4bK65b7a07f;rport=5060
From: "A.A. - FPP" <sip:cid_of_phone_calling@XXX.XX.XX.XX>;tag=as0308c0ae
To: <sip:my_sip_id@XXX.XX.XX.XX>
Contact: <sip:cid_of_phone_calling@XXX.XX.XX.XX:5060>
Call-ID: 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
CSeq: 102 INVITE
User-Agent: Enswitch
Max-Forwards: 16
Date: Tue, 28 Aug 2007 18:55:51 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 488

v=0
o=root 9998 9998 IN IP4 XXX.XX.XX.XX
s=session
c=IN IP4 XXX.XX.XX.XX
t=0 0
m=audio 11922 RTP/AVP 18 0 8 10 3 111 5 7 110 97 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:10 L16/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:7 LPC/8000
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=direction:active

<------------->
--- (15 headers 21 lines) ---
Sending to XXX.XX.XX.XX : 5060 (NAT)
Using INVITE request as basis request - 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = 'cid_of_phone_calling'
Found peer 'myprovider.com'
Found RTP audio format 18
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 10
Found RTP audio format 3
Found RTP audio format 111
Found RTP audio format 5
Found RTP audio format 7
Found RTP audio format 110
Found RTP audio format 97
Found RTP audio format 101
Peer audio RTP is at port XXX.XX.XX.XX:11922
Found description format G729 for ID 18
Found description format PCMU for ID 0
Found description format PCMA for ID 8
Found description format L16 for ID 10
Found description format GSM for ID 3
Found description format G726-32 for ID 111
Found description format DVI4 for ID 5
Found description format LPC for ID 7
Found description format speex for ID 110
Found description format iLBC for ID 97
Found description format telephone-event for ID 101
Capabilities: us - 0x100 (g729), peer - audio=0xfee (gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|ilbc)/video=0x0 (nothing), combined - 0x100 (g729)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port XXX.XX.XX.XX:11922
Looking for dovid in sip-incoming (domain 69.XX.XX.XX)
list_route: hop: <sip:XXX.XX.XX.XX;ftag=as0308c0ae;lr=on>

<--- Transmitting (no NAT) to XXX.XX.XX.XX:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP XXX.XX.XX.XX;branch=z9hG4bKa8c4.0070bbb7.0;received=XXX.XX.XX.XX
Via: SIP/2.0/UDP XXX.XX.XX.XX:5060;branch=z9hG4bK65b7a07f;rport=5060
From: "A.A. - FPP" <sip:cid_of_phone_calling@XXX.XX.XX.XX>;tag=as0308c0ae
To: <sip:my_sip_id@XXX.XX.XX.XX>
Call-ID: 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:dovid@69.XX.XX.XX>
Content-Length: 0


<------------>
   -- Executing [dovid@sip-incoming:1] Dial("SIP/my_sip_id-08e33e38", "SIP/dovid") in new stack
Audio is at 69.XX.XX.XX port 16326
Adding codec 0x100 (g729) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 79.XX.XX.XXX:32847:
INVITE sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XX:5060;branch=z9hG4bK5a4b5c3a;rport
From: "A.A. - FPP" <sip:cid_of_phone_calling@pbx.computercontractors.net>;tag=as1ba8c0e8
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
Contact: <sip:cid_of_phone_calling@69.XX.XX.XX>
Call-ID: 09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 28 Aug 2007 18:58:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 265

v=0
o=root 27928 27928 IN IP4 69.XX.XX.XX
s=session
c=IN IP4 69.XX.XX.XX
t=0 0
m=audio 16326 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:40
a=sendrecv

---
   -- Called dovid
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = 'my_sip_id'
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM extensions WHERE exten = 'dovid' AND context = 'sip-incoming' AND priority = '-1'
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM extensions WHERE exten LIKE '\\_%' AND context = 'sip-incoming' AND priority = '-1' ORDER BY exten

<--- SIP read from 79.XX.XX.XXX:32847 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 69.XX.XX.XX:5060;branch=z9hG4bK5a4b5c3a;rport=5060
Contact: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>;tag=0f1af618
From: "A.A. - FPP"<sip:cid_of_phone_calling@pbx.computercontractors.net>;tag=as1ba8c0e8
Call-ID: 09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net
CSeq: 102 INVITE
User-Agent: eyeBeam release 1011s stamp 41121
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
   -- SIP/dovid-08dff058 is ringing

<--- Transmitting (no NAT) to XXX.XX.XX.XX:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP XXX.XX.XX.XX;branch=z9hG4bKa8c4.0070bbb7.0;received=XXX.XX.XX.XX
Via: SIP/2.0/UDP XXX.XX.XX.XX:5060;branch=z9hG4bK65b7a07f;rport=5060
From: "A.A. - FPP" <sip:cid_of_phone_calling@XXX.XX.XX.XX>;tag=as0308c0ae
To: <sip:my_sip_id@XXX.XX.XX.XX>;tag=as49267839
Call-ID: 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:dovid@69.XX.XX.XX>
Content-Length: 0


<------------>

<--- SIP read from XXX.XX.XX.XX:5060 --->
CANCEL sip:dovid@69.XX.XX.XX:5060 SIP/2.0
Record-Route: <sip:XXX.XX.XX.XX;ftag=as0308c0ae;lr=on>
Via: SIP/2.0/UDP XXX.XX.XX.XX;branch=z9hG4bKa8c4.0070bbb7.0
Via: SIP/2.0/UDP XXX.XX.XX.XX:5060;branch=z9hG4bK65b7a07f;rport=5060
From: "A.A. - FPP" <sip:cid_of_phone_calling@XXX.XX.XX.XX>;tag=as0308c0ae
To: <sip:my_sip_id@XXX.XX.XX.XX>
Call-ID: 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
CSeq: 102 CANCEL
User-Agent: Enswitch
Max-Forwards: 16
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
Sending to XXX.XX.XX.XX : 5060 (no NAT)

<--- Reliably Transmitting (no NAT) to XXX.XX.XX.XX:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP XXX.XX.XX.XX;branch=z9hG4bKa8c4.0070bbb7.0;received=XXX.XX.XX.XX
Via: SIP/2.0/UDP XXX.XX.XX.XX:5060;branch=z9hG4bK65b7a07f;rport=5060
From: "A.A. - FPP" <sip:cid_of_phone_calling@XXX.XX.XX.XX>;tag=as0308c0ae
To: <sip:my_sip_id@XXX.XX.XX.XX>;tag=as49267839
Call-ID: 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to XXX.XX.XX.XX:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP XXX.XX.XX.XX;branch=z9hG4bKa8c4.0070bbb7.0;received=XXX.XX.XX.XX
Via: SIP/2.0/UDP XXX.XX.XX.XX:5060;branch=z9hG4bK65b7a07f;rport=5060
Record-Route: <sip:XXX.XX.XX.XX;ftag=as0308c0ae;lr=on>
From: "A.A. - FPP" <sip:cid_of_phone_calling@XXX.XX.XX.XX>;tag=as0308c0ae
To: <sip:my_sip_id@XXX.XX.XX.XX>;tag=as49267839
Call-ID: 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
CSeq: 102 CANCEL
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:dovid@69.XX.XX.XX>
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net' in 32000 ms (Method: INVITE)
Reliably Transmitting (NAT) to 79.XX.XX.XXX:32847:
CANCEL sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XX:5060;branch=z9hG4bK5a4b5c3a;rport
From: "A.A. - FPP" <sip:cid_of_phone_calling@pbx.computercontractors.net>;tag=as1ba8c0e8
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
Call-ID: 09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net
CSeq: 102 CANCEL
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
Scheduling destruction of SIP dialog '09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net' in 32000 ms (Method: INVITE)
cdr_mysql: inserting a CDR record.
cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2007-08-28 14:58:01','cid_of_phone_calling','cid_of_phone_calling','s','dovid', 'SIP/dovid-08dff058','','','',3,0,'NO ANSWER',3,'')
 == Spawn extension (sip-incoming, dovid, 1) exited non-zero on 'SIP/my_sip_id-08e33e38'
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM extensions WHERE exten = 'h' AND context = 'sip-incoming' AND priority = '1'
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM extensions WHERE exten LIKE '\\_%' AND context = 'sip-incoming' AND priority = '1' ORDER BY exten
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = 'my_sip_id'

<--- SIP read from XXX.XX.XX.XX:5060 --->
ACK sip:dovid@69.XX.XX.XX:5060 SIP/2.0
Via: SIP/2.0/UDP XXX.XX.XX.XX;branch=z9hG4bKa8c4.0070bbb7.0
From: "A.A. - FPP" <sip:cid_of_phone_calling@XXX.XX.XX.XX>;tag=as0308c0ae
Call-ID: 2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX
To: <sip:my_sip_id@XXX.XX.XX.XX>;tag=as49267839
CSeq: 102 ACK
User-Agent: Sip EXpress router(0.9.6 (i386/linux))
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '2f8830eb54ee11a16f9a8f8128152a19@XXX.XX.XX.XX' Method: ACK
cdr_mysql: inserting a CDR record.
cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2007-08-28 14:58:01','\"A.A. - FPP\" <cid_of_phone_calling>','cid_of_phone_calling','dovid','sip-incoming', 'SIP/my_sip_id-08e33e38','SIP/dovid-08dff058','Dial','SIP/dovid',3,0,'NO ANSWER',3,'')

<--- SIP read from 79.XX.XX.XXX:32847 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XX:5060;branch=z9hG4bK5a4b5c3a;rport=5060
Contact: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>;tag=0f1af618
From: "A.A. - FPP"<sip:cid_of_phone_calling@pbx.computercontractors.net>;tag=as1ba8c0e8
Call-ID: 09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net
CSeq: 102 CANCEL
User-Agent: eyeBeam release 1011s stamp 41121
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---

<--- SIP read from 79.XX.XX.XXX:32847 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 69.XX.XX.XX:5060;branch=z9hG4bK5a4b5c3a;rport=5060
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>;tag=0f1af618
From: "A.A. - FPP"<sip:cid_of_phone_calling@pbx.computercontractors.net>;tag=as1ba8c0e8
Call-ID: 09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net
CSeq: 102 INVITE
User-Agent: eyeBeam release 1011s stamp 41121
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---
Transmitting (NAT) to 79.XX.XX.XXX:32847:
ACK sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XX:5060;branch=z9hG4bK5a4b5c3a;rport
From: "A.A. - FPP" <sip:cid_of_phone_calling@pbx.computercontractors.net>;tag=as1ba8c0e8
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>;tag=0f1af618
Contact: <sip:cid_of_phone_calling@69.XX.XX.XX>
Call-ID: 09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
Really destroying SIP dialog '09801e262235c77d0654a5e44cffae74@pbx.computercontractors.net' Method: INVITE



WITH SIP DEBUG when not working:
 == Parsing '/etc/asterisk/sip.conf': Found
 == Parsing '/etc/asterisk/sip_notify.conf': Found
*CLI> Reliably Transmitting (no NAT) to 216.143.130.36:5060:
OPTIONS sip:216.143.130.36 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK65178eed;rport
From: "asterisk" <sip:asterisk@pbx.mydomain.com>;tag=as2fa57d29
To: <sip:216.143.130.36>
Contact: <sip:asterisk@69.XX.XX.XXX>
Call-ID: 0a95bb2d1bc7b9f831495b5b3c9b2ef5@pbx.mydomain.com
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 28 Aug 2007 18:16:08 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


---
  -- Re-registration for  55551234@209.XXX.XXX.XXX
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = '209.XXX.XXX.XXX'
REGISTER 12 headers, 0 lines
Reliably Transmitting (NAT) to 209.XXX.XXX.XXX:5060:
REGISTER sip:209.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK13a572f3;rport
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as26667e3e
To: <sip:55551234@209.XXX.XXX.XXX>
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 60
Contact: <sip:s@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 209.XXX.XXX.XXX:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK13a572f3;rport=5060
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as26667e3e
To: <sip:55551234@209.XXX.XXX.XXX>;tag=bc8993174c3754f285f3c0375a999731.a67b
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="209.XXX.XXX.XXX", nonce="46d467126733cc40f96739c1469effdad908b320"
Server: Sip EXpress router (0.9.6 (i386/linux))
Content-Length: 0
Warning: 392 209.XXX.XXX.XXX:5060 "Noisy feedback tells:  pid=2462 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:209.XXX.XXX.XXX out_uri=sip:209.XXX.XXX.XXX via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Responding to challenge, registration to domain/host name 209.XXX.XXX.XXX
REGISTER 13 headers, 0 lines
Reliably Transmitting (NAT) to 209.XXX.XXX.XXX:5060:
REGISTER sip:209.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK1a8988fa;rport
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as2a7c3ea4
To: <sip:55551234@209.XXX.XXX.XXX>
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="55551234", realm="209.XXX.XXX.XXX", algorithm=MD5, uri="sip:209.XXX.XXX.XXX", nonce="46d467126733cc40f96739c1469effdad908b320", response="4a03375c334d85d42d69bd58e39183c3", opaque=""
Expires: 60
Contact: <sip:s@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 209.XXX.XXX.XXX:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK1a8988fa;rport=5060
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as2a7c3ea4
To: <sip:55551234@209.XXX.XXX.XXX>;tag=bc8993174c3754f285f3c0375a999731.8205
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 103 REGISTER
WWW-Authenticate: Digest realm="209.XXX.XXX.XXX", nonce="46d467126733cc40f96739c1469effdad908b320"
Server: Sip EXpress router (0.9.6 (i386/linux))
Content-Length: 0
Warning: 392 209.XXX.XXX.XXX:5060 "Noisy feedback tells:  pid=2460 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:209.XXX.XXX.XXX out_uri=sip:209.XXX.XXX.XXX via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Responding to challenge, registration to domain/host name 209.XXX.XXX.XXX
REGISTER 13 headers, 0 lines
Reliably Transmitting (NAT) to 209.XXX.XXX.XXX:5060:
REGISTER sip:209.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK18da20ee;rport
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as04bf58b4
To: <sip:55551234@209.XXX.XXX.XXX>
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 104 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="55551234", realm="209.XXX.XXX.XXX", algorithm=MD5, uri="sip:209.XXX.XXX.XXX", nonce="46d467126733cc40f96739c1469effdad908b320", response="4a03375c334d85d42d69bd58e39183c3", opaque=""
Expires: 60
Contact: <sip:s@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 209.XXX.XXX.XXX:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK18da20ee;rport=5060
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as04bf58b4
To: <sip:55551234@209.XXX.XXX.XXX>;tag=bc8993174c3754f285f3c0375a999731.92b4
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 104 REGISTER
WWW-Authenticate: Digest realm="209.XXX.XXX.XXX", nonce="46d467126733cc40f96739c1469effdad908b320"
Server: Sip EXpress router (0.9.6 (i386/linux))
Content-Length: 0
Warning: 392 209.XXX.XXX.XXX:5060 "Noisy feedback tells:  pid=2460 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:209.XXX.XXX.XXX out_uri=sip:209.XXX.XXX.XXX via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Responding to challenge, registration to domain/host name 209.XXX.XXX.XXX
REGISTER 13 headers, 0 lines
Reliably Transmitting (NAT) to 209.XXX.XXX.XXX:5060:
REGISTER sip:209.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK40bbdde7;rport
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as5df444ab
To: <sip:55551234@209.XXX.XXX.XXX>
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 105 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="55551234", realm="209.XXX.XXX.XXX", algorithm=MD5, uri="sip:209.XXX.XXX.XXX", nonce="46d467126733cc40f96739c1469effdad908b320", response="4a03375c334d85d42d69bd58e39183c3", opaque=""
Expires: 60
Contact: <sip:s@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 209.XXX.XXX.XXX:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK40bbdde7;rport=5060
From: <sip:55551234@209.XXX.XXX.XXX>;tag=as5df444ab
To: <sip:55551234@209.XXX.XXX.XXX>;tag=bc8993174c3754f285f3c0375a999731.b080
Call-ID: 157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com
CSeq: 105 REGISTER
WWW-Authenticate: Digest realm="209.XXX.XXX.XXX", nonce="46d467126733cc40f96739c1469effdad908b320"
Server: Sip EXpress router (0.9.6 (i386/linux))
Content-Length: 0
Warning: 392 209.XXX.XXX.XXX:5060 "Noisy feedback tells:  pid=2462 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:209.XXX.XXX.XXX out_uri=sip:209.XXX.XXX.XXX via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Failed to authenticate on REGISTER to '55551234@209.XXX.XXX.XXX' (Tries 3)
Really destroying SIP dialog '157f6caf79543ff12d8cd79a665530ff@pbx.mydomain.com' Method: REGISTER
Reliably Transmitting (no NAT) to 216.143.130.36:5060:
OPTIONS sip:216.143.130.36 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK3663f375;rport
From: "asterisk" <sip:asterisk@pbx.mydomain.com>;tag=as7a377265
To: <sip:216.143.130.36>
Contact: <sip:asterisk@69.XX.XX.XXX>
Call-ID: 7a479c262820a68069e38be74a61d8a6@pbx.mydomain.com
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 28 Aug 2007 18:16:08 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


---
  -- Re-registration for  zevulonz@216.143.130.36
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = '216.143.130.36'
REGISTER 12 headers, 0 lines
Reliably Transmitting (NAT) to 216.143.130.36:5060:
REGISTER sip:216.143.130.36 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK0cc3c104;rport
From: <sip:zevulonz@216.143.130.36>;tag=as67675406
To: <sip:zevulonz@216.143.130.36>
Call-ID: 2088b5101fc501ad7e2ed92a2ee53900@pbx.mydomain.com
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 60
Contact: <sip:7324154670@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 216.143.130.36:5060 --->
SIP/2.0 200 OK
Record-Route: <sip:216.143.130.36;lr=on;ftag=as7a377265>
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK3663f375;rport=5060
From: "asterisk" <sip:asterisk@pbx.mydomain.com>;tag=as7a377265
To: <sip:216.143.130.36>;tag=d62e59c704e3a5c8482be5f6c0ee473d.9b62
Call-ID: 7a479c262820a68069e38be74a61d8a6@pbx.mydomain.com
CSeq: 102 OPTIONS
Server: OpenSER (1.2.1-notls (i386/freebsd))
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '7a479c262820a68069e38be74a61d8a6@pbx.mydomain.com' Method: OPTIONS

<--- SIP read from 216.143.130.36:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK0cc3c104;rport=5060
From: <sip:zevulonz@216.143.130.36>;tag=as67675406
To: <sip:zevulonz@216.143.130.36>;tag=68d238da7d1832978b1a894dbad8a35e.2dcc
Call-ID: 2088b5101fc501ad7e2ed92a2ee53900@pbx.mydomain.com
CSeq: 102 REGISTER
Proxy-Authenticate: Digest realm="rnktel.com", nonce="46d467122c4feca540abbb06a0a49ac1599140df"
Server: OpenSER (1.2.1-notls (i386/freebsd))
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Responding to challenge, registration to domain/host name 216.143.130.36
REGISTER 13 headers, 0 lines
Reliably Transmitting (NAT) to 216.143.130.36:5060:
REGISTER sip:216.143.130.36 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK0b0aebdd;rport
From: <sip:zevulonz@216.143.130.36>;tag=as79927f47
To: <sip:zevulonz@216.143.130.36>
Call-ID: 2088b5101fc501ad7e2ed92a2ee53900@pbx.mydomain.com
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Proxy-Authorization: Digest username="zevulonz", realm="rnktel.com", algorithm=MD5, uri="sip:216.143.130.36", nonce="46d467122c4feca540abbb06a0a49ac1599140df", response="fbce7a075f1c67e69345f8d23575cd8d", opaque=""
Expires: 60
Contact: <sip:7324154670@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---
  -- Re-registration for  perfectstucco@216.143.130.36
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = '216.143.130.36'
REGISTER 12 headers, 0 lines
Reliably Transmitting (NAT) to 216.143.130.36:5060:
REGISTER sip:216.143.130.36 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK0d4ea4d2;rport
From: <sip:perfectstucco@216.143.130.36>;tag=as3683350d
To: <sip:perfectstucco@216.143.130.36>
Call-ID: 0f34e06f2e4b1b3523a8adee09719d12@pbx.mydomain.com
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 60
Contact: <sip:7327307969@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 216.143.130.36:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK0b0aebdd;rport=5060
From: <sip:zevulonz@216.143.130.36>;tag=as79927f47
To: <sip:zevulonz@216.143.130.36>;tag=68d238da7d1832978b1a894dbad8a35e.efdb
Call-ID: 2088b5101fc501ad7e2ed92a2ee53900@pbx.mydomain.com
CSeq: 103 REGISTER
Contact: <sip:7324154670@69.XX.XX.XXX:5060>;expires=60
Server: OpenSER (1.2.1-notls (i386/freebsd))
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Scheduling destruction of SIP dialog '2088b5101fc501ad7e2ed92a2ee53900@pbx.mydomain.com' in 32000 ms (Method: REGISTER)
Outbound Registration: Expiry for 216.143.130.36 is 60 sec (Scheduling reregistration in 45 s)

<--- SIP read from 216.143.130.36:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK0d4ea4d2;rport=5060
From: <sip:perfectstucco@216.143.130.36>;tag=as3683350d
To: <sip:perfectstucco@216.143.130.36>;tag=68d238da7d1832978b1a894dbad8a35e.ae8c
Call-ID: 0f34e06f2e4b1b3523a8adee09719d12@pbx.mydomain.com
CSeq: 102 REGISTER
Proxy-Authenticate: Digest realm="rnktel.com", nonce="46d467122c4feca540abbb06a0a49ac1599140df"
Server: OpenSER (1.2.1-notls (i386/freebsd))
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Responding to challenge, registration to domain/host name 216.143.130.36
REGISTER 13 headers, 0 lines
Reliably Transmitting (NAT) to 216.143.130.36:5060:
REGISTER sip:216.143.130.36 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK5477c234;rport
From: <sip:perfectstucco@216.143.130.36>;tag=as10a9df76
To: <sip:perfectstucco@216.143.130.36>
Call-ID: 0f34e06f2e4b1b3523a8adee09719d12@pbx.mydomain.com
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Proxy-Authorization: Digest username="perfectstucco", realm="rnktel.com", algorithm=MD5, uri="sip:216.143.130.36", nonce="46d467122c4feca540abbb06a0a49ac1599140df", response="38d38e4466b8c038344ecb1c9caa0347", opaque=""
Expires: 60
Contact: <sip:7327307969@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---
  -- Re-registration for  7322761386@sip.myotherproider.com
MySQL RealTime: Everything is fine.
MySQL RealTime: Retrieve SQL: SELECT * FROM sip_users WHERE name = 'sip.myotherproider.com'
REGISTER 12 headers, 0 lines
Reliably Transmitting (no NAT) to 69.1.236.33:5060:
REGISTER sip:sip.myotherproider.com SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK38cec02c;rport
From: <sip:7322761386@sip.myotherproider.com>;tag=as08ccc23d
To: <sip:7322761386@sip.myotherproider.com>
Call-ID: 63bc8d6b4e3e1e89005b15a03db367d1@sip.myotherproider.com
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 60
Contact: <sip:7322761386@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---
  -- Re-registration for  7322761385@sip.myotherproider.com
REGISTER 12 headers, 0 lines
Reliably Transmitting (no NAT) to 69.1.236.33:5060:
REGISTER sip:sip.myotherproider.com SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK531f7aac;rport
From: <sip:7322761385@sip.myotherproider.com>;tag=as2aeeece8
To: <sip:7322761385@sip.myotherproider.com>
Call-ID: 4c617dba78e4812942b2e833049177c2@sip.myotherproider.com
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 60
Contact: <sip:7322761385@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---
  -- Re-registration for  6464611667@sip.myotherproider.com
REGISTER 12 headers, 0 lines
Reliably Transmitting (no NAT) to 69.1.236.33:5060:
REGISTER sip:sip.myotherproider.com SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK70151860;rport
From: <sip:6464611667@sip.myotherproider.com>;tag=as28a17890
To: <sip:6464611667@sip.myotherproider.com>
Call-ID: 18d3773805ebc3561b6b300614bf6ff7@sip.myotherproider.com
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 60
Contact: <sip:6464611667@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 69.1.236.33:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK38cec02c;rport=5060
From: <sip:7322761386@sip.myotherproider.com>;tag=as08ccc23d
To: <sip:7322761386@sip.myotherproider.com>;tag=91791a7492f328483c7efb39681bf0a4.3e34
Call-ID: 63bc8d6b4e3e1e89005b15a03db367d1@sip.myotherproider.com
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="sip1.xchangetele.com", nonce="46d4684853e84cd4e9dccb3392baae409775e1fe"
Server: Platform Experts BBT (Version 2.1a)
Content-Length: 0
Warning: 392 69.1.236.33:5060 "Noisy feedback tells:  pid=28063 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:sip.myotherproider.com out_uri=sip:sip.myotherproider.com via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Responding to challenge, registration to domain/host name sip.myotherproider.com
REGISTER 13 headers, 0 lines
Reliably Transmitting (no NAT) to 69.1.236.33:5060:
REGISTER sip:sip.myotherproider.com SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK172f3f5e;rport
From: <sip:7322761386@sip.myotherproider.com>;tag=as72d273c2
To: <sip:7322761386@sip.myotherproider.com>
Call-ID: 63bc8d6b4e3e1e89005b15a03db367d1@sip.myotherproider.com
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="7322761386", realm="sip1.xchangetele.com", algorithm=MD5, uri="sip:sip.myotherproider.com", nonce="46d4684853e84cd4e9dccb3392baae409775e1fe", response="dbc4c25fbfde98c0b90347ba1336627b", opaque=""
Expires: 60
Contact: <sip:7322761386@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 69.1.236.33:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK531f7aac;rport=5060
From: <sip:7322761385@sip.myotherproider.com>;tag=as2aeeece8
To: <sip:7322761385@sip.myotherproider.com>;tag=91791a7492f328483c7efb39681bf0a4.17af
Call-ID: 4c617dba78e4812942b2e833049177c2@sip.myotherproider.com
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="sip1.xchangetele.com", nonce="46d4684853e84cd4e9dccb3392baae409775e1fe"
Server: Platform Experts BBT (Version 2.1a)
Content-Length: 0
Warning: 392 69.1.236.33:5060 "Noisy feedback tells:  pid=28060 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:sip.myotherproider.com out_uri=sip:sip.myotherproider.com via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Responding to challenge, registration to domain/host name sip.myotherproider.com
REGISTER 13 headers, 0 lines
Reliably Transmitting (no NAT) to 69.1.236.33:5060:
REGISTER sip:sip.myotherproider.com SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK22ec6684;rport
From: <sip:7322761385@sip.myotherproider.com>;tag=as638b3820
To: <sip:7322761385@sip.myotherproider.com>
Call-ID: 4c617dba78e4812942b2e833049177c2@sip.myotherproider.com
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="7322761385", realm="sip1.xchangetele.com", algorithm=MD5, uri="sip:sip.myotherproider.com", nonce="46d4684853e84cd4e9dccb3392baae409775e1fe", response="4ec764f50045939c8aa8f9dd9a235859", opaque=""
Expires: 60
Contact: <sip:7322761385@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---
Retransmitting #1 (no NAT) to 216.143.130.36:5060:
OPTIONS sip:216.143.130.36 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK65178eed;rport
From: "asterisk" <sip:asterisk@pbx.mydomain.com>;tag=as2fa57d29
To: <sip:216.143.130.36>
Contact: <sip:asterisk@69.XX.XX.XXX>
Call-ID: 0a95bb2d1bc7b9f831495b5b3c9b2ef5@pbx.mydomain.com
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 28 Aug 2007 18:16:08 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


---
Scheduling destruction of SIP dialog '5d9d52e60112578c78fe88eb7b853381@pbx.mydomain.com' in 32000 ms (Method: NOTIFY)
Reliably Transmitting (NAT) to 79.XX.XX.XXX:32847:
NOTIFY sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK76b274dc;rport
From: "asterisk" <sip:asterisk@pbx.mydomain.com>;tag=as79061cf0
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
Contact: <sip:asterisk@69.XX.XX.XXX>
Call-ID: 5d9d52e60112578c78fe88eb7b853381@pbx.mydomain.com
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 107

Messages-Waiting: no
Message-Account: sip:asterisk@pbx.mydomain.com
Voice-Message: 0/0 (0/0)

---

<--- SIP read from 69.1.236.33:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK70151860;rport=5060
From: <sip:6464611667@sip.myotherproider.com>;tag=as28a17890
To: <sip:6464611667@sip.myotherproider.com>;tag=91791a7492f328483c7efb39681bf0a4.85b9
Call-ID: 18d3773805ebc3561b6b300614bf6ff7@sip.myotherproider.com
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="sip1.xchangetele.com", nonce="46d4684853e84cd4e9dccb3392baae409775e1fe"
Server: Platform Experts BBT (Version 2.1a)
Content-Length: 0
Warning: 392 69.1.236.33:5060 "Noisy feedback tells:  pid=28065 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:sip.myotherproider.com out_uri=sip:sip.myotherproider.com via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Responding to challenge, registration to domain/host name sip.myotherproider.com
REGISTER 13 headers, 0 lines
Reliably Transmitting (no NAT) to 69.1.236.33:5060:
REGISTER sip:sip.myotherproider.com SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK1db6ae9e;rport
From: <sip:6464611667@sip.myotherproider.com>;tag=as4583107e
To: <sip:6464611667@sip.myotherproider.com>
Call-ID: 18d3773805ebc3561b6b300614bf6ff7@sip.myotherproider.com
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username="6464611667", realm="sip1.xchangetele.com", algorithm=MD5, uri="sip:sip.myotherproider.com", nonce="46d4684853e84cd4e9dccb3392baae409775e1fe", response="2e4969bb5d972563fbeb0c016d167d14", opaque=""
Expires: 60
Contact: <sip:6464611667@69.XX.XX.XXX>
Event: registration
Content-Length: 0


---

<--- SIP read from 69.1.236.33:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK172f3f5e;rport=5060
From: <sip:7322761386@sip.myotherproider.com>;tag=as72d273c2
To: <sip:7322761386@sip.myotherproider.com>;tag=91791a7492f328483c7efb39681bf0a4.ce0a
Call-ID: 63bc8d6b4e3e1e89005b15a03db367d1@sip.myotherproider.com
CSeq: 103 REGISTER
Contact: <sip:7322761386@69.XX.XX.XXX>;q=0.00;expires=60
Server: Platform Experts BBT (Version 2.1a)
Content-Length: 0
Warning: 392 69.1.236.33:5060 "Noisy feedback tells:  pid=28059 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:sip.myotherproider.com out_uri=sip:sip.myotherproider.com via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Scheduling destruction of SIP dialog '63bc8d6b4e3e1e89005b15a03db367d1@sip.myotherproider.com' in 32000 ms (Method: REGISTER)
Outbound Registration: Expiry for sip.myotherproider.com is 60 sec (Scheduling reregistration in 45 s)

<--- SIP read from 216.143.130.36:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK5477c234;rport=5060
From: <sip:perfectstucco@216.143.130.36>;tag=as10a9df76
To: <sip:perfectstucco@216.143.130.36>;tag=68d238da7d1832978b1a894dbad8a35e.5b65
Call-ID: 0f34e06f2e4b1b3523a8adee09719d12@pbx.mydomain.com
CSeq: 103 REGISTER
Contact: <sip:7327307969@69.XX.XX.XXX:5060>;expires=60
Server: OpenSER (1.2.1-notls (i386/freebsd))
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Scheduling destruction of SIP dialog '0f34e06f2e4b1b3523a8adee09719d12@pbx.mydomain.com' in 32000 ms (Method: REGISTER)
Outbound Registration: Expiry for 216.143.130.36 is 60 sec (Scheduling reregistration in 45 s)

<--- SIP read from 69.1.236.33:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK22ec6684;rport=5060
From: <sip:7322761385@sip.myotherproider.com>;tag=as638b3820
To: <sip:7322761385@sip.myotherproider.com>;tag=91791a7492f328483c7efb39681bf0a4.bbeb
Call-ID: 4c617dba78e4812942b2e833049177c2@sip.myotherproider.com
CSeq: 103 REGISTER
Contact: <sip:7322761385@69.XX.XX.XXX>;q=0.00;expires=60
Server: Platform Experts BBT (Version 2.1a)
Content-Length: 0
Warning: 392 69.1.236.33:5060 "Noisy feedback tells:  pid=28059 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:sip.myotherproider.com out_uri=sip:sip.myotherproider.com via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Scheduling destruction of SIP dialog '4c617dba78e4812942b2e833049177c2@sip.myotherproider.com' in 32000 ms (Method: REGISTER)
Outbound Registration: Expiry for sip.myotherproider.com is 60 sec (Scheduling reregistration in 45 s)

<--- SIP read from 216.143.130.36:5060 --->
SIP/2.0 200 OK
Record-Route: <sip:216.143.130.36;lr=on;ftag=as2fa57d29>
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK65178eed;rport=5060
From: "asterisk" <sip:asterisk@pbx.mydomain.com>;tag=as2fa57d29
To: <sip:216.143.130.36>;tag=d62e59c704e3a5c8482be5f6c0ee473d.b84a
Call-ID: 0a95bb2d1bc7b9f831495b5b3c9b2ef5@pbx.mydomain.com
CSeq: 102 OPTIONS
Server: OpenSER (1.2.1-notls (i386/freebsd))
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '0a95bb2d1bc7b9f831495b5b3c9b2ef5@pbx.mydomain.com' Method: OPTIONS

<--- SIP read from 69.1.236.33:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK1db6ae9e;rport=5060
From: <sip:6464611667@sip.myotherproider.com>;tag=as4583107e
To: <sip:6464611667@sip.myotherproider.com>;tag=91791a7492f328483c7efb39681bf0a4.ae5e
Call-ID: 18d3773805ebc3561b6b300614bf6ff7@sip.myotherproider.com
CSeq: 103 REGISTER
Contact: <sip:6464611667@69.XX.XX.XXX>;q=0.00;expires=60
Server: Platform Experts BBT (Version 2.1a)
Content-Length: 0
Warning: 392 69.1.236.33:5060 "Noisy feedback tells:  pid=28067 req_src_ip=69.XX.XX.XXX req_src_port=5060 in_uri=sip:sip.myotherproider.com out_uri=sip:sip.myotherproider.com via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Scheduling destruction of SIP dialog '18d3773805ebc3561b6b300614bf6ff7@sip.myotherproider.com' in 32000 ms (Method: REGISTER)
Outbound Registration: Expiry for sip.myotherproider.com is 60 sec (Scheduling reregistration in 45 s)

<--- SIP read from 79.XX.XX.XXX:32847 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK76b274dc;rport=5060
Contact: <sip:192.168.0.3:21566>
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>;tag=d5089a64
From: "asterisk"<sip:asterisk@pbx.mydomain.com>;tag=as79061cf0
Call-ID: 5d9d52e60112578c78fe88eb7b853381@pbx.mydomain.com
CSeq: 102 NOTIFY
User-Agent: eyeBeam release 1011s stamp 41121
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '5d9d52e60112578c78fe88eb7b853381@pbx.mydomain.com' Method: NOTIFY

<--- SIP read from 79.XX.XX.XXX:32847 --->
REGISTER sip:69.XX.XX.XXX SIP/2.0
Via: SIP/2.0/UDP 192.168.0.3:21566;branch=z9hG4bK-d87543-c42f7326a335355f-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
To: "dovid"<sip:dovid@69.XX.XX.XXX>
From: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=321fe95d
Call-ID: NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.
CSeq: 5 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: eyeBeam release 1011s stamp 41121
Authorization: Digest username="dovid",realm="asterisk",nonce="43554383",uri="sip:69.XX.XX.XXX",response="3afb1a30ceebdf65739df07065ea5bfb",algorithm=MD5
Content-Length: 0


<------------->
--- (13 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 79.XX.XX.XXX : 32847 (NAT)

<--- Transmitting (NAT) to 79.XX.XX.XXX:32847 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.3:21566;branch=z9hG4bK-d87543-c42f7326a335355f-1--d87543-;received=79.XX.XX.XXX;rport=32847
From: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=321fe95d
To: "dovid"<sip:dovid@69.XX.XX.XXX>
Call-ID: NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.
CSeq: 5 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:dovid@69.XX.XX.XXX>
Content-Length: 0


<------------>

<--- Transmitting (NAT) to 79.XX.XX.XXX:32847 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.3:21566;branch=z9hG4bK-d87543-c42f7326a335355f-1--d87543-;received=79.XX.XX.XXX;rport=32847
From: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=321fe95d
To: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=as21e91b8b
Call-ID: NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.
CSeq: 5 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4527a339"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.' in 32000 ms (Method: REGISTER)

<--- SIP read from 79.XX.XX.XXX:32847 --->
REGISTER sip:69.XX.XX.XXX SIP/2.0
Via: SIP/2.0/UDP 192.168.0.3:21566;branch=z9hG4bK-d87543-6e05c043f8024961-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
To: "dovid"<sip:dovid@69.XX.XX.XXX>
From: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=321fe95d
Call-ID: NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.
CSeq: 6 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: eyeBeam release 1011s stamp 41121
Authorization: Digest username="dovid",realm="asterisk",nonce="4527a339",uri="sip:69.XX.XX.XXX",response="f8b38706dad27abdd4d850a9b9dfc11f",algorithm=MD5
Content-Length: 0


<------------->
--- (13 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 79.XX.XX.XXX : 32847 (NAT)

<--- Transmitting (NAT) to 79.XX.XX.XXX:32847 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.3:21566;branch=z9hG4bK-d87543-6e05c043f8024961-1--d87543-;received=79.XX.XX.XXX;rport=32847
From: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=321fe95d
To: "dovid"<sip:dovid@69.XX.XX.XXX>
Call-ID: NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.
CSeq: 6 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:dovid@69.XX.XX.XXX>
Content-Length: 0


<------------>

<--- Transmitting (NAT) to 79.XX.XX.XXX:32847 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.3:21566;branch=z9hG4bK-d87543-6e05c043f8024961-1--d87543-;received=79.XX.XX.XXX;rport=32847
From: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=321fe95d
To: "dovid"<sip:dovid@69.XX.XX.XXX>;tag=as21e91b8b
Call-ID: NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.
CSeq: 6 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 1000
Contact: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>;expires=1000
Date: Tue, 28 Aug 2007 18:16:21 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'NjkwMDc0YjI1NWZhMjM0MjMyYWE0MWQyOWNjN2JjNTQ.' in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog '2adcc26267e4d3ad617752f469407dcd@pbx.mydomain.com' in 32000 ms (Method: NOTIFY)
Reliably Transmitting (NAT) to 79.XX.XX.XXX:32847:
NOTIFY sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488 SIP/2.0
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK65b05849;rport
From: "asterisk" <sip:asterisk@pbx.mydomain.com>;tag=as057559f6
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>
Contact: <sip:asterisk@69.XX.XX.XXX>
Call-ID: 2adcc26267e4d3ad617752f469407dcd@pbx.mydomain.com
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 107

Messages-Waiting: no
Message-Account: sip:asterisk@pbx.mydomain.com
Voice-Message: 0/0 (0/0)

---

<--- SIP read from 79.XX.XX.XXX:32847 --->



<------------->
--- (0 headers 1 lines) ---

<--- SIP read from 79.XX.XX.XXX:32847 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.XX.XX.XXX:5060;branch=z9hG4bK65b05849;rport=5060
Contact: <sip:192.168.0.3:21566>
To: <sip:dovid@79.XX.XX.XXX:32847;rinstance=46e3147c08f05488>;tag=df66325b
From: "asterisk"<sip:asterisk@pbx.mydomain.com>;tag=as057559f6
Call-ID: 2adcc26267e4d3ad617752f469407dcd@pbx.mydomain.com
CSeq: 102 NOTIFY
User-Agent: eyeBeam release 1011s stamp 41121
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '2adcc26267e4d3ad617752f469407dcd@pbx.mydomain.com' Method: NOTIFY
sip no debReally destroying SIP dialog '6753244244ea6d6f54a009643f27816b@sip.myotherproider.com' Method: REGISTER
Really destroying SIP dialog '3ed4b3f071661a137dda404f0cdcd298@sip.myotherproider.com' Method: REGISTER
ug
SIP Debugging Disabled
The 'sip no debug' command is deprecated and will be removed in a future release. Please use 'sip set debug off' instead.



Comments:By: dovid (dovid) 2007-08-28 14:09:51

I put  the SIP debug a lot of other goodies in the additional info section but I guess your db has a limit on the amount of characters. The rest of the info is available here:

http://h6315.com/rest.txt

By: Joshua C. Colp (jcolp) 2007-09-06 12:07:32

Can you break this down to one scenario that exhibits the issue instead of mixing both registration and calls?

By: dovid (dovid) 2007-09-06 13:17:21

file:  The issue I am having is just on registration. Do you want me to turn off all other registrations and send you a debug with just this SIP account active ?

By: Joshua C. Colp (jcolp) 2007-09-06 13:18:34

Yes, no calls going on just the single registration both a working/non-working.

By: Jason Parker (jparker) 2007-09-13 12:24:00

SIP registrations do not attempt to look up hostnames as peers or anything, so it would never hit the DB at all.

If you're having an issue with the registrations, you'll need to find out why the other end isn't responding.

Closing.