[asterisk-users] Set variables from one asterisk ta a second.

Olivier CALVANO o.calvano at gmail.com
Sun Apr 15 03:44:58 CDT 2012


Hi

actually, i have a asterisk server with all SIP Account.

this Asterisk server sent all outgoing call to a second Asterisk
server (and this asterisk sent to the
telco)

On the first Asterisk, i use:

        exten => _x,1,Set(CDR(CodeTier)=BUS-FRAMOBI)
        exten => _x,2,Set(CALLERID(num)=${CALLERIDNUM})
        exten => _x,3,Dial(IAX2/Srv2/${EXTEN},180,rt)
        exten => _x,4,Hangup


i have SIP user: USRSIP001
(user sip is in realtime)
he use this name with a password

i want that the first server sent to the second into a variable the "USRSIP001"
for get it into a AGI script.

It's possible ?

thanks for your help

Olivier



More information about the asterisk-users mailing list