diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-12-08 18:04:38 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-12-08 18:04:38 +0000 |
commit | dd15f8d4fdb92525d77005fdfa33038dfbbdd357 (patch) | |
tree | bcabac5a5f4dfb38d25c3e1e8674e657c1df3f64 | |
parent | 5c1e4238a9271ad2fb7195179215cd35b0f3ef1c (diff) |
Use inheritance to get correct results for SIPFROMDOMAIN.
(from an internal Digium discussion)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@297908 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | configs/extensions.conf.sample | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample index 1162cbfc4..607c26e52 100644 --- a/configs/extensions.conf.sample +++ b/configs/extensions.conf.sample @@ -428,9 +428,9 @@ same => n,Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)}) ; perfor 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) |