Formatting P-Asserted-Identity
Hello Team Can someone guide me as to how I can add text with double quotes prepending the P-Asserted-Identity? Right now, i can do the same from dialplan using single quote but what I would like to do is to add the text outside and with double quotes as below P-Asserted-Identity: "Some Text"<P-Asserted-Identity> .......without < and > Thanks a lot in advance Regards Adi
On Thursday 10 February 2022 at 04:42:56, Adiseshu Channasamudhram wrote:
Hello Team
Can someone guide me as to how I can add text with double quotes prepending the P-Asserted-Identity?
P-Asserted-Identity: "Some Text"<P-Asserted-Identity> .......without < and >
I'm not sure that is RFC-compliant, so it may well (a) not be possible, (b) not be recognised by the receiving system: https://datatracker.ietf.org/doc/html/rfc3325#page-8 Antony. -- Perfection in design is achieved not when there is nothing left to add, but rather when there is nothing left to take away. - Antoine de Saint-Exupery Please reply to the list; please *don't* CC me.
Actually everything works fine when I send it as ‘some text’ but I want it with “some text” Thanks Adi Sent from my iPhone
On Feb 10, 2022, at 4:38 AM, Antony Stone <Antony.Stone@freeswitch.open.source.it> wrote:
On Thursday 10 February 2022 at 04:42:56, Adiseshu Channasamudhram wrote:
Hello Team
Can someone guide me as to how I can add text with double quotes prepending the P-Asserted-Identity?
P-Asserted-Identity: "Some Text"<P-Asserted-Identity> .......without < and >
I'm not sure that is RFC-compliant, so it may well (a) not be possible, (b) not be recognised by the receiving system:
https://datatracker.ietf.org/doc/html/rfc3325#page-8
Antony.
-- Perfection in design is achieved not when there is nothing left to add, but rather when there is nothing left to take away.
- Antoine de Saint-Exupery
Please reply to the list; please *don't* CC me.
Single, double quotes? Have you tried with ""some text""? On Thu, 10 Feb 2022 at 13:25, Adiseshu Channasamudhram <csadi@hotmail.com> wrote:
Actually everything works fine when I send it as ‘some text’ but I want it with “some text”
Thanks
Adi
Sent from my iPhone
On Feb 10, 2022, at 4:38 AM, Antony Stone < Antony.Stone@freeswitch.open.source.it> wrote:
On Thursday 10 February 2022 at 04:42:56, Adiseshu Channasamudhram wrote:
Hello Team
Can someone guide me as to how I can add text with double quotes prepending the P-Asserted-Identity?
P-Asserted-Identity: "Some Text"<P-Asserted-Identity> .......without < and >
I'm not sure that is RFC-compliant, so it may well (a) not be possible, (b) not be recognised by the receiving system:
https://datatracker.ietf.org/doc/html/rfc3325#page-8
Antony.
-- Perfection in design is achieved not when there is nothing left to add, but rather when there is nothing left to take away.
- Antoine de Saint-Exupery
Please reply to the list; please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
On Thursday 10 February 2022 at 13:34:10, Gregor Nanger wrote:
Single, double quotes? Have you tried with ""some text""?
Or, for that matter, "\"some text\""?
On Thu, 10 Feb 2022 at 13:25, Adiseshu Channasamudhram wrote:
Actually everything works fine when I send it as ‘some text’ but I want it with “some text”
Thanks
Adi
Antony. -- "Can you keep a secret?" "Well, I shouldn't really tell you this, but... no." Please reply to the list; please *don't* CC me.
About double quotes This also possible [image: image.png] Next [image: image.png] Next [image: image.png] double quotes char has code %x22 and allowed Also please be aware [image: image.png] So in your case probable need to use P-Asserted-Identity: "\"Some Text\""<addr-spec> On Thu, Feb 10, 2022 at 3:36 PM Adiseshu Channasamudhram <csadi@hotmail.com> wrote:
Actually everything works fine when I send it as ‘some text’ but I want it with “some text”
Thanks
Adi
Sent from my iPhone
On Feb 10, 2022, at 4:38 AM, Antony Stone < Antony.Stone@freeswitch.open.source.it> wrote:
On Thursday 10 February 2022 at 04:42:56, Adiseshu Channasamudhram wrote:
Hello Team
Can someone guide me as to how I can add text with double quotes prepending the P-Asserted-Identity?
P-Asserted-Identity: "Some Text"<P-Asserted-Identity> .......without < and >
I'm not sure that is RFC-compliant, so it may well (a) not be possible, (b) not be recognised by the receiving system:
https://datatracker.ietf.org/doc/html/rfc3325#page-8
Antony.
-- Perfection in design is achieved not when there is nothing left to add, but rather when there is nothing left to take away.
- Antoine de Saint-Exupery
Please reply to the list; please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
From your reference [image: image.png]
Display name also allowed [image: image.png] Page 228 <https://datatracker.ietf.org/doc/html/rfc3261#page-228> On Thu, Feb 10, 2022 at 1:28 PM Antony Stone < Antony.Stone@freeswitch.open.source.it> wrote:
On Thursday 10 February 2022 at 04:42:56, Adiseshu Channasamudhram wrote:
Hello Team
Can someone guide me as to how I can add text with double quotes prepending the P-Asserted-Identity?
P-Asserted-Identity: "Some Text"<P-Asserted-Identity> .......without < and >
I'm not sure that is RFC-compliant, so it may well (a) not be possible, (b) not be recognised by the receiving system:
https://datatracker.ietf.org/doc/html/rfc3325#page-8
Antony.
-- Perfection in design is achieved not when there is nothing left to add, but rather when there is nothing left to take away.
- Antoine de Saint-Exupery
Please reply to the list; please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
participants (4)
-
Adiseshu Channasamudhram
-
Antony Stone
-
Gregor Nanger
-
Sergey Safarov