[asterisk-commits] tilghman: branch 1.6.2 r297908 - /branches/1.6.2/configs/extensions.conf.sample
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 8 12:04:42 CST 2010
Author: tilghman
Date: Wed Dec 8 12:04:38 2010
New Revision: 297908
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=297908
Log:
Use inheritance to get correct results for SIPFROMDOMAIN.
(from an internal Digium discussion)
Modified:
branches/1.6.2/configs/extensions.conf.sample
Modified: branches/1.6.2/configs/extensions.conf.sample
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/configs/extensions.conf.sample?view=diff&rev=297908&r1=297907&r2=297908
==============================================================================
--- branches/1.6.2/configs/extensions.conf.sample (original)
+++ branches/1.6.2/configs/extensions.conf.sample Wed Dec 8 12:04:38 2010
@@ -428,9 +428,9 @@
same => n,GotoIf($["${isnresult}" != ""]?from)
same => n,Set(DIALSTATUS=CONGESTION)
same => n,Goto(fn-CONGESTION,1)
-same => n(from),Set(SIPFROMUSER=${CALLERID(num)})
+same => n(from),Set(__SIPFROMUSER=${CALLERID(num)})
same => n,GotoIf($["${GLOBAL(FREENUMDOMAIN)}" = ""]?dial) ; check if we set the FREENUMDOMAIN global variable in [global]
-same => n,Set(SIPFROMDOMAIN=${GLOBAL(FREENUMDOMAIN)}) ; if we did set it, then we'll use it for our outbound dialing domain
+same => n,Set(__SIPFROMDOMAIN=${GLOBAL(FREENUMDOMAIN)}) ; if we did set it, then we'll use it for our outbound dialing domain
same => n(dial),Dial(SIP/${isnresult},40)
same => n,Goto(fn-${DIALSTATUS},1)
More information about the asterisk-commits
mailing list