Cisco Unified Application Environment Mailing Lists                                                

Subscribing to the mailing-lists

To Subscribe one or more of our mailing-lists,
please use the mailing-list management page at this URL: http://developer.cisco.com/web/cuae/mailer.

  Web Archives

       To browse the mailing-list archives, select one of the categories below:

 

Cisco Unified Application Environment Developer Forums Cisco Unified Application Environment Developer Forums
Combination View Flat View Tree View
Threads [ Previous | Next ]
RE: wild characters in OnIncomingCall triggering To parameters
toggle
Hi,
 
My script's flow is writtent on OnIncomingCall trigger. Specific route patter call(say 89xxxx and 79xxxx ) will come to our script. Can I give triggering parameter (in Edit trigger parameter of application) as To=89xxxx and To=79xxxx?
 
Regards,
Umesh
Flag Flag
hi Umesh,
 
Yes, it is possible to put the trigger parameters like 89xxxx or 79xxxx but the right way to do this is to use regualar expression. So in your trigger parameters you can put url as "To" and value as as "regex:89[0-9][0-9][0-9][0-9]". All needs to be put without the double quotes.
 
If your script needs to triggered on another incoming call of 79xxxx then create a partition of your application and for the newly created partition give the triggering parameters "To" as "regex:79[0-9][0-9][0-9][0-9]".
 
Note:- I hope the route pattern which you have created in CUCM 89.xxxx and 79.xxxx may have dot in it and prefix to dot is not deleted before your call reaches CUAE. If you have the setting in CUCM for the routepattern with "Discard Digits" as "predot" then it will be only the xxxx number which will be reaching the CUAE and triggering the application.
 
Thanks
Nabhonil
Flag Flag
Thanks Nabhonil. We have CUAE Admin document , but all these patters are not defined in that document. Is there any other document.
 
Regards,
Umesh
Flag Flag
hi Umesh,
 
I donot think there is any document which has these regex mentioned. However we will try our best to document these in the the admin guide.
 
Thanks
Nabhonil
Flag Flag
Hi Umesh,
 
             The trigger param settings have been documented in the 2.5.1 Admin Guide itself. Please see the 'Managing Applications' portion of the guide for this, particularly the 'Understanding Scripts and Triggers' section for information on which trigger parameters may be used, and how they are to be defined.
 
Triggers can be defined in any of the following ways:
Single value—A trigger that activates when singe extension receives a call.
Value List —A trigger that activates when a call is received from more than one extension.
Single Regular Expression—A trigger that activates when a call is received on any of several extensions in a range.
Combined Method—A trigger that includes a single value trigger that activates when a single extension is called and a regular expression trigger that activates when a call is received from any of a range of extensions.
 
Note: A regular expression is indicated by adding regex: before the expression. You cannot mix literal values and regular expressions in a list. Only a single regular expression can be used as a trigger parameter for a given partition. The syntax [0-9] in a regular expression is equivalent to the Cisco Unified Communications Manager X notation used in route patterns and CTI Route point line numbers.

   Also, please note that we currently have an issue with updation of trigger params. Please restart the appserver every time you update trigger params to work around this.
 
Thanks,
Neha
Flag Flag
Hi Neha,
 
I have Admin Document release 2.5.1 but there is no section like "'Understanding Scripts and Triggers" and regular expression related things for partitions are not specified. Can you please send me link of latest admin document?
 
Regards,
Umesh
Flag Flag
Hi Umesh,
 
Here's the link to the 2.5.1 Administration Guide:              
http://www.cisco.com/en/US/docs/voice_ip_comm/cuae/2_5/english/administration/guide/CUAE-Admin_Book-Wrapper.html
 
Here's the link to the 'Managing Applications' section:
http://www.cisco.com/en/US/docs/voice_ip_comm/cuae/2_5/english/administration/guide/applications.html
 
Thanks,
Neha
Flag Flag