Le 22/01/2013 18:22, Leandro Dardini a écrit :
Can you please post a dialplan excerpt about using these variables. I just tried using them, but they are all empty. Maybe I am making the same mistake of you.

Sure. Don't forget to add option T or t in the dial string.

[from_to-OFFICE]
;
[...]
exten => _X.,n(filterDone),Set(__TRANSFER_CONTEXT=transfer)
exten => _X.,n,NoOp(Value of variables in case of TRANSFER - xBLINDTRANSFER="x${BLINDTRANSFER}" xTRANSFERED_BY="x${TRANSFERED_BY}" xTRANSFER_CONTEXT="x${TRANSFER_CONTEXT}")
[...]

[transfer]

exten => _1[0-36]X,1,NoOp(Value of variables in case of TRANSFER - xBLINDTRANSFER="x${BLINDTRANSFER}" xTRANSFERED_BY="x${TRANSFERED_BY}" xTRANSFER_CONTEXT="x${TRANSFER_CONTEXT}") exten => _1[0-36]X,n,Macro(isExtenAvailable,${EXTEN},) ; test availaibility of endpoint
exten => _1[0-36]X,n,GotoIf($["${EXTENSTATUS}" != "idle"]?announceStatus)
exten => _1[0-36]X,n,Dial(${CALLTECH}/${EXTEN},,rTt) ; Myself
exten => _1[0-36]X,n,Macro(monitor,stop,,${myEmailAddr})
exten => _1[0-36]X,n,Hangup

exten => _1[0-36]X,n(announceStatus),macro(announceStatus,${EXTENSTATUS}) ;endpoint is not available for any reason, back to originate
exten => _1[0-36]X,n,Set(__TRANSFERED_BY=${CUT(BLINDTRANSFER,/,2)})
exten => _1[0-36]X,n,Set(__TRANSFERED_BY=${CUT(TRANSFERED_BY,-,1)})
exten => _1[0-36]X,n,Goto(from_to-OFFICE,${TRANSFERED_BY},filterDone)



2013/1/22 Administrator TOOTAI <ad...@tootai.net <mailto:ad...@tootai.net>>

    Please forget this message, BLINDTRANSFER is working, I had a typo
    in the dialplan when using this variable.

    Apologize

    Le 22/01/2013 10:40, Administrator TOOTAI a écrit :

        Hi,

        I want to check the status of a blind transfer (only sip endpoint)
        between various phones. Transfer is working perfectly, using
        ## from
        features.conf or using transfer key from phone, here SNOM320.

        My problem is that if party to transfer to is busy, the
        transfer fail
        and the call is ended. What I want to do is to return the call
        to the
        party who originate the transfer.

        I checked variable like ${BLINDTRANSFER} ${TRANSFERED_BY} or
        ${TRANSFER_CONTEXT}, they are all empty. What did I miss?

        Thanks for any hints

--
Daniel

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to