VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kristian.kielhofner at... Guest
|
Posted: Fri Oct 09, 2009 2:23 pm Post subject: [Freeswitch-users] On the handling of SIP headers |
|
|
Hello everyone,
In using FS for various scenarios I've noticed some behavior that
I'm not sure is completely "proper". Given that this probably lives
in mod_sofia who knows what's really "proper". It is SIP after all...
So the issue comes up when using FreeSWITCH as a B2BUA and bridging
between endpoints (very common). Should FreeSWITCH copy the X-
headers (possibly others) as it does now? I'd like to think it
shouldn't by default and the behavior should be one of:
1) Don't pass X-* (or anything else, really) from one leg to another.
If you want to pass specific X- headers (or anything else), set them
explicitly on the outbound leg.
2) Make the behavior configurable with a channel variable and/or
sofia config option:
{sip_pass_headers=all|none|X-MyCustomHeaderByName}
Thoughts?
--
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.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 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Sun Oct 11, 2009 5:07 pm Post subject: [Freeswitch-users] On the handling of SIP headers |
|
|
There is this endless push and pull on this topic, those who want them
assume it should be default, those who don't assume that should be
default. This probably needs a configuration option defaulting to
pass them (those who don't want to pass them are usually a bit more
educated and would find the option better than the other way around).
Mike
On Oct 9, 2009, at 3:10 PM, Kristian Kielhofner wrote:
Quote: | Hello everyone,
In using FS for various scenarios I've noticed some behavior that
I'm not sure is completely "proper". Given that this probably lives
in mod_sofia who knows what's really "proper". It is SIP after all...
So the issue comes up when using FreeSWITCH as a B2BUA and bridging
between endpoints (very common). Should FreeSWITCH copy the X-
headers (possibly others) as it does now? I'd like to think it
shouldn't by default and the behavior should be one of:
1) Don't pass X-* (or anything else, really) from one leg to another.
If you want to pass specific X- headers (or anything else), set them
explicitly on the outbound leg.
2) Make the behavior configurable with a channel variable and/or
sofia config option:
{sip_pass_headers=all|none|X-MyCustomHeaderByName}
Thoughts?
|
_______________________________________________
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 |
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Oct 11, 2009 6:52 pm Post subject: [Freeswitch-users] On the handling of SIP headers |
|
|
Well since we aren't a proxy you shouldn't default to passing them
right?
/b
On Oct 11, 2009, at 6:12 PM, Kristian Kielhofner wrote:
Quote: | Mike,
Thanks for getting back to me. I agree.
I'm willing to throw down on a bounty for this. Any idea how much
work we're talking about here?
|
_______________________________________________
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 |
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|