[Asterisk-Users] CDR and EXTEN

Arnaud Pignard apignard at frontier.fr
Tue Jul 6 19:14:29 MST 2004


For make outgoing call, i setup 0. However 0 is write in the cdr dst field.
Is there a way to remove it when asterisk send it to cdr_mysql ?

exten => _0X.,1,Dial,SIP/${EXTEN:1}@mygateway

I just want have in cdr dst = ${EXTEN:1}

This don't work :
exten => _0X.,1,SetVar(EXTEN=${EXTEN:1})
exten => _0X.,2,Dial,SIP/${EXTEN}@mygateway

Use another variable still record ${EXTEN}


-- 
Arnaud Pignard (apignard at frontier.fr)
Frontier Online - Opérateur Internet





More information about the asterisk-users mailing list