Koozali.org: home of the SME Server

Inbound Trunks and PTT_CLID

Offline Teviot

  • *
  • 610
  • +0/-0
Inbound Trunks and PTT_CLID
« 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.
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Inbound Trunks and PTT_CLID
« Reply #1 on: February 03, 2010, 11:23:48 AM »
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

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Inbound Trunks and PTT_CLID
« Reply #2 on: February 03, 2010, 01:37:17 PM »
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)
« Last Edit: February 07, 2010, 07:57:28 AM by teviot »
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Inbound Trunks and PTT_CLID
« Reply #3 on: February 03, 2010, 02:54:59 PM »
looks OK

give it a whirl


Best

S

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Inbound Trunks and PTT_CLID
« Reply #4 on: February 03, 2010, 03:13:40 PM »
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
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Inbound Trunks and PTT_CLID
« Reply #5 on: February 03, 2010, 03:41:57 PM »
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.