Open Source Training Seminar FreePBX Paid Support

Ticket #597 (closed Feature Requests: wontfix)

Opened 3 years ago

Last modified 2 years ago

When dial string ends with #, strip the # character

Reported by: anonymous Assigned to:
Priority: minor Milestone: 2.1
Component: Core Version: next release
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

There are certain VoIP adapters (notably those by Leadtek) that do not recognize the # key as a quick termination character for a dial string. Or to put it another way, it's possible to construct a dial plan entry that looks for a # at the end of the line, BUT the # still gets passed to asterisk, so (just as an example) in the CLI you see something like this:

-- Executing Macro("SIP/282-79a1", "dialout-trunk|6|*60%23") in new stack

And instead of going to *60 (the time) it tries to find a trunk that will accept this four character long string, *60#. So I suggest that when a number is dialed from an extension, any trailing # characters be stripped before any further processing occurs.

Change History

04/10/06 16:04:34 changed by wozto1s

This would mean that # could not then be used in dial plans?

04/16/06 06:00:49 changed by RobThomas

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

I can't think of any specifics, but I think that being able to dial a number that ends with a '#' is a good idea. If you _really_ don't want to, you can do something like this, in extensions_custom.conf:

[from-internal-custom] exten => _.#,1,Goto(from-internal,$(EXTEN:0:$[${LEN(${EXTEN})} - 1 ],1)

That'll strip off the last character if it's a #

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

  • milestone deleted.

Milestone 2.1 deleted

01/08/07 13:32:01 changed by vgster

  • milestone set to 2.1.
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads