Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRUU Support for REGISTER #17

Open
bklang opened this issue Sep 4, 2013 · 1 comment
Open

GRUU Support for REGISTER #17

bklang opened this issue Sep 4, 2013 · 1 comment

Comments

@bklang
Copy link
Member

bklang commented Sep 4, 2013

From @saghul:

@bklang When registering, the To header needs to contain the AoR to which we are registering, it's typically the same as the From, unless third-party registration is taking place.

About GRUU. When using GRUU, one needs to indicate the instance id in the contact header:

Contact: <sip:[email protected]>;+sip.instance="<urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6>"

Then the 200 OK will contain the public and temporary GRUUs, if supported:

Contact: <sip:[email protected]>;pub-gruu="sip:[email protected];gr=urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6";temp-gruu="sip:[email protected];gr";+sip.instance="<urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6>";expires=3600

Now, if the proxy supports GRUU and someone dials sip:[email protected];gr=urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6 only this instance will ring, it will not fork.

@bklang bklang mentioned this issue Sep 4, 2013
@bklang
Copy link
Member Author

bklang commented Sep 4, 2013

Two more comments:

So to your question about GRUU, we would need to modify the Contact header in the REGISTER request to include a supplied UUID? I think we can accommodate that.

Yes, oh, and also add a "Supported: gruu" header, that will do. If the server supports GRUU it will send them in the 200 OK, else you'll get the usual response.
In case you want to know all the details: http://tools.ietf.org/html/rfc5627#section-9 but there is not much to it from the client side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant