Asterisk cmd SrxDeflect

Synopsis

The SrxDeflect and SrxReroute commands are for use with Sirrix ISDN channels. It deflects a call on the calling 'Srx' channel to the given number (using ISDN Call Deflection, CD or ISDN Call Rerouteing, CR). This only works if the call is coming in on a Sirrix TE-group and the Call Deflection / Call Rerouteing facility has been subscribed.

Description

SrxDeflect(number[|pres_allowed])
SrxReroute(number[|pres_allowed])

Parameters:
  • number: ISDN destination number
  • pres_allowed: allow presentation of number? (German T-Com does ignore this setting, you can omit it)
    • 0: not allowed
    • 1: allowed

Always returns 0 immediately.

Examples

SrxDeflect(012349876)
SrxDeflect(012349876|1)

Usage

in extensions.conf

exten => 1234,1,SrxDeflect(01721234567) ; first, try to redirect the call in the public exchange ..
exten => 1234,2,Wait(2) ; wait for 2 seconds: public exchange should hangup the call if redirect was successful
exten => 1234,3,Progress ; if not hung up, do the redirection by ourself and inform calling party about that
exten => 1234,4,Dial(Srx/gOut/01721234567) ; now call the destination on Sirrix group "Out"


Note

On ISDN basic access port of German T-Com, you need to use
  • SrxDeflect on Mehrgeraete-Anschluessen (PtMP)
  • SrxReroute on Anlagen-Anschluessen (PtP)

See Also



Asterisk | Configuration | The Dialplan - extensions.conf | Dialplan Commands

Synopsis

The SrxDeflect and SrxReroute commands are for use with Sirrix ISDN channels. It deflects a call on the calling 'Srx' channel to the given number (using ISDN Call Deflection, CD or ISDN Call Rerouteing, CR). This only works if the call is coming in on a Sirrix TE-group and the Call Deflection / Call Rerouteing facility has been subscribed.

Description

SrxDeflect(number[|pres_allowed])
SrxReroute(number[|pres_allowed])

Parameters:
  • number: ISDN destination number
  • pres_allowed: allow presentation of number? (German T-Com does ignore this setting, you can omit it)
    • 0: not allowed
    • 1: allowed

Always returns 0 immediately.

Examples

SrxDeflect(012349876)
SrxDeflect(012349876|1)

Usage

in extensions.conf

exten => 1234,1,SrxDeflect(01721234567) ; first, try to redirect the call in the public exchange ..
exten => 1234,2,Wait(2) ; wait for 2 seconds: public exchange should hangup the call if redirect was successful
exten => 1234,3,Progress ; if not hung up, do the redirection by ourself and inform calling party about that
exten => 1234,4,Dial(Srx/gOut/01721234567) ; now call the destination on Sirrix group "Out"


Note

On ISDN basic access port of German T-Com, you need to use
  • SrxDeflect on Mehrgeraete-Anschluessen (PtMP)
  • SrxReroute on Anlagen-Anschluessen (PtP)

See Also



Asterisk | Configuration | The Dialplan - extensions.conf | Dialplan Commands
Created by: sirrix, Last modification: Thu 04 of Aug, 2005 (13:14 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+