Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] On the handling of SIP headers


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
kristian.kielhofner at...
Guest





PostPosted: Fri Oct 09, 2009 2:23 pm    Post subject: [Freeswitch-users] On the handling of SIP headers Reply with 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?

--
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





PostPosted: Sun Oct 11, 2009 5:07 pm    Post subject: [Freeswitch-users] On the handling of SIP headers Reply with quote

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





PostPosted: Sun Oct 11, 2009 6:23 pm    Post subject: [Freeswitch-users] On the handling of SIP headers Reply with 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?

On Sun, Oct 11, 2009 at 5:59 PM, Michael Jerris <mike@jerris.com> wrote:
Quote:
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


--
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
brian at freeswitch.org
Guest





PostPosted: Sun Oct 11, 2009 6:52 pm    Post subject: [Freeswitch-users] On the handling of SIP headers Reply with quote

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





PostPosted: Sun Oct 11, 2009 9:26 pm    Post subject: [Freeswitch-users] On the handling of SIP headers Reply with quote

Brian,

You are correct, they *probably* shouldn't be passed by default.

On Sun, Oct 11, 2009 at 7:44 PM, Brian West <brian@freeswitch.org> wrote:
Quote:
Well since we aren't a proxy you shouldn't default to passing them
right?

/b


--
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services