[asterisk-dev] Fwd: [svn-commits] kmoore: trunk r370851 - /trunk/main/channel.c

Olle E. Johansson oej at edvina.net
Tue Aug 7 13:32:09 CDT 2012


Isn't this a candidate for more versions than trunk?

/O

Vidarebefordrat brev:

> Från: SVN commits to the Digium repositories <svn-commits at lists.digium.com>
> Ämne: [svn-commits] kmoore: trunk r370851 - /trunk/main/channel.c
> Datum: 7 augusti 2012 20:22:00 CEST
> Till: asterisk-commits at lists.digium.com, svn-commits at lists.digium.com
> 
> Author: kmoore
> Date: Tue Aug  7 13:21:56 2012
> New Revision: 370851
> 
> URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370851
> Log:
> Add missing AST_CAUSE_* -> text translations
> 
> A few of these were missing from the list and are necessary for the Who
> Hung Up? functionality.
> 
> Modified:
>    trunk/main/channel.c
> 
> Modified: trunk/main/channel.c
> URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=370851&r1=370850&r2=370851
> ==============================================================================
> --- trunk/main/channel.c (original)
> +++ trunk/main/channel.c Tue Aug  7 13:21:56 2012
> @@ -159,17 +159,24 @@
> 	const char *name;
> 	const char *desc;
> } causes[] = {
> +	{ AST_CAUSE_NOTDEFINED, "NOTDEFINED", "Cause not defined" },
> 	{ AST_CAUSE_UNALLOCATED, "UNALLOCATED", "Unallocated (unassigned) number" },
> 	{ AST_CAUSE_NO_ROUTE_TRANSIT_NET, "NO_ROUTE_TRANSIT_NET", "No route to specified transmit network" },
> 	{ AST_CAUSE_NO_ROUTE_DESTINATION, "NO_ROUTE_DESTINATION", "No route to destination" },
> +	{ AST_CAUSE_MISDIALLED_TRUNK_PREFIX, "MISDIALLED_TRUNK_PREFIX", "Misdialed trunk prefix" },
> 	{ AST_CAUSE_CHANNEL_UNACCEPTABLE, "CHANNEL_UNACCEPTABLE", "Channel unacceptable" },
> 	{ AST_CAUSE_CALL_AWARDED_DELIVERED, "CALL_AWARDED_DELIVERED", "Call awarded and being delivered in an established channel" },
> +	{ AST_CAUSE_PRE_EMPTED, "PRE_EMPTED", "Pre-empted" },
> +	{ AST_CAUSE_NUMBER_PORTED_NOT_HERE, "NUMBER_PORTED_NOT_HERE", "Number ported elsewhere" },
> 	{ AST_CAUSE_NORMAL_CLEARING, "NORMAL_CLEARING", "Normal Clearing" },
> 	{ AST_CAUSE_USER_BUSY, "USER_BUSY", "User busy" },
> 	{ AST_CAUSE_NO_USER_RESPONSE, "NO_USER_RESPONSE", "No user responding" },
> 	{ AST_CAUSE_NO_ANSWER, "NO_ANSWER", "User alerting, no answer" },
> +	{ AST_CAUSE_SUBSCRIBER_ABSENT, "SUBSCRIBER_ABSENT", "Subscriber absent" },
> 	{ AST_CAUSE_CALL_REJECTED, "CALL_REJECTED", "Call Rejected" },
> 	{ AST_CAUSE_NUMBER_CHANGED, "NUMBER_CHANGED", "Number changed" },
> +	{ AST_CAUSE_REDIRECTED_TO_NEW_DESTINATION, "REDIRECTED_TO_NEW_DESTINATION", "Redirected to new destination" },
> +	{ AST_CAUSE_ANSWERED_ELSEWHERE, "ANSWERED_ELSEWHERE", "Answered elsewhere" },
> 	{ AST_CAUSE_DESTINATION_OUT_OF_ORDER, "DESTINATION_OUT_OF_ORDER", "Destination out of order" },
> 	{ AST_CAUSE_INVALID_NUMBER_FORMAT, "INVALID_NUMBER_FORMAT", "Invalid number format" },
> 	{ AST_CAUSE_FACILITY_REJECTED, "FACILITY_REJECTED", "Facility rejected" },
> @@ -181,7 +188,6 @@
> 	{ AST_CAUSE_SWITCH_CONGESTION, "SWITCH_CONGESTION", "Switching equipment congestion" },
> 	{ AST_CAUSE_ACCESS_INFO_DISCARDED, "ACCESS_INFO_DISCARDED", "Access information discarded" },
> 	{ AST_CAUSE_REQUESTED_CHAN_UNAVAIL, "REQUESTED_CHAN_UNAVAIL", "Requested channel not available" },
> -	{ AST_CAUSE_PRE_EMPTED, "PRE_EMPTED", "Pre-empted" },
> 	{ AST_CAUSE_FACILITY_NOT_SUBSCRIBED, "FACILITY_NOT_SUBSCRIBED", "Facility not subscribed" },
> 	{ AST_CAUSE_OUTGOING_CALL_BARRED, "OUTGOING_CALL_BARRED", "Outgoing call barred" },
> 	{ AST_CAUSE_INCOMING_CALL_BARRED, "INCOMING_CALL_BARRED", "Incoming call barred" },
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> svn-commits mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/svn-commits

---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the asterisk-dev mailing list