[asterisk-dev] "Sending Complete" IE status availability ?

Richard Mudgett rmudgett at digium.com
Thu May 24 15:56:03 CDT 2012


>   I would like to ask, whether it is possible to query the "Sending
>   Complete"
> flag status received by the PRI DAHDI channel (in Asterisk 1.8 and
> above).
>   Let's explain better: A SETUP message comes to Asterisk with Called
>   Party
> Number digits = 12345. This message MAY contain the Sending Complete
> IE,
> telling, that no more dialling will come, or MAY NOT contain it, in
> which case
> more digits in the overlap mode can be received.
>   Is there a chance to query the status of the Sending Complete IE
>   presence
> from the dialplan ?

No.  The sending complete flag is not saved and is not made available
to the dialplan.

> Let's imagine that the dialplan contains the _1!
> extension,
> which will be triggered by the above example SETUP message. In the
> extension logic there may be a part which reads more digits in the
> overlap
> mode, but skips the reading in the en-bloc mode (i.e. if the Sending
> Complete
> IE has been received). I didn't find anything relevant on Google, and
> the only
> usage of the flag which I found in sig_pri.c was that presence of
> this
> IE together with zero digits received triggers the "s" extension.

The sending complete flag is used three times.  The first is for the
"s" extension.  The second is in determining what response message to send
(PROCEEDING/ANSWER/SETUP-ACKNOWLEDGE).  The third is to determine if the
pri_ss_thread needs to be started to gather more digits for a dialplan
extension match.

Richard



More information about the asterisk-dev mailing list