[Asterisk-Users] dialing 2 channels at the same timewithdifferent caller ID number?

Damon Estep damon at suburbanbroadband.net
Mon Jan 30 23:20:07 MST 2006


>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.




More information about the asterisk-users mailing list