[Asterisk-Users] RealTime and Macro question?
Damian Minkov
damian at space-comm.com
Sat Dec 11 04:47:42 MST 2004
I found the problem !
In the for appdata I have - dialnumber_wvm,1004,SIP/1004
it must be - dialnumber_wvm|1004|SIP/1004
Damian Minkov wrote:
> Is it possible to call a macro, which is defined in extensions.conf
> from a realtime extension configured in Mysql.
> Beacuse when i try i receive an error - no such context.
>
> -- Executing Macro("SIP/1007-2165", "dialnumber_wvm,1004,SIP/1004")
> Dec 11 12:51:04 WARNING[22551]: app_macro.c:100 macro_exec: No such
> context 'macro-dialnumber_wvm,1004,SIP/1004' for macro
> 'dialnumber_wvm,1004,SIP/1004'
>
>
> Here is what i have in extensions table :
> id context exten priority app appdata
> _____________________________________________
> 1 sip-internal 1004 1 Macro
> dialnumber_wvm,1004,SIP/1004
>
>
--
Best Regards,
Damian Minkov
COSMOS Software Enterprises, Ltd.
Tel: (+359-2) 983-32-62
Mobile: (+359-88) 853-28-25
E-Mail: damian at space-comm.com
http://www.space-comm.com
Post address:
P. O. Box 941,
1000 Sofia,
Bulgaria
Office address:
ap. 9, fl. 4,
"11 August" str., No. 43,
1202 Sofia,
Bulgaria
More information about the asterisk-users
mailing list