[Users] Re-invites

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Jul 19 10:59:48 CEST 2005


Hello,

On 07/18/05 21:23, Dave wrote:

> Hi,
> Can someone please help me to get a better understanding how 
> re-invites are handled in openser.cfg. I'm having difficulty 
> understanding the follow:
>  
> Scenario: UA1 <---> OPENSER <---> UA2
>  
> 1) Definition: Is re-invite refer to a "new" INVITE that is sent by a 
> UA so that some modifications can be made to a session (put on hold 
> e.g.) ?

yes, this is a re-INVITE

> Or is RE-INVITE referred to a re-transmission of an INVITE by an 
> entity because no response was received to the prior INVITE?

No, retransmission is when there was no reply, as you said. A 
retransmission could occur for a re-INVITE, too.

>  
> 2) If a REINVITE is sent by UA1 inorder to put UA2 "on hold", how and 
> where would it be handled in openser.cfg?

Is this the default config file? Then there is no special handling, but 
the re-INVITE will follow the Route header, via loose_route().

>  
> How can I play MOH if UA1 puts UA2 on hold?

If you want to do it via SIP server, take a look at RTPProxy, otherwise 
the client should have this functionality built in.

>  
> 3) If a REINVITE is sent by UA1 because it got no response from 
> Openser (packet got lost), will this INVITE be handled any differently 
> from 2)

Yes, the retransmission has no Route header, so it should go through 
user location lookup.

>  
> 4) The document in Onsip.org mentions that a RE-INVITE will have a 
> to_tag attached to it.

yes, because the re-INVITE is part of an existing dialog (a dialog is 
identified by call-id, to-tag and from-tag)

>  
>  4.1) Is this refering to a REINVITE generated by SER OR an REINVITE 
> received by SER??

I didn't read the onsip.org documentation because it requires registration.

>  
> 4.2) Under what situations would this reinvite be generated?

To change the parameters for existing dialog -- e.g., as you said, to 
put on hold.

>  
> 4.3) The doc mentions that this REINVITE would be handled by 
> loose_route(). Why?

Because it has a Route header which is used to specify the next hop in 
the path.

>  
>  
> Any answers will be highly appreciated.

Hope you got some clarifications.

Daniel

> Dave
>  
>  
>
> __________________________________________________
> 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 Users mailing list