[OpenSIPS-Users] m4 Macros Not Expanding

Rudy rudy at dynamicpacket.com
Tue May 29 18:39:49 CEST 2012


Jerry,

 Make sure that in your define(s) you open with ` (tilde) and close the
quote with a ' (single quote) .

 so a define line looks like
"define([tilde]KEYWORKD[single_quote], [tilde]VALUE[single_quote])"

Thanks in advance,
--Rudy
Dynamic Packet
Toll-Free: 888.929.VOIP ( 8647 )


On Tue, May 29, 2012 at 12:23 PM, Jerry Richards <jerry.richards at teotech.com
> wrote:

> Hello,
>
> I'm following the m4 examples at this link:
> http://www.opensips.org/Resources/DocsTools
>
> But I'm not seeing macros getting expanded in the resultant opensips.cfg
> file.  They just show up as the macro name (e.g. MY_PORT), instead of the
> actual value (e.g. 5060).
>
> Also by the way, at that link, I removed "dnl" from after the divert(0),
> because it looks like a typo (and it inserts "dnl" into the file producing
> a syntax error, if I include it.
>
> Anyone know why this could be happening?
>
> Thanks,
> Jerry
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120529/b4fdeefd/attachment.htm>


More information about the Users mailing list