Displaying 2 results from an estimated 2 matches for "callersnam".
Did you mean:
callersname
2015 Apr 08
0
Asterisk Inbound calls, multiple SIP accounts, calledID
....
Here is my "extensions.conf" file:
exten => s,1,Set(thedid="${SIP_HEADER(TO)}"); ignore this one
exten => s,2,Set(pseudodid=${SIP_HEADER(To)})
exten => s,3,Set(pseudodid=${CUT(pseudodid,@,1)})
exten => s,4,Set(pseudodid=${CUT(pseudodid,:,2)})
exten => s,5,Set(callersname=${IF($[ ${pseudodid} =
081...]?Company1:${callersname})})
exten => s,6,Set(callersname=${IF($[ ${pseudodid}
= 082...]?Company2:${callersname})})
exten => s,7,Set(callersname=${IF($[ ${pseudodid}
= 083...]?Company3:${callersname})})
exten => s,8,Set(callersname=${IF($[ ${pseudodid}
= 084.....
2015 Apr 07
5
Asterisk Inbound calls, multiple SIP accounts, calledID
Hi Dmitriy and others and thanks for your help so far.
The option "match_auth_username=yes" seems to have had no effect. From my
reading, this option will try to match the username of the incoming SIP
account to a section heading. If that is how it must work then i can see a
big problem. I'm trying to present the receptionist with a nice display of
which line the call came in on.