[Freeswitch-users] SIP to make phone reboot or resync

Vallimamod ABDULLAH vallimamod.abdullah at imtelecom.fr
Sun Jul 29 14:32:48 MSD 2012


I don't know if there is a simple way to do this with freeswitch without reload. You can either disable the auth (Remember that as your phone is behind a NAT, only the proxy to which it is registered is able to send him a resync event from outside the lan.)
You can also use sipsak to send a hand crafted notify event, it is able to handle authentication with -a option.

-- 
Best Regards,
Vallimamod Abdullah
.



On Jul 29, 2012, at 6:05 AM, Sean Devoy 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 at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at 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 at lists.freeswitch.org 
>> [mailto:freeswitch-users-bounces at 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 at 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 at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at 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 at 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 at freeswitch.org
>>> http://www.freeswitchsolutions.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 at 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 at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>> 
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>> 
>> ______________________________________________________________________
>> ___ Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list