Open Source Training Seminar FreePBX Paid Support

Ticket #2400 (new Feature Requests)

Opened 1 year ago

Last modified 1 month ago

Transfer context dialplan customization

Reported by: alesz Assigned to: p_lindheimer
Priority: minor Milestone: 3.0
Component: Core - Trunks/Routing Version: 2.3.0
Keywords: blind transfer return call Cc:
Confirmation: Confirmed SVN Revision (if applicable):
Backend Engine: Asterisk 1.4.x Backend Engine Version:

Description

Setting TRANSFER_CONTEXT variable to context from-internal-xfer in extensions_additional.conf by freepbx limits the customization of transfer functionality. Since upgrade from 2.2.x following example (handling of transfered calls that weren't answered) therefore doesn't work:

globals_custom.conf:

TRANSFER_CONTEXT = from-transfer ; this is overridden in extensions_additional.conf

extensions_custom.conf:

[from-transfer]
exten => _X.,1,Dial(Local/${EXTEN}@from-internal/n,50) ; ring extension or trunk for 50s
exten => _X.,n,Goto(s-${DIALSTATUS},1)

exten => s-NOANSWER,1,Goto(ringback,1)
exten => s-CONGESTION,1,Goto(ringback,1)
exten => s-CHANUNAVAIL,1,Goto(ringback,1)
exten => s-BUSY,1,Goto(ringback,1)

exten => ringback,1,AGI(get-exten-from-chan.py,${BLINDTRANSFER}) ; script for converting channel id to extension, eg. "SIP/123-fejwio32" to "123" which is set to variable TRNFEXT
exten => ringback,n,Dial(Local/${TRNFEXT}@from-internal/n)

Possible solutions?

  • include some kind of xfer-custom context so user can customize at his own will (best)
  • allow setting of TRANSFER_CONTEXT (ok)
  • change dial macro (worse)

Change History

11/28/07 00:18:01 changed by p_lindheimer

  • confirmation changed from Unreviewed to Confirmed.
  • milestone changed from 2.4 to 3.0.

07/19/08 00:01:06 changed by p_lindheimer

  • milestone changed from 2.5 to 3.0.

bumping to consider when we look at dial context changes since they will require this to be handled better since any transfer context will need to limited to similar restrictions.

08/02/08 20:19:23 changed by p_lindheimer

  • type changed from Bugs to Feature Requests.
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads