[Asterisk-Dev] IAX2 Frame_Text to send Hangup Cause
reseaux
reseauxit at yahoo.it
Fri Dec 10 02:57:12 MST 2004
Dear Tilghman
many thanks for your patch i will try it now on my two Box.. I will report
how it work!!
Sincerely
Dimitri
On Thursday 09 December 2004 18:37, Tilghman Lesher wrote:
> On Thursday 09 December 2004 05:38, reseaux wrote:
> > Dear List
> > i have post yestarday a mail where i can try to explain my problem of
> > interconnect two * box and receive the Hangup Cause from the * end point
> > (TDM PRI), after some test i see that i cant receive the right Cause ID,
> > i have look inside the Iax2.c but im not a c developer so i decide to try
> > the SendTEXT application but without lucky because i cant receive the
> > Text from the Source * box. Example:
> >
> > A Server (source Call)
> > [extension.conf]
> > exten=>_X.,1,Dial(IAX2/test:test at bserver/${EXTEN}
> > exten=>_X.,2,Hangup
> >
> > B Server (Termination Call)
> > [extension.conf]
> > exten=>_X.,1,Dial(Zap/g0)
> > exten=>_X.,2,SendTEXT(${HANGUPCAUSE})
> > exten =>_X.,3,Hangup
> >
> > After sending the Text how can "Client" is able to receive?
>
> Maybe something simple like this? (see attached patch)
>
> You'd just have to modify your sendtext to something like
> SendText(hangupcause=${HANGUPCAUSE}), which leaves more room
> for future sending of messages in this way.
More information about the asterisk-dev
mailing list