cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5056
Views
0
Helpful
31
Replies

SPA504G and Extension Mobility to Asterisk Server

Hi Guys,

I am looking at configuring the SPA504G to allow for 'hot desking' functionality, so that users can login and use the phone as their own, so their extension follows them whereever they might be.

I have an http server ,configured and I have the extension mobility profile defined, however I wondered if there were example configurations of how this works?

I can get the SPA to download the profile so I get the login button and it sends an HTTP request to get phone configuration file, but does this only once.

Plus when I am successful I cannot logout, so my client stays registered.

Any suggestions would be great. 

I also have the challenge of linking user logins to their profiles and sip accounts.

Thanks

Jon

<flat-profile>

<Profile_Rule ua="na">("$EMS" eq "mobile" and "$MUID" ne "" and "$MPWD" ne "") ? [--uid $MUID$PDOM

--pwd $MPWD] http://192.168.1.103/mobility/spa649EF37675CA.cfg  </Profile_Rule>

  <EM_Enable ua="na">Yes</EM_Enable>

  <EM_User_Domain ua="na">test.com</EM_User_Domain>

  <EM_Phone_User_ID ua="na"></EM_Phone_User_ID>

  <EM_Phone_Password ua="na"></EM_Phone_Password>

  <EM_Mobile_User_ID ua="na"></EM_Mobile_User_ID>

  <EM_Mobile_Password ua="na"></EM_Mobile_Password>

  <EM_Login_State ua="na">"mobile"</EM_Login_State>

31 Replies 31

Shaun Stokes
Level 1
Level 1

Hi,

We've been following this thread using a slightly different setup, everything works except the password $MPWD macro. We authenticate all phones using the same digest auth details and instead parse the username, password and MAC address using the URL to validate the login.

Here's our profile rule:

("$EMS" eq "mobile" and "$MUID" ne "" and "$MPWD" ne "") ? [--uid provuser --pwd provpass]http://provserver/?mac=$MA&usr=$MUID&pwd=$MPWD | [--uid provuser --pwd provpass]http://provserver/?mac=$MA

For example:

User: 123

Password: 789

MAC: 001422012345

This is the URL we are expecting:

http://provserver/?mac=001422012345&usr=123&pwd=789

This is the URL the phone uses instead:

http://provserver/?mac=001422012345&usr=123&pwd=$MPWD

We're on firmware 7.5.7s using a Cisco 504G, have performed a factory reset. If we don't use the password macro this works as expected and allows us to login\logout with-out authenticating the user password.

Is there something we've missed or does the password macro simply not work in the URL? Hope someone here might be able to help.

Thanks,

Shaun

I've just found the answer here:

https://supportforums.cisco.com/discussion/10981341/13-problems-spa525g

"The $MPWD macro is restricted for the purpose of Extension Mobility only, and as described in administration documentation. It is not expandable in GPP parameters.  The only other places they can be used are User Id and Password under Ext n tabs."

We will look at altering our existing provisioning server to support digest auth for hot-desk using an alternate username and password.