Em Andamento

Interpret Asterisk dial plan

I have been given some code that is supposed to implement certain features.

I am a novice with Asterisk and I do not know what to do with it.

Here is the code

Please tell me which conf files it should be added to

[globals]

;USER 1

CIDSEND1=1xxxyyy1234

CELLNUMBER1=1aaazzz5678

VMAIL1=5678

USETRUNK1=trunk name

HOWLONG1=20

MOHCLASS1=acc_1

;USER 2

CIDSEND2=1xxxyyy1234

CELLNUMBER2=1aaazzz9999

VMAIL2=9999

USETRUNK2=trunk name

HOWLONG2=20

MOHCLASS2=acc_1

;USER 3

CIDSEND3=1xxxyyy1234

CELLNUMBER3=1aaazzz3333

VMAIL3=3333

USETRUNK3=trunk name

HOWLONG3=20

MOHCLASS3=acc_1

[macro-callMyCell1]

;USER 1

exten => s,1,Answer

exten => s,2,Wait(1)

exten => s,3,SetGlobalVar(IDEE=${CALLERID(num)})

exten => s,4,Set(CALLERID(num)=${CIDSEND1})

exten => s,5,Dial(sip/${CELLNUMBER1}@${USETRUNK1},${HOWLONG1},m(${MOHCLASS1})M(sayit))

exten => s,6,Voicemail(${VMAIL1})

exten => s,7,Hangup

[macro-callMyCell2]

;USER 2

exten => s,1,Answer

exten => s,2,Wait(1)

exten => s,3,SetGlobalVar(IDEE=${CALLERID(num)})

exten => s,4,Set(CALLERID(num)=${CIDSEND2})

exten => s,5,Dial(sip/${CELLNUMBER2}@${USETRUNK2},${HOWLONG2},m(${MOHCLASS2})M(sayit))

exten => s,6,Voicemail(${VMAIL2})

exten => s,7,Hangup

[macro-callMyCell2]

;USER 3

exten => s,1,Answer

exten => s,2,Wait(1)

exten => s,3,SetGlobalVar(IDEE=${CALLERID(num)})

exten => s,4,Set(CALLERID(num)=${CIDSEND3})

exten => s,5,Dial(sip/${CELLNUMBER3}@${USETRUNK3},${HOWLONG3},m(${MOHCLASS3})M(sayit))

exten => s,6,Voicemail(${VMAIL3})

exten => s,7,Hangup

[macro-sayit]

exten => s,1,SayDigits(${IDEE})

Habilidades: Linux

Ver mais: dial plan maker, asterisk dial macro, asterisk macro, asterisk dialplan callerid, exten dial, asterisk dial plans, asterisk dial trunk, asterisk dial set callerid, asterisk dial plan, asterisk dial, asterisk dial plan creator, novice to, novice novice, dial a code, sip answer wait, asterisk voicemail dialplan macro, asterisk dialplan saydigit, asterisk dialplan voicemail, exten dial asterisk, setcallerid asterisk, asterisk dial plan sip response code, asterisk dialplan hangup macros, asterisk interpret callerid, dialplan asterisk set callerid dial answer hangup, macro con dial asterisk

Acerca do Empregador:
( 0 comentários ) Springfield, United States

ID do Projeto: #148421