On Thu, Apr 10, 2014 at 10:45 AM, Dahlberg, David < david.dahlberg@fkie.fraunhofer.de> wrote:
Am Mittwoch, den 09.04.2014, 18:42 -0500 schrieb Brian West:
It it does then we need an NDLB flag (for those not in the know NDLB is No Device Left Behind)
Sorry, considering that /any/ header that are not recognised by a particular software solution and that does not begin with "X-" or "P-" to be of any use is what IMHO requires a NDLB flag.
X-Headers are a RFC 822 (from 1982!) legacy. By now, considering only "X-" headers as potentially meaningful would require FS to implement /every possible/ standardized extension to the SIP RFCs, which is virtually impossible today. E.g. I am quite certain, that you do /not/ implement RFC 4412 ("Resource-Priority") nor was FS able to support a custom extension with the necessary data do process it.
For that reason (or more for the problem of migrating a "well known" X-Header to a "standards" header) the IETF finally deprecated the usage of "X-" and "P-" prefixes in RFC 6648/BCP 178 and RFC 5727/BCP 67.
Until recently one could write but not read non-X-, non-P- and not known headers. Fortunately, now there seems to be a patch (FS-6075) in HEAD, which allows the parsing of arbitrary headers at least for SIP invites. So please have a look at the most recent git version of FS, Ido.
I have found that RFC as well (that;s why I haven't talked first with the provider), but now I have talked with the provider, and they "fixed" it for me: 707649a6-3901-472c-9962-7008fa068289 variable_sip_h_X-Gateway: [10] 707649a6-3901-472c-9962-7008fa068289 variable_sip_h_X-Price: [0.5]
Cheers, David
Thank you :) Ido
-- David Dahlberg
Fraunhofer FKIE, Dept. Communication Systems (KOM) | Tel: +49-228-9435-845 Fraunhoferstr. 20, 53343 Wachtberg, Germany | Fax: +49-228-856277 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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