[Home]

Summary:ASTERISK-23787: [patch]Update DB when SIP Registration (proxy) come from sippeers table in RealTime environment
Reporter:Dr Lous (drlous)Labels:
Date Opened:2014-05-26 06:55:42Date Closed:2014-06-12 09:11:20
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/DatabaseSupport
Versions:12.2.0 Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-23785 Peer registration not updated in db if asterisk made the registration (proxy)
Environment:Attachments:( 0) patch_chan_sip_realtime_sip_proxy_update_db_12.2.0.txt
Description:When SIP Registration come from sippeers table in Realtime environment, chan_sip.c not update the table with ipaddr, port, useragent, ...

This patch add update when peer exist and convert "Server" field from packet to User-Agent in table

Tested with 12.2.0 version
Comments:By: Dr Lous (drlous) 2014-05-26 07:04:54.019-0500

Patch for 12.2.0 source code with Update Peer when registration is ok ( receive 200 packet after REGISTER packet)

[Correct patch]

By: Rusty Newton (rnewton) 2014-05-28 08:42:20.082-0500

Improvements and new features need to be tested against Trunk, not a released branch.

It looks like Matt Jordan already suggested that you discuss this improvement with the development community on the asterisk-dev mailing list, so you may want to do that before moving forward.

Once you do that, you need to follow the [code review process|https://wiki.asterisk.org/wiki/display/AST/Code+Review].

By: Rusty Newton (rnewton) 2014-06-12 09:11:04.640-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines