Open Source Training Seminar FreePBX Paid Support

Ticket #1323 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

Putting format <1234> within display name breaks internal callerid

Reported by: p_lindheimer Assigned to:
Priority: crash Milestone: 2.2
Component: Core Version: 2.2beta2
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

This bug is in 2.1, 2.2 (and probably everywhere)

if you put in an entry into the display name like:

Joe Smith <5551231234> or any other insertion of <NNNN> then this is used in place of the properly generated extension number for callerid. We should NOT allow (and remove any) <> within this field with a java script as well as in the code.

Change History

11/10/06 15:14:44 changed by p_lindheimer

More details and discussion with groogs:

Scenario you may want to do this:

user is part of a team (e.g. tech support) and WANTS their internal outbound callerid spoofed to be a support ringgroup or queue.

Questions:

would this break other stuff (other than trivial things like direct dial voicemail not working)?

ISSUE REMAINS:

In either case, the following is a bug and SHOULD be handled properly depending on what we decided is correct behavior:

Extension: 200 Display Name: Help Desk <611>

Results in sip_additional.conf (and in database):

Help Desk <611> <200>

This is an undefined callerid format. It is currently handled gracefully by asterisk by using the <611> as the CALLERID(number) but that may not always be the case. If we choose to allow this, then the <200> should go away. If not, we should block it with the javascript as well as cleanse it in the code if it gets through.

If we choose to allow it, we should still pop up a warning ('are you sure you want this?') and in either case, we should modify the fly over help to be more explicit since right now it is a bit ambiguous.

11/13/06 07:16:46 changed by robr

this also breaks recordings made via SIP extension. see bug 1303

11/13/06 10:01:41 changed by p_lindheimer

  • priority changed from minor to crash.
  • version changed from SVN-HEAD to 2.2beta2.
  • milestone set to 2.2.

OK - I'm moving this to 2.2 and marking it as crash as it is the cause of modules like Recordings crashing. Putting a Display Name with <XXX> is breaking features like music on hold downloads and probably other stuff. This needs to be fixed in 2.1 and 2.2. We simply can not allow the <> or alternatively, we need to remove them or replace them with something that won't make it look like a caller id. (maybe simple replace < with ( and > with ) in the backend and modify the java script to tell them they can't put in <> as well as modify the fly over help which is misleading as it tells them this is the callerid which many people think should have the <>

11/13/06 16:18:47 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

fixed in r3064 and r3065. If you put in a number like <xxx> it will be silently replaced with (xxx) in the display name so cid is not broken. (should probably add a javascript to not allow the other format if someone feels like it).

01/08/07 11:46:44 changed by

  • milestone deleted.

Milestone 2.2 deleted

01/08/07 12:44:41 changed by vgster

  • milestone set to 2.2.
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads