Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Teviot on February 03, 2010, 09:16:06 AM
-
Hi
I have a few inbound truncks and have them going to various extensions. I would like to route a particular number that is calling via my trunks to a particular extention instead of the call group that the trunk concerned is roouted to.
Is PTT_CLID_Class or PTT_CLID the best way to do this?
I have read the Doc's and it wasn't clear as to what PTT_CLID and PTT_CLID_Class do and how they work with inbound calls.
I also did a search on the forums and the result weren't clear either.
So in short, I would like caller 123 to be routed to ext 789 instead of the calls coming in on that trunk going to 456 call group.
How I have explained my question well enough for it to be easy to understand.
-
clid group routes a single caller id whereas clid class routes a mask.
to route callerid 123 you would use clid_group and enter 123.
to route all calls from area code 0198 you would use clid_class and you would enter something like _0198XX.
make sure that you have the SWOC flag checked in the trunk (it means Switch On Caller Id)
:)
Kind Regards
S
-
Let me see if I have that right!
Sensitive information has been blocked out for privacy reasons.
I realise that I have the CLID set to HANGUP at the time the picture was snapped of my desktop
(Links removed for privacy reasons)
-
looks OK
give it a whirl
Best
S
-
and you would enter something like _0198XX.
Could you confirm this please as I think it doesn't work set this way. I think I have found it works better without the "_" and I am using the full complete number
-
Yes you must sepcify the full number without the pattern character (_) for PTT_CLID_Group - that is my understanding of how the code works.
Best
S.