Re: Unable to find MOH files
Robert Boisvert via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <CANsh=9F5QRCFdrwKJKAH25z_PGVs+BJiJGw8HHyyuGdF64U+Aw@mail.gmail.com> |
The full name of the file is based on RTP stream type. See Audio Files <https://kamailio.org/docs/modules/6.0.x/modules/mohqueue.html#audiofiles> for more information. Regards, Bob On Mon, Jul 28, 2025 at 6:41 AM David Villasmil via sr-users < [email protected]> wrote: > Files shouldn’t have any extension? > > Regards, > > David Villasmil > email: [email protected] > > > > On Mon, Jul 28, 2025 at 11:56 AM 17603019528--- via sr-users < > [email protected]> wrote: > >> Hello henning, >> thanks for your reply, It's not a misspelling of the letters, it's >> the printed log that is automatically added ".*" >> >> here is the source code: >> ``` >> update_mohq_lst.c >> >> rtpmap **pmohfiles = >> find_MOH(pmohdir, (char >> *)VAL_STRING(prowvals + MOHQCOL_MFILE)); >> if(!pmohfiles[0]) { >> LM_ERR("Queue,Field (%s,%.*s): Unable to find MOH >> files " >> "(%s/%s.*)!\n", >> pqname, STR_FMT(&MOHQCSTR_MDIR), >> pmohdir, >> (char *)VAL_STRING(prowvals + >> MOHQCOL_MFILE)); >> continue; >> } >> ``` >> __________________________________________________________ >> Kamailio - Users Mailing List - Non Commercial Discussions -- >> [email protected] >> To unsubscribe send an email to [email protected] >> Important: keep the mailing list in the recipients, do not reply only to >> the sender! >> > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions -- > [email protected] > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to > the sender! > __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!