Hi!
Just so you know you did not need to PM me, I receive the notifications when you write here…
It was just not possible for me to reply earlier…
Something is getting lost in translation because I am not really sure what you mean here…
English is not my native language (and I believe it is not yours either) and I am l a little bit unsure what you mean here…
If I was a native English speaker I might be able to figure this out but unfortunately I am not…
Is this an extension on your FreePBX box?
If 100 in an extension on your FreePBX do you want to playback a message to the person using the extension before (s)he is connected to the trunk?
How did you do that? What we did earlier was to playback a recording to the person getting called, not the caller…
Since I am not exactly sure what you want to do I cannot say for sure…
If what you want to do is to play back a recording to the person using extension 100 if, and only if, he uses a trunk (any one or a specific one?) and not if he calls another extension on the PBX then it looks like your best bet might be to use [macro-dialout-trunk-predial-hook].
Something similar to
(Please note that this thread suggests other ways of doing this…)
You would have to replace the first two lines since it sounds like you only want this to happen for a specific extension (and the “if” that’s there doesn’t do that) and of course the recording.
I saw something else which might work but since I am unsure what you want to do exactly I won’t suggest it for now…
(There are ways to have other macros run in the dial command…)
Good luck and have a nice day!
Nick