[asterisk-bugs] [JIRA] (ASTERISK-28289) Feature: Allow detection of inband progress for outbound channels

Corey Farrell (JIRA) noreply at issues.asterisk.org
Wed Feb 13 10:25:47 CST 2019


Corey Farrell created ASTERISK-28289:
----------------------------------------

             Summary: Feature: Allow detection of inband progress for outbound channels
                 Key: ASTERISK-28289
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28289
             Project: Asterisk
          Issue Type: New Feature
      Security Level: None
          Components: Applications/app_dial
    Affects Versions: 13.25.0, GIT, 16.2.0
            Reporter: Corey Farrell
            Severity: Minor
         Attachments: beep-beep-beep.ulaw

I've created a dialplan function which adds a framehook to detect inband progress tones in pre-media of outbound channels.

My current implementation is a dialplan function which adds the framehook, so dialplan might be as follows:

{{noformat}}
[sit-hook]
exten => s,1,Set(SIT_WATCH()=1)
same => n,Return()

[default]
exten => _X.,1,Dial(${TRUNK}${EXTEN},30,b(sit-hook^s^1))
{{noformat}}

The value set to SIT_WATCH is currently ignored, in the future this might allow specifying which types of tones should be recognized.  So far I've tested using Local channels calling Playtones without answering.  The busy and congestion tones both result in DIALSTATUS=BUSY.  The 'info' tone results in DIALSTATUS=CONGESTION.

I have not been able to test against a "real" busy or fast busy call, I have tested against a call that plays the info tone (beep-beep-beep the number you have dialed is out of service).  This is not detected as CONGESTION.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list