Asterisk config sirrix.conf Dialplan-Applications

Dialplan-Applications



SrxEchoCan(enable)
Enables or disables the ECHO cancellation on the calling 'Srx' channel. Should be called before placing an outgoing call.

enable

0: disable echo cancellation

1: enable echo cancellation

  • Example:
exten => _X.,1,SrxEchoCan(0)



SrxDeflect(number[|pres_allowed])
Deflect call on the calling 'Srx' channel to the given number (using ISDN "Call Deflection" protocol, CD)

number
ISDN destination number

pres_allowed
allow presentation of number?

0: not allowed

1: allowed

  • Always returns 0 immediately.
  • On ISDN basic access port of German T-Com, you need to use
    • "SrxDeflect" on "Mehrgeraete-Anschluessen" (PtMP)
    • "SrxReroute" on "Anlagen-Anschluessen" (PtP)
  • Example:
exten => _X.,1,SrxDeflect(012349876) ; PtMP (Mehrgeraete-Anschluss)
exten => _X.,2,Wait(1)
exten => _X.,3,Dial(Srx/gOut/012349876)



SrxReroute(number[|pres_allowed])
Reroute call on the calling 'Srx' channel to the given number (using ISDN "Call Rerouteing" protocol, CR), cf. SrxDeflect.

  • On ISDN basic access port of German T-Com, you need to use
    • "SrxDeflect" on "Mehrgeraete-Anschluessen" (PtMP)
    • "SrxReroute" on "Anlagen-Anschluessen" (PtP)
  • Example:
exten => _X.,1,SrxReroute(012349876) ; PtP (Anlagen-Anschluss)
exten => _X.,2,Wait(1)
exten => _X.,3,Dial(Srx/gOut/012349876)



SrxMWI(group[/[digits_to_append][/number_to_set]]|sender_number|msg_count)
Set / unset Message Waiting Indication on a Srx-group

group
name of a Srx-group including the preceding 'g'

digits_to_append
digits that shall be appended to the group's number (if group's number ends with "+")

number_to_set
number to overwrite group's number with

sender_number
extension of sender

msg_count
number of waiting messages (0 disables MWI)

  • Always returns 0
  • Examples:
exten => _X.,1,SrxMWI(gInternal//1234|4711|1)
OR
exten => _X.,1,SrxMWI(gInternal/34|4712|0)




See Also


Previous: Example of a sirrix.conf
Next: Asterisk CLI commands
Index: Asterisk Sirrix ISDN channels

Dialplan-Applications



SrxEchoCan(enable)
Enables or disables the ECHO cancellation on the calling 'Srx' channel. Should be called before placing an outgoing call.

enable

0: disable echo cancellation

1: enable echo cancellation

  • Example:
exten => _X.,1,SrxEchoCan(0)



SrxDeflect(number[|pres_allowed])
Deflect call on the calling 'Srx' channel to the given number (using ISDN "Call Deflection" protocol, CD)

number
ISDN destination number

pres_allowed
allow presentation of number?

0: not allowed

1: allowed

  • Always returns 0 immediately.
  • On ISDN basic access port of German T-Com, you need to use
    • "SrxDeflect" on "Mehrgeraete-Anschluessen" (PtMP)
    • "SrxReroute" on "Anlagen-Anschluessen" (PtP)
  • Example:
exten => _X.,1,SrxDeflect(012349876) ; PtMP (Mehrgeraete-Anschluss)
exten => _X.,2,Wait(1)
exten => _X.,3,Dial(Srx/gOut/012349876)



SrxReroute(number[|pres_allowed])
Reroute call on the calling 'Srx' channel to the given number (using ISDN "Call Rerouteing" protocol, CR), cf. SrxDeflect.

  • On ISDN basic access port of German T-Com, you need to use
    • "SrxDeflect" on "Mehrgeraete-Anschluessen" (PtMP)
    • "SrxReroute" on "Anlagen-Anschluessen" (PtP)
  • Example:
exten => _X.,1,SrxReroute(012349876) ; PtP (Anlagen-Anschluss)
exten => _X.,2,Wait(1)
exten => _X.,3,Dial(Srx/gOut/012349876)



SrxMWI(group[/[digits_to_append][/number_to_set]]|sender_number|msg_count)
Set / unset Message Waiting Indication on a Srx-group

group
name of a Srx-group including the preceding 'g'

digits_to_append
digits that shall be appended to the group's number (if group's number ends with "+")

number_to_set
number to overwrite group's number with

sender_number
extension of sender

msg_count
number of waiting messages (0 disables MWI)

  • Always returns 0
  • Examples:
exten => _X.,1,SrxMWI(gInternal//1234|4711|1)
OR
exten => _X.,1,SrxMWI(gInternal/34|4712|0)




See Also


Previous: Example of a sirrix.conf
Next: Asterisk CLI commands
Index: Asterisk Sirrix ISDN channels

Created by: sirrix, Last modification: Fri 05 of Nov, 2010 (22:35 UTC) by admin
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+