Welcome, Unregistered.

Welcome to VTC talk Forums.
Remember Me?
Clearone
Future-proof, affordable, cloud-ready. Itís room video conferencing that simply fits. COLLABORATE Room solutions provide best-in-class video conferencing and collaboration with a price-point and feature set vastly superior to that of competing room conferencing solutions. Find out how affordable and compatibly video conferencing can be. Clearone.com
Interlink Vision
Cloud Video Conferencing. CallPresence is a cloud-based hosted solution that helps individuals and companies enhance their video communications. From Polycom desktop-based Telepresence, ISDN to IP services, and Virtual Video Meeting Rooms with guest accounts for non-video enabled users.
www.interlinkvision.com
Blue Jeans Network - cloud-based conferencing service
Our mission is to make video communications as easy and pervasive as audio communications, enabling more effective communication and collaboration anywhere and from practically any device.
www.bluejeans.com
Go Back Video conferencing / Telepresence Forum > VTC Hardware > Network > VCS Regex Search Rule To CUCM
Reply
 
Thread Tools Display Modes
Old 04-12-2012   #1
deano42
Rookie Member
 
Join Date: Dec 2009
Posts: 10
deano42 - Has only 10 Tech Points
Default VCS Regex Search Rule To CUCM

Hi,

I've been testing the VCS & CUCM integration with E20's registered to the CUCM and all is going well. I'm now at a stage where im looking to roll this globally so my search rules need to be a bit broader.

Internally we use 4 digits for VC endpoints & MCU rooms. Beginning with 14xx, 15xx, 55xx & 53xx.

Our phone system uses E164 numbers.

I need a search rule that takes [email protected]:port and changes it to e164number@cucmip:port

So for testing i've been using regex (441234567890)@my.domain(.*) replace with \1@cucmip

Now, i need this rule to work with any of our internal E164 numbers that range from +65 in singapore to +1 in US and a whole host of countries inbetween.

I thought about doing a number of rules like this (44..........|1..........|33..........)@my.domain( .*) but im sure there must be a better way?

Probably worthing mentioning the VCS also has a Codian ISDN GW integration, when thats used calls are prefix with 91.

Any ideas how i can make this tidier?

Cheers

Dean
deano42 is offline   Reply With Quote
Old 04-12-2012   #2
Wiggy70
VTC Professional
 
Join Date: Jun 2008
Posts: 113
Wiggy70 - Has only 10 Tech Points
Default

If your VC assets are using only 4 digits and your CUCM assets using full e.164 11 digits, you could try something like

d{11}@my.domain(.*) replace with \1@cucmip
__________________
[SIGPIC][/SIGPIC]
VC Consultant
"Fame is Fleeting but Mediocrity is Forever"
Wiggy70 is offline   Reply With Quote
Old 04-13-2012   #3
deano42
Rookie Member
 
Join Date: Dec 2009
Posts: 10
deano42 - Has only 10 Tech Points
Default

Guess that could work and much simpler than my idea, thanks will try that.

Dean
deano42 is offline   Reply With Quote
Old 04-13-2012   #4
deano42
Rookie Member
 
Join Date: Dec 2009
Posts: 10
deano42 - Has only 10 Tech Points
Default

Hi Wiggy70, unfortunately that doesnt seem to work,

When testing

[email protected]:5060

\d{12}@my.domain(.*)

\1@cucmip

Transformed alias then = :[email protected]

Any ideas?
deano42 is offline   Reply With Quote
Old 04-13-2012   #5
fredless
Rookie Member
 
fredless's Avatar
 
Join Date: Oct 2011
Location: San Jose, California
Posts: 20
fredless - Has only 10 Tech Points
Send a message via Yahoo to fredless
Default

Hmmm.. you're on the right track.. try:
\+*(\d{10,20})@my.domain.*
1\@cucmip

This will match between any number between 10 and 20 digits long, with or without a + prefix, and should output: number@cucmip
fredless is offline   Reply With Quote
Old 04-25-2012   #6
Joe Vallender
Super VTC Guru
One of Our First 100 Members!!
 
Joe Vallender's Avatar
 
Join Date: May 2004
Location: Chicago, IL
Posts: 522
Joe Vallender - Has only 10 Tech Points
Default

Quote:
Originally Posted by deano42 View Post
Hi Wiggy70, unfortunately that doesnt seem to work,
When testing
[email protected]:5060
\d{12}@my.domain(.*)
\1@cucmip
Transformed alias then = :[email protected]
Any ideas?
the \1 refers to only what is in the first (), which is whatever is after my.domain, ie :5060
Joe Vallender is offline   Reply With Quote
Old 04-25-2012   #7
deano42
Rookie Member
 
Join Date: Dec 2009
Posts: 10
deano42 - Has only 10 Tech Points
Default

Fredless's worked a treat, thanks
deano42 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Border controller search rule vfjelde Network 5 01-05-2012 05:06 PM
VCSC and VCSE Search Rule issue - Movi/SIP dialing varcos Network 1 12-23-2011 12:00 AM
Implementing AND operator in VCS rule using Regex mayank7489 Integration 0 10-09-2011 07:55 PM
search does not let me use 3-letter search terms awander Feedback & Comments 0 12-15-2010 11:02 AM

Register

Username
Password
Email
Close
3.8.4
Copyright 2014 VTCtalk.com
Copyright (c) 2004 - 2012, Crependo. All Rights Reserved