Hi mr Michael ,

Yes i know that is very difficult, may be impossible for that reason  i proppose another  solution may be also impossible which is:
when the sipphone send the register request i redirect this packet with iptables to sipp or scapy and this is will return the 401 unauthorized to the sipphone in the place of FS .

what do you think sir is this possible ??? 

Thanks a lot ,
Best regards 
amani  


Le ven. 15 avr. 2016 à 18:56, Michael Collins <msc@freeswitch.org> a écrit :
This sounds like a job better suited for a SIP proxy like OpenSIPS or Kamailio. I suspect that this task is either difficult, impractical, or impossible with FreeSWITCH. (FreeSWITCH is a B2BUA.)

That being said, if anyone knows how to manipulate SIP registrations at such granular level in Sofia I would be very curious to hear about it.

-Michael

On Fri, Apr 15, 2016 at 7:15 AM, amani mansour <amani.mansour2@gmail.com> wrote:
Hi all ,

Please i need to know the file (directory,dialplan or ........) from which the request register is send ,I need your help ,
i need to know the origine of the message Register to be able to modify it i need to create a scenario which is:
FS receive Register
FS send 401 
FS receive  Register with authorization header
FS send second 401 with stale = false 

please i need your help .
thank you again 

with best regards 
amani 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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