Everyone wants the way they want it to work in their specific single use case to be the default. It's not a hack, it's the way you want it solved by a documented config option and its not any more ugly than a cisco dial-plan is it? FreeSWITCH can be mostly anything you want it to be, besides a proxy. It's your job to configure it how you would like. For your connivence, latest git has a new option you can specify in the from-domain param on a gateway xml to "auto-aleg" indicating you want this behavior that in now way should be the default....... On Fri, Apr 1, 2011 at 10:37 AM, Iñaki Baz Castillo <ibc@aliax.net> wrote:
2011/4/1 Serge S. Yuriev <me@nevian.org>:
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_invite_domain That's good, thanks for pointing out it.
Yes that's good.. as a workaround I used for my and only domain but using this for every domain in config is not pretty ;)
However I would prefer some option like "trust_from_domain" or something static in the profile configuration rather than the dialplan.
I'm with you and even more I wanna this to be default and have some tools in dialplan for hiding..
True. Doing that in the dialplan is a bit "hack". IMHO it should be possible FS to entirely bypass the From URI (including port and URI params if present).
-- Iñaki Baz Castillo <ibc@aliax.net>
_______________________________________________ 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900