I am new to Asterisk - I’ve read the books and searched the forums, but I can’t resolve what seems to be a simple configuration issue. I am trying to get our Polycom 430 phones set up with two line (extension) appearances each, e.g., extension 620 and extension 602. The users config is identical for both extensions except for the “Extension:” field. The Polycom is configured for one line key per line and one call per line key. The phones appear to register OK, but only one of the extensions works, the other receives calls but gives a congestion signal when attempting to dial out. The log file shows:
[Jul 22 19:06:15] WARNING chan_sip.c: username mismatch, have <620>, digest has <602>
[Jul 22 19:06:15] NOTICE chan_sip.c: Failed to authenticate user “602” sip:email@example.com;tag=9B4CD0E9-CC8E24FE
I know I am doing something stupid, but I just can’t see it.
Looks like you have the incorrect username for one of the extensions in the phone config file. I use the Polycom 650s here at my office…and in the config file there is a userid and password field for each line.
These have to match the extensions in your sip.conf file.
Thanks for the response. Unfortunately, I do have each line set up separately. Line 1 and its corresponding user.config are completely different from Line 2 and its user.config - no common fields at all. It appears that Astersik somehow associates the two lines. My only clue at this point is that the error message contains a reference to a “digest” having the wrong extension from the location. Can anyone tell me about the digest? Who makes it & what is it for. I can’t find it in the documentation.
[Jul 23 14:18:20] NOTICE chan_sip.c: Registration from ‘sip:firstname.lastname@example.org’ failed for ‘192.168.0.150’ - Username/auth name mismatch
[Jul 23 14:19:19] WARNING chan_sip.c: username mismatch, have <602>, digest has <620>
Maybe I’m missing something.
Are you trying to set up two extensions on each phone? Or set up 2 phones with 1 extension each?
I am trying to set up two separate extensions on one phone. With the current configuration, both of the extensions show up as registered on the icons on the phone, and I can receive calls on both extensions, but one of the extensions gives me a congestion signal when I attempt to dial out.
Thanks again for your help.
Totally agreed, has anyone found a solution to this problem. I have a phone that has extension 100 and extension 399 (our night ring) I want to give one person the ability to get to either extension, but as danhanes has stated it comes back and says “username mismatch”. My 399 extension works, but not the 100. Once I turn off the 399 option on the phone, presto everything is fine and extension 100 is back.
One more thing, it is only the outgoing on the 100 that is broken with the 399 extension setup. When I call into extension 100, the phone rings through just fine.
Does anyone know what is going on?
Are you remembering to assign new TCP ports for each login?
The first extension might use TCP port 5060, where the second extension uses TCP port 5061.
No actually, do I have to bring it in on a different port? I have seen the setting and will make the adjustment and let you know what I find.
That fixed it, thanks for your answer dufus.
I have the same problem. Can you please tell me exactly what you have changed to have two different ports used from the same phone?
On the phone that I own, a Linksys942, there is a web page which you can point your browser at to configure it.
Under the admin log in you can adjust what each of the four buttons you have on the phone point to. I set EXT 4 to use port 5061 instead of port 5060. This allowed the phone to look at both extensions at the same time.