|
@@ -41,7 +41,7 @@ Anca-Maria Vamanu
|
|
|
List of Examples
|
|
|
|
|
|
1.1. Set server_address parameter
|
|
|
- 1.2. Notify2Xmpp usage
|
|
|
+ 1.2. pua_xmpp_notify usage
|
|
|
1.3. xmpp_send_winfo usage
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
@@ -73,11 +73,11 @@ Chapter 1. Admin Guide
|
|
|
|
|
|
1.3.1. server_address(str)
|
|
|
|
|
|
- The IP address of the server.
|
|
|
+ The SIP URI specifying the address of the SIP server.
|
|
|
|
|
|
Example 1.1. Set server_address parameter
|
|
|
...
|
|
|
-modparam("pua_xmpp", "server_address", "160.23.23.10")
|
|
|
+modparam("pua_xmpp", "server_address", "sip:160.23.23.10")
|
|
|
...
|
|
|
|
|
|
1.4. Exported Functions
|
|
@@ -93,11 +93,11 @@ modparam("pua_xmpp", "server_address", "160.23.23.10")
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE.
|
|
|
|
|
|
- Example 1.2. Notify2Xmpp usage
|
|
|
+ Example 1.2. pua_xmpp_notify usage
|
|
|
...
|
|
|
- if( is_method("NOTIFY") && uri=~"sip:.+@sip-xmpp.siphub.ro")
|
|
|
+ if( is_method("NOTIFY") && uri=~"sip:.+@sip-xmpp.kamailio.org")
|
|
|
{
|
|
|
- if(Notify2Xmpp())
|
|
|
+ if(pua_xmpp_notify())
|
|
|
t_reply("200", "OK");
|
|
|
exit;
|
|
|
}
|