FIELD: chemistry.SUBSTANCE: invention relates to field of organic chemistry, namely to compound of general formula (1), where A1 represents -N= or -CR7=, A2 represents -N= or -CR8, A3 represents -N= or -CR9=, A4 represents -N= or -CR10=; on condition that not more than one of residues A1, A2, A3 and A4 represents -N=; Y1, Y1′, Y2, Y2′, Y3, Y3′, Y4 and Y4' in each case independently on each other represent -H or -C1-8-alkyl; W represents -NR4-, where R4 represents -H or -C1-8-alkyl; R1, R2 and R3 independently on each other in each case represent R0, where R0 represents non-substituted or monosubstituted -C1-8-alkyl; non-substituted or monosubstituted -phenyl; non-substituted or monosubstituted - heteroaryl or non-substituted or monosubstituted -C1-8-alkylphenyl; or R1 and R2 together represent -(CH2)3-6-; R5, R5' R6, R6' R7 R8, R9, R10, R18 and R19 in each case independently on each other are selected from group, including -H, -F, -Cl, -Br, -I and -R0; where "heteroaryl" represents 5-membered cyclic aromatic residue, which contains 1 heteroatom, where heteroatom represents sulphur; where "alkyl" in each case represents branched or non-branched, saturated, non-substituted or monosubstituted aliphatic hydrocarbon residue; where with respect to residues "phenyl", "-C1-8-alkyl", "heteroaryl" and "-C1-8-alkylphenyl" "monosubstituted" means monosubstitution of one hydrogen atom with substituents, selected from group, including -F, -Cl, -Br, -I or -OH, in form of single stereoisomer or their mixture, free compound and/or its physiologically compatible salts.EFFECT: obtained is novel compound and medication based on thereof, which can be applied in medicine for pain treatment.9 cl, 15 exИзобретение к области органической химии, а именно к соединению общей формулы (1)где A1 представляет собой -N= или -CR7=, A2 представляет собой -N= или -CR8, А3 представляет собой -N= или -CR9=, A4 представляет собой -N= или -CR10=; при условии, что не более чем один из остатков A1, A2, А