[asterisk-dev] HANGUPCAUSE is not passed over IAX2

Anton anton.vazir at gmail.com
Thu Nov 16 03:55:54 MST 2006


Resolved as follows

Hangup(${HANGUPCAUSE})

Somehow did not note that hangup() may take an argument... 


Regards,
Anton.

On 16 November 2006 11:08, Anton wrote:
> Hi Men!
>
> Anyone know how to get ${HANGUPCAUSE} passed over IAX2?
> I've HANGUPCAUSE=31 on the PRI box, but HANGUPCAUSE=0 on
> the IAX2 dialing side. ASTERISK 1.2.12.1
>
> BOX1 < - (IAX2) - >  BOX2 <-(PRI)-> PSTN
>
> I need to handle HANGUPCAUSE got from BOX2 on BOX1 but i
> have only DIALSTATUS which is not enough.
>
> Any help highly appreciated,
> Anton.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev


More information about the asterisk-dev mailing list