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.) ? Or is RE-INVITE referred to a re-transmission of an INVITE by an entity because no response was received to the prior INVITE?
2) If a REINVITE is sent by UA1 inorder to put UA2 "on hold", how and where would it be handled in openser.cfg?
How can I play MOH if UA1 puts UA2 on hold?
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)
4) The document in Onsip.org mentions that a RE-INVITE will have a to_tag attached to it.
4.1) Is this refering to a REINVITE generated by SER OR an REINVITE received by SER??
4.2) Under what situations would this reinvite be generated?
4.3) The doc mentions that this REINVITE would be handled by loose_route(). Why?
Any answers will be highly appreciated. Dave
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
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
- 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.
- 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.
- 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.
- 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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users