Le 15/04/2012 20:51, Olivier CALVANO a écrit :
Hi
Thanks for your help but i don't know this variable: $CALLID[1-4]
it's correct:
exten => _x,2,AGI(MyScript.agi,${$CALLID[1-4]})
$CALLID1 $CALLID2 $CALLID3 $CALLID4
[...]
Le 15 avril 2012 12:55, Administrator TOOTAI<[email protected]> a écrit :
Le 15/04/2012 10:44, Olivier CALVANO a écrit :
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 ?
exten => _x,3,Dial(IAX2/Srv2/${EXTEN}/USRSIP001,180,rt)
you should get the value in $CALLID[1-4] on the second server.
--
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
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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