User Tools

Site Tools


cookbooks:5.3.x:core

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
cookbooks:5.3.x:core [2019/10/30 09:49]
127.0.0.1 external edit
cookbooks:5.3.x:core [2020/01/16 13:03] (current)
miconda [xavp_via_fields]
Line 1766: Line 1766:
   ...   ...
   $xavp(customvia=>​address) = "​1.2.3.4";​   $xavp(customvia=>​address) = "​1.2.3.4";​
-  $xavp(customvia=>​port) = "​5080"; ​ # must be string+  $xavp(customvia[0]=>port) = "​5080"; ​ # must be string
   via_use_xavp_fields("​1"​);​   via_use_xavp_fields("​1"​);​
   t_relay();   t_relay();
Line 2622: Line 2622:
  
 Force to send the message from the specified socket (it _must_ be one of the sockets specified with the "​listen"​ directive). If the protocol doesn'​t match (e.g. UDP message "​forced"​ to a TCP socket) the closest socket of the same protocol is used. Force to send the message from the specified socket (it _must_ be one of the sockets specified with the "​listen"​ directive). If the protocol doesn'​t match (e.g. UDP message "​forced"​ to a TCP socket) the closest socket of the same protocol is used.
 +
 +This function does not support pseudo-variables,​ use the set_send_socket function from the corex module instead. ​
  
 Example of usage: Example of usage:
cookbooks/5.3.x/core.1572425381.txt.gz ยท Last modified: 2019/10/30 09:49 by 127.0.0.1