At 8:17 AM -0700 on 4/10/04, TC wrote:
Keywords
T1 Q.931  isdn disconnect cause codes itu standard libpri

Dont know if anyone wondered what q.931 cause codes are
but i wishwe could get these back into the dial plan as a var

Standard Q931 Codes

Decimal Value Hexadecimal Value
Definition

1 01 Unallocated (unassigned) number.
This number is not in the routing table or it has no path
across the ISDN cloud (network).
1. Check routing table to see it the number is available.
2. Check to make sure the correct digits were dialed and it is a valid
number.
[giant list of q.931 causes snipped]

I believe this is available to the dialplan in $HANGUPCAUSE, but in crippled form. It only returns a small sub-set of q.931 return codes, and I am uncertain of their exact mapping to q.931:

http://www.voip-info.org/tiki-index.php?page=Asterisk+variable+hangupcause

I would like to see a more extensive list, since within the dialplan or AGI there are alternate things I can do with different result codes. This would require a more formal and standardized mapping of Q.931 (or ISUP) codes to SIP return codes and vice versa. A bit of rummaging around in my memory banks produces (voila!) an RFC that specifies exactly that translation mapping:

http://www.ietf.org/rfc/rfc3398.txt

If someone would like to make a feature request out of this on the bugs.digium.com system, feel free. I'm entirely too swamped right now to take on yet another thread of new features to track.

JT

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to