Michael, I Googled "freeswitch sip re-provision phone" which came up with almost nothing. This thread is now the TOP 5 hits on that query! I also Googled "freeswitch sip reboot phone" which comes up with several links that appear to be polycom specific. In fact if I had read more I may have gotten what I needed with some brute force trial and error. I must say I was expecting to find sendevent code to achieve this, not something as simple as a SOFIA command! Here again, as you can see from my follow up question, I had no idea what to search for with regard to reverse-auth-user and reverse-auth-pass params. You guys rock. Sean From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Monday, July 30, 2012 6:03 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP to make phone reboot or resync On Mon, Jul 30, 2012 at 2:43 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote: reverse-auth-user and reverse-auth-pass params in the params section of the <user> xml tag in the user directory can be configured instead of a gateway and it will use those credentials instead. FYI this is actually on the wiki (thanks kn0x): http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#reverse_authenticat ion It might be helpful to make it easier to find, perhaps by linking to it from another page. Sean, can you tell us where on the wiki you were looking for this? That will give me an idea of where exactly I should add the link & info. -MC On Sat, Jul 28, 2012 at 11:05 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Thank you sir. That did help, I can resync my phone test either with user/pass using any proxy user/pass from the lines on THAT phone. I can also disable Auth Resync Reboot and let anyone send reboots - which might be fun, but seems like a bad plan!
This is not very useful for me since the phone's proxy user/pass must be specified in the gateway XML for whole realm in the the SIP profile. I hoped to be able to re-provision any phone on demand. It seems impractical to have to restart/rescan my sofia gateway every time I want to issue a resync to a different phone.
Am I missing something?
Sean
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vallimamod ABDULLAH Sent: Saturday, July 28, 2012 1:05 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP to make phone reboot or resync
Hi,
It's normally the sip account credentials. There is also an option in the admin interface to disable this authentication ("Auth Resync-Reboot" option if I recall correctly in Ext tab)
Best Regards, Vallimamod Abdullah .
On Jul 28, 2012, at 6:40 PM, Sean Devoy wrote:
HI all,
I am close, but I still don't understand what credentials are required. The response is: SIP/2.0 401 Unauthorized
I have tried the web admin credentials for the phone, I don't k now what FS credentials I could pass.
Any ideas?
Thanks, Sean
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, July 27, 2012 6:12 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP to make phone reboot or resync
Make a gateway with no reg and the credentials and name it after the realm in the challenge.
On Jul 27, 2012 5:05 PM, "Sean Devoy" <sdevoy@bizfocused.com> wrote: Thank Anthony, BUT.. Error: 2012-07-27 17:58:55.118642 [ERR] sofia_reg.c:2165 Cannot locate any authentication credentials to complete an authentication request for realm '"fs_bfis.bizfocused.com"'
1 - where do I specify the credentials? 2 - Are these Freeswitch credentials or phone credentials? I suspect the latter.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, July 27, 2012 1:21 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SIP to make phone reboot or resync
sofia profile <prof name> check_sync [call_id] // no call_id means all sofia profile <prof name> flush_inbound_reg [call_id] [reboot]
On Fri, Jul 27, 2012 at 12:06 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
HI All,
Does anyone have an code that will cause Freeswitch to send a SIP message to a CISCO SPA5xx phone that will cause it to reboot or resync (aka re-provision)? I know about the URLs that cause the phone to do this, but they are NATed, so I need to use SIP to hit them.
Assume I am programming language omni-lingual for this request!
Thanks,
Sean
____________________________________________________________________ __ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-u se rs http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900 <tel:%2B19193869900>
______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs http://www.freeswitch.org
______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs http://www.freeswitch.org ______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900 <tel:%2B19193869900> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org