[asterisk-bugs] [JIRA] (PRI-168) Alternative Mode of Sending PRI Cause Codes
armeniki (JIRA)
noreply at issues.asterisk.org
Thu Apr 24 21:46:18 CDT 2014
[ https://issues.asterisk.org/jira/browse/PRI-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
armeniki updated PRI-168:
-------------------------
Description:
Hi everyone,
As you know, currently when the Hangup() command is used in the Asterisk dial plan, it will tear down both the far and and near end of the call and audio amongst other things. In addition, there is a way of indicating the PRI Cause Code to the user by entering the code within the parenthesis ie: Hangup(1) or Hangup(16), etc.
Here is the issue: We have a PBX connected to an E1/PRI from the Telco. This is a production system and does not use Asterisk. On this system, whenever someone dials a number which is busy, for example, the phone's display will show the standard PRI message "user busy" and the user will hear an engaged signal (busy signal). Likewise, if a wrong number is dialled, the display will show "unallocated num" and another tone or message will be heard.... and so on.
Currently, we're doing tests on the same type of system connected to Asterisk via an E1/PRI and have found that this does not happen. Basically, if the user dials a busy number, they will hear a busy signal but they won't see the "user busy" message. Alternatively, if we change the extension script a bit, we can issue a Hangup(17) to make the phone show "user busy" but then there's no way to play the busy signal because the phone/channel hangs up.
SO....
Would it be possible to perhaps create a new function called "SendPRICause()" (kind of like the SendText function for SIP phones) so that we can use that instead of Hangup()?
An example of its usage could be:
exten => i,1,Progress()
exten => i,1,SendPRICause(22)
exten => i,n,Playback(/var/lib/asterisk/sounds/tel/sorry-number-changed,noanswer)
exten => i,n,Hangup()
--------------------------
Cheers,
Armen
was:
Hi everyone,
As you know, currently when the Hangup() command is used in the Asterisk dial plan, it will tear down both the far and and near end of the call and audio amongst other things. In addition, there is a way of indicating the PRI Cause Code to the user by entering the code within the parenthesis ie: Hangup(1) or Hangup(16), etc.
Here is the issue: We have a PBX connected to an E1/PRI from the Telco. This is a production system and does not use Asterisk. On this system, whenever someone dials a number which is busy, for example, the phone's display will show the standard PRI message "user busy" and the user will hear an engaged signal (busy signal). Likewise, if a wrong number is dialled, the display will show "unallocated num" and another tone or message will be heard.... and so on.
Currently, we're doing tests on the same type of system connected to Asterisk via an E1/PRI and have found that this does not happen. Basically, if the user dials a busy number, they will hear a busy signal but they won't see the "user busy" message. Alternatively, if we change the extension script a bit, we can issue a Hangup(17) to make the phone show "user busy" but then there's no way to play the busy signal because the phone/channel hangs up.
SO....
Would it be possible to perhaps create a new function called "SendPRICause(x)" (kind of like the SendText function for SIP phones) so that we can use that instead of Hangup(x)?
An example of its usage could be:
exten => i,1,Progress()
exten => i,1,SendPRICause(22)
exten => i,n,Playback(/var/lib/asterisk/sounds/tel/sorry-number-changed,noanswer)
exten => i,n,Hangup()
--------------------------
Cheers,
Armen
> Alternative Mode of Sending PRI Cause Codes
> -------------------------------------------
>
> Key: PRI-168
> URL: https://issues.asterisk.org/jira/browse/PRI-168
> Project: LibPRI
> Issue Type: New Feature
> Security Level: None
> Affects Versions: 1.4.13
> Reporter: armeniki
> Assignee: Richard Mudgett
> Severity: Minor
>
> Hi everyone,
> As you know, currently when the Hangup() command is used in the Asterisk dial plan, it will tear down both the far and and near end of the call and audio amongst other things. In addition, there is a way of indicating the PRI Cause Code to the user by entering the code within the parenthesis ie: Hangup(1) or Hangup(16), etc.
> Here is the issue: We have a PBX connected to an E1/PRI from the Telco. This is a production system and does not use Asterisk. On this system, whenever someone dials a number which is busy, for example, the phone's display will show the standard PRI message "user busy" and the user will hear an engaged signal (busy signal). Likewise, if a wrong number is dialled, the display will show "unallocated num" and another tone or message will be heard.... and so on.
> Currently, we're doing tests on the same type of system connected to Asterisk via an E1/PRI and have found that this does not happen. Basically, if the user dials a busy number, they will hear a busy signal but they won't see the "user busy" message. Alternatively, if we change the extension script a bit, we can issue a Hangup(17) to make the phone show "user busy" but then there's no way to play the busy signal because the phone/channel hangs up.
> SO....
> Would it be possible to perhaps create a new function called "SendPRICause()" (kind of like the SendText function for SIP phones) so that we can use that instead of Hangup()?
> An example of its usage could be:
> exten => i,1,Progress()
> exten => i,1,SendPRICause(22)
> exten => i,n,Playback(/var/lib/asterisk/sounds/tel/sorry-number-changed,noanswer)
> exten => i,n,Hangup()
> --------------------------
> Cheers,
> Armen
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list