User Tools

Site Tools


features:new-in-4.2.x

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
features:new-in-4.2.x [2014/10/11 12:20]
miconda
features:new-in-4.2.x [2014/10/13 10:08]
miconda [usrloc]
Line 153: Line 153:
     * cmd can be add (insert a remote profile) and rm (remove a remote profile)     * cmd can be add (insert a remote profile) and rm (remove a remote profile)
   * allow '_' in dlg profile names   * allow '_' in dlg profile names
 +  * replicate profiles to other nodes via dmq module
 +  * add option to increment cseq upon local authentication to next hop
 +    * feature has to be enabled via module parameter track_cseq_updates
 +    * it does it only for downstream direction (requests from caller and callee, as it is the typical use case of calling via a provider, after authenticating the caller locally, provider asks for another 'trunk' authentication
 +    * diff of cseq value is stored in dialog var named 'cseq_diff', therefore be sure it is not overwritten from config
  
 ==== dialog_ng ==== ==== dialog_ng ====
Line 162: Line 167:
   * expand attrs while running rpc command dispatcher.list   * expand attrs while running rpc command dispatcher.list
   * ds_select_dst/domain can take args as string (not only int) - internal conversion of string->int (if possible)   * ds_select_dst/domain can take args as string (not only int) - internal conversion of string->int (if possible)
 +  * new variant - ds_is_from_list(groupid, mode, uri)
 +    * can match against records in dispatcher groups
 +    * if groupid==1 - will match against all groups
 +    * if uri is empty, then will match against source address (ip, port, proto). Otherwise it has to be a full SIP URI value. The matching is not taking in consideration any parameter apart of transport
 +      * mode is a bitmask to tell the matching rules
 +        * if it is 0, will match everything: ip, port and protocol
 +        * if bit one is set, will skip matching the port
 +        * if bit two is set, will skip matching the protocol
  
 ==== dmq ==== ==== dmq ====
Line 173: Line 186:
     * event_route[htable:expired:<table>] called when an entry expires     * event_route[htable:expired:<table>] called when an entry expires
     * pseudo-vars $shtrecord(key) and $shtrecord(value) access the expired content     * pseudo-vars $shtrecord(key) and $shtrecord(value) access the expired content
 +  * new config function sht_reset("tname") - remove all items in the hash table
  
 ==== ims_auth ==== ==== ims_auth ====
Line 287: Line 301:
     * contact headers are checked with higher priority, if no expires parameter there, then Expires header is used     * contact headers are checked with higher priority, if no expires parameter there, then Expires header is used
     * if none is found, $null is returned     * if none is found, $null is returned
-  * added pseudo-variable ($aa) for access to algorithm in autorization header+  * added pseudo-variable ($aa) for access to algorithm in authorization header 
 +  * new variable $su to return source address in uri format 
 +    * $su is expanded "sip:$si:$sp;transport=$pr" - example: "sip:127.0.0.1:5060;transport=udp"
  
 ==== registrar ==== ==== registrar ====
Line 384: Line 400:
  
   * generate callid at startup and increase cseq for records added via mi/rpc commands   * generate callid at startup and increase cseq for records added via mi/rpc commands
 +  * option to set datetime columns as bigint
 +    * should handle better daylight shifting
 +    * new parameter expires_type - if set to 1, it expects expires and last modified columns to be bigint
 +    * the change to the type of columns has to be done manually to the database server
 +    * default values is 0, expecting to work with datetime columns (existing behavior)
  
 ==== utils ==== ==== utils ====
Line 427: Line 448:
   * lib/srutils: add sruid_next_safe() function - checks to see if the sruid was initialized by same process and if not, triggers a reinit - pid is stored inside the sruid struct   * lib/srutils: add sruid_next_safe() function - checks to see if the sruid was initialized by same process and if not, triggers a reinit - pid is stored inside the sruid struct
   * call onsend_route for replies   * call onsend_route for replies
 +    * onsend_route_reply - parameter to control if onsend_route is executed for forwarded replies
   * return OK as string for a successful dns.delete rpc command   * return OK as string for a successful dns.delete rpc command
   * new internal msg flag - FL_UAC_AUTH - to mark requests that had local uac authentication done (e.g., via uac_auth() from uac module) - it is an indication that cseq should be increased   * new internal msg flag - FL_UAC_AUTH - to mark requests that had local uac authentication done (e.g., via uac_auth() from uac module) - it is an indication that cseq should be increased
 +  * allow up to three callback functions for net_data_in and net_data_out
  
 ==== Default Config ==== ==== Default Config ====
features/new-in-4.2.x.txt · Last modified: 2014/10/15 22:02 by miconda