Aha, yes I was using single quotes.  Now it's working

Thank You,
Jerry


From: [email protected] 
[mailto:[email protected]] On Behalf Of Rudy
Sent: Tuesday, May 29, 2012 9:40 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] m4 Macros Not Expanding

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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to