[Home]

Summary:ASTERISK-04515: Realtime SIP update_peer in chan_sip.c
Reporter:Dave Ryan (newsole2)Labels:
Date Opened:2005-07-03 15:58:27Date Closed:2005-07-25 19:09:33
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:in the chan_sip.so

when realtime does a peer_update it changes the data in peer->username to "s"
and then updates the database username to "s"

then u get

   -- SIP Seeding peer from astdb: '9000' at s@216.58.xxx.xxx:5060 for 120
   -- SIP Seeding peer from astdb: '9000' at s@216.58.xxx.xxx:5060 for 120
   -- Saved useragent "Voip Network" for peer 9000
   -- SIP Seeding peer from astdb: '9000' at s@216.58.xxx.xxx:5060 for 120
   -- SIP Seeding peer from astdb: '9000' at s@216.58.xxx.xxx:5060 for 120

insted of

   -- SIP Seeding peer from astdb: '9000' at 9000@216.58.xxx.xxx:5060 for 120
   -- SIP Seeding peer from astdb: '9000' at 9000@216.58.xxx.xxx:5060 for 120
   -- Saved useragent "Voip Network" for peer 9000
   -- SIP Seeding peer from astdb: '9000' at 9000@216.58.xxx.xxx:5060 for 120
   -- SIP Seeding peer from astdb: '9000' at 9000@216.58.xxx.xxx:5060 for 120
Comments:By: Michael Jerris (mikej) 2005-07-03 18:02:25

Do you have a patch to fix this?

By: Dave Ryan (newsole2) 2005-07-03 18:38:46

No... Looking for solution

By: Russell Bryant (russell) 2005-07-05 17:34:47

Can you provide 'sip debug' from these transactions?

By: Brian West (bkw918) 2005-07-05 17:58:41

sip shoudln't touch astdb when using realtime.  We had a patch to store the full contact into the database also.

By: Michael Jerris (mikej) 2005-07-05 18:57:23

bkw, do you know if that was commited?  Bug #?

By: Brian West (bkw918) 2005-07-17 17:55:56

this is a bogus report.  If you check the register lines you'll see it will default to "s" if you don't provide a contact on  the register line.

ie:

register => bob:test@server.com/5551212  (would result in 5551212 as the contact)
register => bob:test@server.com (would result in 's' as the contact)

/b

By: Kevin P. Fleming (kpfleming) 2005-07-19 20:49:05

What do outbound registers have to do with Realtime updating peers?

By: Olle Johansson (oej) 2005-07-20 14:04:38

newsole2: We need more information, otherwise we have to close this bug report since it's incomplete.

By: Russell Bryant (russell) 2005-07-25 19:09:27

closed for now due to lack of response from the original bug poster