[Asterisk-Dev] SIP REGISTER -- different values for From and Digest username fields

Gilad Ben-Yossef gilad at codefidence.com
Sat Nov 6 10:03:11 MST 2004


Benjamin on Asterisk Mailing Lists wrote:
> I'd like to ask for assistance how to patch Asterisk's sip
> implementation so that it can construct a SIP REGISTER message where
> the From field is different from the username in the digest.

Use the Source, Luke(TM):

"Format for registration is user[:secret[:authuser]]@host[:port][/contact] "

	-- chan_sip.c:2490

Yes, it's probably going to be a good idea to actually document it 
somewhere. And no, I didn't try it out :-)

Cheers,
Gilad



More information about the asterisk-dev mailing list