VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mrjoli021 at gmail.com Guest
|
Posted: Wed Dec 15, 2021 10:20 am Post subject: [Freeswitch-users] weird extra characters |
|
|
Hello,
I am running freeswitch 1.10.3. I have several DID's on this system. Some work without any issues, but some somehow get some wierd characters added to the SIP message. I have already verified that there are no extra characters on the number. It appears to be a certain combination that it is happening to. If I change the last number from 1024 to 1023, nothing get added but on 1024 it does. Any suggestions on why this is happening and/or how to fix/patch this?
INVITE sip:933@13.13.13.13 ([email]sip%3A933@13.13.13.13[/email]) SIP/2.0
Via: SIP/2.0/UDP 12.12.12.12:5080;rport;branch=z9hG4bK3FX45c6Sj2Ftc
Max-Forwards: 69
From: "122233331024" <sip:122233331024%E2%80%AC@12.12.12.12>;tag=7KmB96jZD2e8r
To: <sip:933@13.13.13.13 ([email]sip%3A933@13.13.13.13[/email])>
Call-ID: 6d1bafb7-d855-123a-8dbc-129e3056e999
CSeq: 45235314 INVITE
Contact: <sip:gw+668aa3cd-1be2-48a1-9fdd-6d85a405029f@12.12.12.12:5080;transport=udp;gw=668aa3cd-1be2-48a1-9fdd-6d85a405029f>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 297
X-accountcode: 12.12.12.12
X-FS-Support: update_display,send_info
Remote-Party-ID: "122233331024" <sip:122233331024ooo@12.12.12.12>;party=calling;screen=yes;privacy=off
v=0
o=FreeSWITCH 1639556579 1639556580 IN IP4 12.12.12.12
s=FreeSWITCH
c=IN IP4 12.12.12.12
t=0 0
m=audio 21634 RTP/AVP 9 0 8 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20 |
|
Back to top |
|
|
mrjoli021 at gmail.com Guest
|
Posted: Wed Dec 15, 2021 4:38 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
Hello,
I am running freeswitch 1.10.3. I have several DID's on this system. Some work without any issues, but some somehow get some weird characters added to the SIP message. I have already verified that there are no extra characters on the number. It appears to be a certain combination that it is happening to. If I change the last number from 1024 to 1023, nothing get added but on 1024 it does. Any suggestions on why this is happening and/or how to fix/patch this?
INVITE sip:933@13.13.13.13 ([email]sip%3A933@13.13.13.13[/email]) SIP/2.0
Via: SIP/2.0/UDP 12.12.12.12:5080;rport;branch=z9hG4bK3FX45c6Sj2Ftc
Max-Forwards: 69
From: "122233331024" <sip:122233331024%E2%80%AC@12.12.12.12>;tag=7KmB96jZD2e8r
To: <sip:933@13.13.13.13 ([email]sip%3A933@13.13.13.13[/email])>
Call-ID: 6d1bafb7-d855-123a-8dbc-129e3056e999
CSeq: 45235314 INVITE
Contact: <sip:gw+668aa3cd-1be2-48a1-9fdd-6d85a405029f@12.12.12.12:5080;transport=udp;gw=668aa3cd-1be2-48a1-9fdd-6d85a405029f>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 297
X-accountcode: 12.12.12.12
X-FS-Support: update_display,send_info
Remote-Party-ID: "122233331024" <sip:122233331024ooo@12.12.12.12>;party=calling;screen=yes;privacy=off
v=0
o=FreeSWITCH 1639556579 1639556580 IN IP4 12.12.12.12
s=FreeSWITCH
c=IN IP4 12.12.12.12
t=0 0
m=audio 21634 RTP/AVP 9 0 8 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20 |
|
Back to top |
|
|
ryharris at airmail.cc Guest
|
Posted: Wed Dec 15, 2021 7:09 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
Looks like a zero width char got in somewhere
https://codepoints.net/U+202C?lang=en
On 12/15/21 16:29, Joli Martinez wrote:
Quote: | Hello,
I am running freeswitch 1.10.3. I have several DID's on this system. Some work without any issues, but some somehow get some weird characters added to the SIP message. I have already verified that there are no extra characters on the number. It appears to be a certain combination that it is happening to. If I change the last number from 1024 to 1023, nothing get added but on 1024 it does. Any suggestions on why this is happening and/or how to fix/patch this?
INVITE sip:933@13.13.13.13 ([email]sip%3A933@13.13.13.13[/email]) SIP/2.0
Via: SIP/2.0/UDP 12.12.12.12:5080;rport;branch=z9hG4bK3FX45c6Sj2Ftc
Max-Forwards: 69
From: "122233331024" <sip:122233331024%E2%80%AC@12.12.12.12>;tag=7KmB96jZD2e8r
To: <sip:933@13.13.13.13 ([email]sip%3A933@13.13.13.13[/email])>
Call-ID: 6d1bafb7-d855-123a-8dbc-129e3056e999
CSeq: 45235314 INVITE
Contact: <sip:gw+668aa3cd-1be2-48a1-9fdd-6d85a405029f@12.12.12.12:5080;transport=udp;gw=668aa3cd-1be2-48a1-9fdd-6d85a405029f> ([email]sip:gw+668aa3cd-1be2-48a1-9fdd-6d85a405029f@12.12.12.12:5080;transport=udp;gw=668aa3cd-1be2-48a1-9fdd-6d85a405029f[/email])
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 297
X-accountcode: 12.12.12.12
X-FS-Support: update_display,send_info
Remote-Party-ID: "122233331024" <sip:122233331024ooo@12.12.12.12>;party=calling;screen=yes;privacy=off
v=0
o=FreeSWITCH 1639556579 1639556580 IN IP4 12.12.12.12
s=FreeSWITCH
c=IN IP4 12.12.12.12
t=0 0
m=audio 21634 RTP/AVP 9 0 8 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
|
|
|
Back to top |
|
|
freeswitch at jhcloos.com Guest
|
|
Back to top |
|
|
Antony.Stone at freesw... Guest
|
Posted: Thu Dec 16, 2021 4:06 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
On Thursday 16 December 2021 at 20:25:36, James Cloos wrote:
Quote: | Quote: | Quote: | Quote: | Quote: | Quote: | "JM" == Joli Martinez <mrjoli021@gmail.com> writes:
|
|
|
|
| JM> From: "122233331024" <sip:122233331024%E2%80%AC@12.12.12.12
0xE2 0x80 0xAC is the utf-8 sequence for:
U+202C POP DIRECTIONAL FORMATTING
|
Does this help in any way to understand how it managed to get in there,
though?
I know that question sounds potentially confrontational, but it's not intended
as such - it's a literal "does it give us a clue as to what might have
happened so that this was the result?"
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 |
|
Back to top |
|
|
ryharris at airmail.cc Guest
|
Posted: Thu Dec 16, 2021 4:12 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
On 12/16/21 15:21, Antony Stone wrote:
Quote: | On Thursday 16 December 2021 at 20:25:36, James Cloos wrote:
Quote: | Quote: | Quote: | Quote: | Quote: | Quote: | "JM" == Joli Martinez <mrjoli021@gmail.com> writes:
|
|
|
|
| JM> From: "122233331024" <sip:122233331024%E2%80%AC@12.12.12.12
0xE2 0x80 0xAC is the utf-8 sequence for:
U+202C POP DIRECTIONAL FORMATTING
| Does this help in any way to understand how it managed to get in there,
though?
I know that question sounds potentially confrontational, but it's not intended
as such - it's a literal "does it give us a clue as to what might have
happened so that this was the result?"
Antony.
| If it's a Windows machine they were editing with, it's very easy to
accidentally insert unicode control characters with the context menu.
_________________________________________________________________________
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 |
|
Back to top |
|
|
Antony.Stone at freesw... Guest
|
|
Back to top |
|
|
mrjoli021 at gmail.com Guest
|
Posted: Thu Dec 16, 2021 5:39 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
Hello,
This is a Debian 10 box running FusionPBX. There is no windows on this. Polycom phone makes a call and these characters are being added. It only add the characters to a certain combination of numbers. If I change the callerID to be 1023 instead of 1024 it works. Also the polycom does not have the caller id set on the registration. So something is adding it to the outbound leg. I am just trying to get more info on how fix it. Just googling " U+202C POP DIRECTIONAL FORMATTING" does not help much. it is adding it on the sip invite not before, so my application does not have any characters. I have made sure to strip anything before sending it to the Gateway. Could someone please point me in the right direction?
On Thu, Dec 16, 2021 at 4:36 PM Antony Stone <Antony.Stone@freeswitch.open.source.it (Antony.Stone@freeswitch.open.source.it)> wrote:
|
|
Back to top |
|
|
brians at iptel.co Guest
|
Posted: Fri Dec 17, 2021 1:21 am Post subject: [Freeswitch-users] weird extra characters |
|
|
Have you a trace from the leg from the poly?
On Thursday, December 16, 2021, Joli Martinez <mrjoli021@gmail.com (mrjoli021@gmail.com)> wrote:
Quote: | Hello,
This is a Debian 10 box running FusionPBX. There is no windows on this. Polycom phone makes a call and these characters are being added. It only add the characters to a certain combination of numbers. If I change the callerID to be 1023 instead of 1024 it works. Also the polycom does not have the caller id set on the registration. So something is adding it to the outbound leg. I am just trying to get more info on how fix it. Just googling " U+202C POP DIRECTIONAL FORMATTING" does not help much. it is adding it on the sip invite not before, so my application does not have any characters. I have made sure to strip anything before sending it to the Gateway. Could someone please point me in the right direction?
On Thu, Dec 16, 2021 at 4:36 PM Antony Stone <Antony.Stone@freeswitch.open.source.it (Antony.Stone@freeswitch.open.source.it)> wrote:
|
|
|
Back to top |
|
|
dragos at freeswitch.org Guest
|
Posted: Fri Dec 17, 2021 2:38 am Post subject: [Freeswitch-users] weird extra characters |
|
|
It could be a memcpy copying too much. Open a github issue with logs and pcaps.
On Fri, Dec 17, 2021 at 8:03 AM Brian : <brians@iptel.co (brians@iptel.co)> wrote:
|
|
Back to top |
|
|
lists at telium.io Guest
|
Posted: Fri Dec 17, 2021 11:45 am Post subject: [Freeswitch-users] weird extra characters |
|
|
If you do a packet capture, are these characters really coming from the Polycom, or is freeswitch adding them on the incoming session? (Showing in the SDP)
I missed first part of discussion – but interested
From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Joli Martinez
Sent: Thursday, December 16, 2021 5:14 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] weird extra characters
Hello,
This is a Debian 10 box running FusionPBX. There is no windows on this. Polycom phone makes a call and these characters are being added. It only add the characters to a certain combination of numbers. If I change the callerID to be 1023 instead of 1024 it works. Also the polycom does not have the caller id set on the registration. So something is adding it to the outbound leg. I am just trying to get more info on how fix it. Just googling " U+202C POP DIRECTIONAL FORMATTING" does not help much. it is adding it on the sip invite not before, so my application does not have any characters. I have made sure to strip anything before sending it to the Gateway. Could someone please point me in the right direction?
On Thu, Dec 16, 2021 at 4:36 PM Antony Stone <Antony.Stone@freeswitch.open.source.it (Antony.Stone@freeswitch.open.source.it)> wrote:
|
|
Back to top |
|
|
mrjoli021 at gmail.com Guest
|
Posted: Fri Dec 17, 2021 12:47 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
Hello,
I am doing a pcap on the inbound and outbound leg. The pcaps shows that the characters are not being added until it sends the invite out it's Gateway. Before then the pcap does not show any anomalies. Somehow on the invite to the carrier the characters are being added not before. I again have made sure this is the case. I wrote a Lua script that would strip out any characters before, after and in between the called number. And this script is run right before sending the call out. I know how to control the call prior to it hitting the GW, what I don't know how to do is modify the invite this far along in the call.
On Fri, Dec 17, 2021 at 11:48 AM TTT <lists@telium.io (lists@telium.io)> wrote:
|
|
Back to top |
|
|
lists at telium.io Guest
|
Posted: Fri Dec 17, 2021 1:17 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
It seems my helpful post was delayed by a day…so ignore it now. For some reason my posts are very slow to reach the list.
From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of TTT
Sent: Thursday, December 16, 2021 5:55 PM
To: 'FreeSWITCH Users Help' <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] weird extra characters
If you do a packet capture, are these characters really coming from the Polycom, or is freeswitch adding them on the incoming session? (Showing in the SDP)
I missed first part of discussion – but interested
From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Joli Martinez
Sent: Thursday, December 16, 2021 5:14 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Subject: Re: [Freeswitch-users] weird extra characters
Hello,
This is a Debian 10 box running FusionPBX. There is no windows on this. Polycom phone makes a call and these characters are being added. It only add the characters to a certain combination of numbers. If I change the callerID to be 1023 instead of 1024 it works. Also the polycom does not have the caller id set on the registration. So something is adding it to the outbound leg. I am just trying to get more info on how fix it. Just googling " U+202C POP DIRECTIONAL FORMATTING" does not help much. it is adding it on the sip invite not before, so my application does not have any characters. I have made sure to strip anything before sending it to the Gateway. Could someone please point me in the right direction?
On Thu, Dec 16, 2021 at 4:36 PM Antony Stone <Antony.Stone@freeswitch.open.source.it (Antony.Stone@freeswitch.open.source.it)> wrote:
|
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Fri Dec 17, 2021 2:09 pm Post subject: [Freeswitch-users] weird extra characters |
|
|
turn on sofia debug and sofia global siptrace, and get a pcap and open a bug including the above data so someone can evaluate it
Sent from my iPhone
Quote: | On Dec 17, 2021, at 11:17, Joli Martinez <mrjoli021@gmail.com> wrote:
Hello,
I am doing a pcap on the inbound and outbound leg. The pcaps shows that the characters are not being added until it sends the invite out it's Gateway. Before then the pcap does not show any anomalies. Somehow on the invite to the carrier the characters are being added not before. I again have made sure this is the case. I wrote a Lua script that would strip out any characters before, after and in between the called number. And this script is run right before sending the call out. I know how to control the call prior to it hitting the GW, what I don't know how to do is modify the invite this far along in the call.
On Fri, Dec 17, 2021 at 11:48 AM TTT <lists@telium.io (lists@telium.io)> wrote:
_________________________________________________________________________
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
|
|
|
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
|