Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Deploy Pattern matching when using % > 9
Author Message
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 37
Location: Guilford, CT

PostPosted: Wed Jun 05, 2024 1:53 pm    Post subject: Deploy Pattern matching when using % > 9 Reply with quote

1. Brekeke Product Name and Version:
3.16.4.9, Advanced

2. Java version:
openjdk-11-jre / tomcat9

3. OS type and the version:
debian:bullseye

4. UA (phone), gateway or other hardware/software involved:
Freeswitch

5. Your problem:
When using a deploy pattern and the variable is > 9, for example:


To/uri = sip:%1@%12

The %12 is evaluated as %1, not %12.

Thanks,
Mike
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Wed Jun 05, 2024 4:18 pm    Post subject: Reply with quote

The syntax is %{num}.
so %12 should be written as %{12}.
Back to top
View user's profile
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 37
Location: Guilford, CT

PostPosted: Thu Jun 06, 2024 9:38 am    Post subject: Reply with quote

Thanks!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1