|Summary:||ASTERISK-06437: [branch] [post 1.4] peermatch: Changes to users/peers, while being backwards compatible|
|Reporter:||Olle Johansson (oej)||Labels:|
|Date Opened:||2006-02-28 09:54:26.000-0600||Date Closed:||2011-06-07 14:03:18|
|Description:||This branch changes the matching for incoming calls to search user by name, peer by name and then peer by IP. Adding peer by name to the list means that in most cases, you don't need to use type=user or type=friend.|
The patch also removes the sip_user structure and *only* uses sip_peer both for peers and users. This makes code much more simple. For type=friend, we do not allocate a new object, just link it to both peers and users lists.
This will make subscriptions behave as people expect, with one object handling both incoming and outgoing calls, enforcing *one* call limit instead of two (one for the peer and one for the user).
****** ADDITIONAL INFORMATION ******
You find this code in the "peermatch" branch. Please test it. For information on how to check out branches, please visit http://www.voip-forum.com/
|Comments:||By: Olle Johansson (oej) 2006-03-02 11:41:11.000-0600|
This branch is reported to resolve the issue in ASTERISK-6352.
By: Olle Johansson (oej) 2006-05-17 13:04:26
This code will not be merged into 1.4, but will be used in chan_sip3 for coming release.