Upgrade 3CX to v18 and get it hosted free!

Asterisk cmd SrxDeflect

Author image

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


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.