11-17-2017
Also, the custom user field was set as "required" before; but the mobile registration does not have that field available, so I removed the "required" option for that field, since it defaults to US and can users who register with mobile can change it in the user control panel on desktop later, if they choose to.
I am guessing the registration error above was from a mobile user; because having that field set to "required" would have caused an error on mobile registration.
8 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
I tried registering, but no matter what email address I provide, it says not a valid address and not the same in confirm. I tried many times, but no go. I thought I had already registered as Sully but even that didn't like my email address for password info. Of course, that could be someone else... (2 Replies)
Discussion started by: Not registered
2 Replies
2. Forum Support Area for Unregistered Users & Account Problems
I tried my best to register myself on unix.com but i am not lucky, can you pls give me instruction. (1 Reply)
Discussion started by: Kuldeep_Sngh333
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Registration denied. Sorry, The UNIX and Linux Forums runs an active policy of not allowing spammers. Please contact us via by posting in this forum if you believe this is in error
What's with this?
Tried 2 email accounts in case your forum blocks either. (1 Reply)
Discussion started by: Diagonal
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
I need help from the scripting threads and want to register.
I tried it several times, but I was all the time rejected, because of your spam policy.
I do what you have written, but I wasn't still able to register. (1 Reply)
Discussion started by: ScAr
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
Hello admin,
I come from Vietnam, it's in blocked country list. Can you help me to register
I want to register with following information:
Username: bojankikrick
Email: <removed>
Thanks very much! (1 Reply)
Discussion started by: Unregistered
1 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi Admin,
I am unable to register .
Request you to help me in getting my registration done.
Name: Raghavendra Kulkarni
Mail id : <removed>
Thanking you in advance for your support. (1 Reply)
Discussion started by: Unregistered
1 Replies
7. Forum Support Area for Unregistered Users & Account Problems
Hi Admin,
Currently, i am not able to register in this site. Kindly let me know what need to done.
Thanks,
ramesh (1 Reply)
Discussion started by: Unregistered
1 Replies
8. Forum Support Area for Unregistered Users & Account Problems
I want to register as "nezabudka", but I can't and I have a dynamic ip address.
My country is not in the list of restrictions.
I'm alive, I'm not a bot ))) (3 Replies)
Discussion started by: nezabudka
3 Replies
LEARN ABOUT DEBIAN
howto2_registration
How-To send or update registrations.(3) libeXosip2 How-To send or update registrations.(3)
NAME
How-To send or update registrations. - eXosip2 offers a flexible API to help you to register one or several identities.
Initiate a registration
To start a registration, you need to build a default REGISTER request bby providing several mandatory headers
osip_message_t *reg = NULL;
int id;
int i;
eXosip_lock ();
id = eXosip_register_build_initial_register (identity, registrar, NULL,
1800, ®);
if (id < 0)
{
eXosip_unlock ();
return -1;
}
osip_message_set_supported (reg, '100rel');
osip_message_set_supported(reg, 'path');
i = eXosip_register_send_register (id, reg);
eXosip_unlock ();
return i;
The returned element of eXosip_register_build_initial_register is the registration identifier that you can use to update your registration.
In future events about this registration, you'll see that registration identifier when applicable.
Update a registration
You just need to reuse the registration identifier:
int i;
eXosip_lock ();
i = eXosip_register_build_register (id, 1800, ®);
if (i < 0)
{
eXosip_unlock ();
return -1;
}
eXosip_register_send_register (id, reg);
eXosip_unlock ();
Note: The above code also shows that the stack is sometimes able to build and send a default SIP messages with only one API call
Closing the registration
A softphone should delete its registration on the SIP server when terminating. To do so, you have to send a REGISTER request with the
expires header set to value '0'.
The same code as for updating a registration is used with 0 instead of 1800 for the expiration delay.
Author
Generated automatically by Doxygen for libeXosip2 from the source code.
Version 3.1.0 Sun Jun 24 2012 How-To send or update registrations.(3)