[Serusers] RE: pa module query

Steve Blair blairs at isc.upenn.edu
Sat Aug 13 03:50:01 CEST 2005


No problem. Remember with xcap that there are two versions of the 
server. You
want to get the documentation for whichever version you are running.


harry gaillac wrote:

>Sorry I don't want to offend anybody with "!".
>However pa module need docs !
>your post is good .
>
>Thanks for help
>Regards
>Harry
>
>--- Steve Blair <blairs at isc.upenn.edu> a écrit :
>
>  
>
>>Steve Blair wrote:
>>
>>    
>>
>>>I realize that. Excellent use of the exclamation
>>>      
>>>
>>points. You posted a 
>>    
>>
>>>question
>>>and I replied with what I thought would be
>>>      
>>>
>>helpful...sorry if it wasn't.
>>    
>>
>>>-Steve
>>>
>>>harry gaillac wrote:
>>>
>>>      
>>>
>>>>Hello,
>>>>
>>>>The problem is to get documentation for
>>>>        
>>>>
>>IM/presence
>>    
>>
>>>>!!!
>>>>
>>>>Harry
>>>>--- Steve Blair <blairs at isc.upenn.edu> a écrit :
>>>>
>>>> 
>>>>
>>>>        
>>>>
>>>>>The following should be enough to get you
>>>>>          
>>>>>
>>started
>>    
>>
>>>>>with the presence (pa) module.
>>>>>The xcap stuff I do not yet have documented or
>>>>>working properly so I cannot help
>>>>>with that.
>>>>>
>>>>>-Steve
>>>>>
>>>>>loadmodule "/usr/local/lib/ser/modules/pa.so"   
>>>>>          
>>>>>
>>      # enables 
>>    
>>
>>>>>presence module
>>>>>
>>>>>#
>>>>># ------------- pa settings
>>>>>#
>>>>>modparam("pa", "default_expires", 1800)
>>>>>modparam("pa", "timer_interval", 10)
>>>>>modparam("pa", "use_db", 0)                    
>>>>>          
>>>>>
>>#
>>    
>>
>>>>>def=0 disable db support
>>>>>modparam("pa", "use_place_table", 0)           
>>>>>          
>>>>>
>>#
>>    
>>
>>>>>def=0 disable use of place table
>>>>>modparam("pa", "use_bsearch", 0)               
>>>>>          
>>>>>
>>#
>>    
>>
>>>>>def=0 disable use of binary search for location
>>>>>modparam("pa", "use_location_package", 0)      
>>>>>          
>>>>>
>>#
>>    
>>
>>>>>def=0 disable use of location package
>>>>>modparam("pa", "pa_domain", "bigU.edu")        
>>>>>          
>>>>>
>>#
>>    
>>
>>>>>def name of xcap server
>>>>>modparam("pa", "db_url",
>>>>>"mysql://ser:tespaserv@localhost/ser")     # def
>>>>>          
>>>>>
>>db access string
>>    
>>
>>>>>modparam("pa", "presentity_table", "presentity")
>>>>>modparam("pa", "presentity_contact_table",
>>>>>"presentity_contact")
>>>>>modparam("pa", "watcherinfo_table",
>>>>>          
>>>>>
>>"watcherinfo")
>>    
>>
>>>>>modparam("pa", "place_table", "place")
>>>>>modparam("pa", "new_watcher_pending", 0)       
>>>>>          
>>>>>
>>#
>>    
>>
>>>>>def=0 default state of watchers 0=active
>>>>>modparam("pa", "pidf_priority", 1)             
>>>>>          
>>>>>
>>#
>>    
>>
>>>>>def=1 default priority of contacts in pidf
>>>>>          
>>>>>
>>documents
>>    
>>
>>>>>if (uri==myself) {
>>>>>...
>>>>>    #
>>>>>    # Handle publish and subscription requests
>>>>>    #
>>>>>
>>>>>    if (method=="PUBLISH") {
>>>>>       if (!t_newtran()) {
>>>>>         xlog("L_INFO", "\n[SER]: PUBLISH
>>>>>          
>>>>>
>>newtran
>>    
>>
>>>>>problem: Time: [%Tf] From: <%fu> Source IP:
>>>>>          
>>>>>
>><%is> \n");
>>    
>>
>>>>>         sl_reply_error();
>>>>>       };
>>>>>       handle_publish("registrar");
>>>>>       xlog("L_INFO", "\n[SER]: Handle PUBLISH:
>>>>>Time: [%Tf] From: <%fu> To <%tu> Source IP:
>>>>>          
>>>>>
>><%is> \n");
>>    
>>
>>>>>       break;
>>>>>    };
>>>>>
>>>>>    if (method=="SUBSCRIBE") {
>>>>>       if (!t_newtran()) {
>>>>>         xlog("L_INFO", "\n[SER]: SUBSCRIBE
>>>>>          
>>>>>
>>newtran
>>    
>>
>>>>>problem: Time: [%Tf] From: <%fu> Source IP:
>>>>>          
>>>>>
>><%is> \n");
>>    
>>
>>>>>         sl_reply_error();
>>>>>       };
>>>>>       handle_subscription("registrar");
>>>>>       xlog("L_INFO", "\n[SER]: Handle
>>>>>          
>>>>>
>>SUBSCRIBE:
>>    
>>
>>>>>Time: [%Tf] From: <%fu> To <%tu> Source IP:
>>>>>          
>>>>>
>><%is> \n");
>>    
>>
>>>>>       break;
>>>>>    };
>>>>>
>>>>>....
>>>>>
>>>>>harry gaillac wrote:
>>>>>
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>Hello,
>>>>>>
>>>>>>I would be happy to help you however I can't
>>>>>>            
>>>>>>
>>help
>>    
>>
>>>>>>    
>>>>>>            
>>>>>>
>>>>>you
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>for setting pa module IM/presence because of I
>>>>>>    
>>>>>>            
>>>>>>
>>>>>tried
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>to do it myself.
>>>>>>
>>>>>>Try to join Jamey Hicks for help.
>>>>>>I can't find doc to setup pa module and xcap
>>>>>>    
>>>>>>            
>>>>>>
>>>>>server.
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>I'm sorry !
>>>>>>
>>>>>>Harry
>>>>>>
>>>>>>
>>>>>>--- meera.balu at wipro.com a écrit :
>>>>>>
>>>>>>
>>>>>>
>>>>>>    
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>Hi Harry
>>>>>>>
>>>>>>>I found your email id  from SER development
>>>>>>>      
>>>>>>>              
>>>>>>>
>>>>>mailing
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>>list
>>>>>>>
>>>>>>>You seem to be testing/enhancing "pa" module
>>>>>>>              
>>>>>>>
>>of
>>    
>>
>>>>>>>      
>>>>>>>              
>>>>>>>
>>>>>SER
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>>Iam actually testing the pa module and would
>>>>>>>              
>>>>>>>
>>need
>>    
>>
>>>>>>>your help in setting
>>>>>>>up & doing basic testing.
>>>>>>>
>>>>>>>I have loaded the '"pa" module in ser.cfg
>>>>>>>
>>>>>>>I would like to know
>>>>>>>
>>>>>>>*    Would kphone4.2 (linux based soft phone)
>>>>>>>              
>>>>>>>
>>be
>>    
>>
>>>>>>>      
>>>>>>>              
>>>>>>>
>>>>>enough
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>>to test the
>>>>>>>"presence" aspects (Updating states,
>>>>>>>              
>>>>>>>
>>subscribing
>>    
>>
>>>>>>>      
>>>>>>>              
>>>>>>>
>>>>>to
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>>users, getting
>>>>>>>notified of change in user states, etc.) of
>>>>>>>              
>>>>>>>
>>'pa' ?
>>    
>>
>>>>>>>*    Is their any SQL table available for
>>>>>>>              
>>>>>>>
>>presence ?
>>    
>>
>>>>>>>(from where did
>>>>>>>              
>>>>>>>
>=== message truncated ===
>
>
>
>	
>
>	
>		
>___________________________________________________________________________ 
>Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
>Téléchargez cette version sur http://fr.messenger.yahoo.com
>  
>




More information about the sr-users mailing list