[asterisk-users] Bug or feature: SIP chanvars not overriden

Olivier oza-4h07 at myamail.com
Wed Nov 11 14:23:31 CST 2009


Hello,

Using 1.6.2-rc5, my settings include:

[local-phone](!)
    context=mylocal
    type=friend
    nat=no
    canreinvite=no
    host=dynamic
    qualify=yes
    dtmf=info
    language=fr
    call-limit=5
    subscribecontext=subs
    disallow=all
    allow=alaw
    t38pt_udptl=no
    setvar=accountcode=foo

[168](local-phone)
defaultuser=168
secret=pass168
callerid=John Doe<168>
mailbox=168
setvar=longcid=015555555
setvar=accountcode=bar


CLI> sip show peer 168
...
  Variables    :
                 accountcode = bar
                 longcid = 015555555
                 accountcode = foo


When running, ${SIPPEER(168,chanvar[accountcode])}) is valued to foo
(instead of bar).
Would you rate it as a feature ?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091111/e03128d7/attachment.htm 


More information about the asterisk-users mailing list