exten => _50.,1,SetVar(ENUMEXTEN=49${EXTEN:2})
exten => _50.,2,SetVar(ENUMDNS=ns.portunity.de)
exten => _50.,3,SetVar(ENUMSEPARATETEL=FALSE)
exten => _50.,4,agi,enumlookup.agi
exten => _50.,5,GotoIf($[${ENUMENTRIES}]?6:51)
exten => _50.,6,SetVar(EINTRAG=1)
exten => _50.,7,Goto(11)
exten => _50.,11,GotoIf($[${ENUMENTRY${EINTRAG}:0:3} = IAX]?12:13)
exten => _50.,12,Macro(callwithvoip,IAX2/,,${ENUMENTRY${EINTRAG}:5},user)
exten => _50.,13,GotoIf($[${ENUMENTRY${EINTRAG}:0:3} = SIP]?14:15)
exten => _50.,14,Macro(callwithvoip,SIP/,peer/,${ENUMENTRY${EINTRAG}:4},user)
exten => _50.,15,GotoIf($[${ENUMENTRY${EINTRAG}:0:3} = tel]?16:100)
exten => _50.,16,SetVar(COUNT=6)
exten => _50.,17,BackGround(beep)
exten => _50.,18,BackGround(0)
exten => _50.,19,BackGround(${ENUMENTRY${EINTRAG}:${COUNT}:1})
exten => _50.,20,SetVar(COUNT=$[${COUNT} + 1])
exten => _50.,21,GotoIf($[${LEN(${ENUMENTRY${EINTRAG}})} - ${COUNT}]?19:16)
exten => _50.,51,Playback(beep)
exten => _50.,52,Macro(callwithvoip,SIP/,peer/,${EXTEN:1},user)
exten => _50.,100,SetVar(EINTRAG=$[${EINTRAG} + 1])
exten => _50.,101,GotoIf($[${EINTRAG} <= ${ENUMENTRIES}]?11:102)
exten => _50.,102,Hangup
exten => 1,1,Macro(callwithvoip,SIP/,peer/,0${ENUMENTRY${EINTRAG}:6},user)
exten => 9,1,Goto(_50.,100)