Damon Estep
2006-Jan-30 23:20 UTC
[Asterisk-Users] dialing 2 channels at the same timewithdifferent caller ID number?
>Exten => _NXXNXXXXXX,2,Set(__ORIGCID=CALLERID(number)) >exten =>_NXXNXXXXXX,2,dial(sip/${EXTEN}&local/${cellphone}@alternate1/n,r}> >[alternate1] > >exten => _NXXNXXXXXX,1,macro(alternate-number|${__ORIGCID}) > >[macro-alternate-number] > >exten => s,1,set(CALLERID(number)=${ARG1}) >exten => s,2,dial(SIP/${MACRO_EXTEN}@peer)This sets _ORIGCID = CALLERID(number), I think you meant Set(_ORIGCID=${EXTEN}) ?? I will give it a try.