Hi , In the SIP RFC you can use email address as username but for this you have to change @ to %23 otherwise SIP paser not able to know where it will send the request because in this case there is two @ value thanks and regards Sushil kumar On Tue, Jul 13, 2010 at 8:13 AM, Bradley Sweeney <brad.sweeney at gmail.com>wrote: > Is there any reason why an email address can't be used as a username when > registering with my voip server using pjsip? > > This is the type of error I get, > > * 17:04:55.937 sip_reg.c Invalid Contact: "< > sip:brad at gmail.com@xxxxxxxxxxxxxxx:5060>"* > * 17:04:55.941 pjsua_acc.c Client registration initialization error: > Invalid URI (PJSIP_EINVALIDURI) [status=171039]* > * > * > * > * > *I have tried escaping the @ in my email addess 3 different ways including > %40, but it keeps getting converted back to @ by pjsip during the > registration process.* > * > * > _________________ > Brad Sweeney > brad.sweeney at gmail.com > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- Thanks and Regards, Sushil Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100713/4c4180d9/attachment.html>