[Home]

Summary:ASTERISK-08738: Transfer and Variables
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2007-02-06 08:41:06.000-0600Date Closed:2007-02-06 08:56:48.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Transfers
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I a do call or "blindxfer" all ok
if i do "atxfer" variables from sip.conf not use.

Also if i do "blindxfer" - CallerID normal update on phone
if i do "atxfer" - callerid set from my phone (who transfer) and after finish transfer don't update =( On Cisco CallManager all work fine. Sip don't known that feature?

Phones Cisco 7940 SIP v.8.6.0
Thanks.

****** ADDITIONAL INFORMATION ******

in sip.conf

[111]
type=friend
username=111
secret=111
host=dynamic
canreinvite=no

subscribecontext=subscribe-none
context=common-out

;setvar=X_CUSTOM=come-custom-out
setvar=X_OFFICE=out-office
setvar=X_CITY=out-def-city
setvar=X_MOB=out-def-mg
setvar=X_MG=out-def-mg
setvar=X_MN=out-def-mn
;setvar=X_CALLLERID=
;setvar=X_DIAL_ARGS=r
;setvar=X_PRIVATE=yes

in extentions.conf
[macro-common]
exten => s,1,ExecIf($["${X_PRIVATE}" = "yes"],SetCallerPres,prohib)
exten => s,2,ExecIf($["${X_CALLERID}" != ""],Set,CALLERID(all)=<${X_CALLERID}>)
exten => s,3,GotoIf($[$["${ARG1:0:1}" = "0"] & $["${LEN(${ARG1})}" = "2"] & $[$["${ARG1:1:1}" = "1"] | $["${ARG1:1:1}" = "2"] | $["${ARG1:1:1}" = "3"]]]?emergy,${ARG1},1)
exten => s,4,GotoIf($["${X_CUSTOM}" != ""]?${X_CUSTOM},${ARG1},1)
exten => s,5,GotoIf($[$["${X_OFFICE}" != ""] & $["${ARG1:0:1}" = "0"]]?${X_OFFICE},${ARG1},1)
exten => s,6,GotoIf($[$["${X_CITY}" != ""] & $[$["${LEN(${ARG1})}" = "7"] | $["${ARG1:0:4}" = "8499"]]]?${X_CITY},${ARG1},1)
exten => s,7,GotoIf($[$["${X_MN}" != ""] & $["${ARG1:0:3}" = "810"]]?${X_MN},${ARG1},1)
exten => s,8,GotoIf($[$["${X_MOB}" != ""] & $["${ARG1:0:2}" = "89"]]?${X_MOB},${ARG1},1)
exten => s,9,GotoIf($[$["${X_MG}" != ""] & $["${ARG1:0:1}" = "8"] & $["${ARG1:0:2}" != "89"] ]?${X_MG},${ARG1},1)
exten => s,10,Playback(privacy-incorrect)
exten => s,11,Hangup

[common-out]
exten => _X.,1,Macro(common,${EXTEN})

Comments:By: Joshua C. Colp (jcolp) 2007-02-06 08:56:48.000-0600

This is all because you are doing an attended transfer. We currently don't have support to do either of the things you describe.