[Users] new version openser how to deal with call a SIP uri with multi registar

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Jun 17 14:38:46 CEST 2005


Jimmy,

for parallel forking you do not have to d anything special - fir this 
purpose you don't need a failure route. Just do lookup() and t_relay() 
and that's all. Failure routes are usually used for serial forking.

For serial forking, you can find of cvs some basic example in 
"examples/fork.cfg" or something more complex at 
http://www.voice-system.ro/docs/avpops/ar01s08.html#ex_serial_forking

regards,
bogdan

jimmy way wrote:

>Hi bogdan,
>
>  Need I write script for failure_route and
>onreply_route in ser.cfg to support parallel fork or I
>only lets openser to do that by itself.
>  If need, how to write the script?
>
>  By the way, how to support serial fork?
>
>Regards,
>Jimway
>
>--- Bogdan-Andrei Iancu <bogdan at voice-system.ro>
>wrote:
>
>  
>
>>Hi Jimmy.
>>
>>see inline comments. As short note, what you are
>>describing in parallel 
>>forking and it behaves exactly as you thing (see RFC
>>3261).
>>
>>regards,
>>bogdan
>>
>>jimmy way wrote:
>>
>>    
>>
>>>Hi all,
>>>
>>>   The question is:
>>>   1. a user A registar from multi address, like
>>>      UA1 registrar from address1
>>>      UA2 registrar from address2
>>>      UA3 registrar from address3
>>>      and so on
>>>      so in db "location" there are multi address
>>>      
>>>
>>in
>>    
>>
>>>the list about user A
>>>   2. if set append_branch as on in registrar
>>>      
>>>
>>module,
>>    
>>
>>>when user B invite user A, Openser server will
>>>      
>>>
>>append
>>    
>>
>>>all these address in the invite packet. So all
>>>      
>>>
>>these
>>    
>>
>>>user will get the call. normally all UAs ringing,
>>>      
>>>
>>then
>>    
>>
>>>   3. if one of these UAs accept the call, how
>>>      
>>>
>>about
>>    
>>
>>>other UAs, will they stop ringing?
>>> 
>>>
>>>      
>>>
>>yes, the other pending branches will be
>>automatically cancelled.
>>
>>    
>>
>>>   4. if one of these UAs deny(40x) the call, how
>>>about other UAs, will the still ringing?
>>> 
>>>
>>>      
>>>
>>yes - there are two way for a parallel forked call
>>to end: either one of 
>>the branches picks up (2xx reply), either all of
>>them send negative 
>>replies (>=300).
>>
>>    
>>
>>>   5. if one of these UAs not connected, how about
>>>caller the callee do?
>>> 
>>>
>>>      
>>>
>>if one of the branches is not connected (but still
>>registered), an 
>>internal timeout (408) will be generated for it.
>>
>>    
>>
>>>tks.
>>>Jimway
>>>
>>>
>>>		
>>>      
>>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>  
>





More information about the sr-users mailing list