[Spce-user] Tech prefix matching
Serge S. Yuriev
me at nevian.org
Thu Oct 13 12:39:08 EDT 2016
Hi
In text
12.10.2016, 13:55, "Andrew Pogrebennyk" <apogrebennyk at sipwise.com>:
> Hi,
> try changing # -> %23 in the peering rules. It looks like the # is
> url-escaped by kamailio:
>
> Oct 12 12:21:14 msk-vo-s-sbc1 proxy[36313]: INFO: <script>: Load domain
> preferences for callee - R=sip:62987%236546 at 10.0.64.100:5060 ...
This helped. Thanks.
But this looks strange for me as behavior not consistent and using two representations for different parts
> Also there is an error message from lcr_rate giving a hint that you
> should look at the billing fees and make sure a fee for 62987%.. exists:
>
> Oct 12 12:21:14 msk-vo-s-sbc1 proxy[36313]: ERROR: lcr_rate
> [lcr_rate_mod.c:326]: lcr_rate(): no peers with valid ratings found
If peer matched no such messages displayed.
btw it's peer-to-peer call so no fees applied.
> On 12/10/16 12:26, Serge S. Yuriev wrote:
>> Hello,
>>
>> ngcp-ngcp-ce 4.5.1.1+0~mr4.5.1.1
>>
>> How i can match '#' in peering rule?
>> Callee prefix: 62987#
>> Callee pattern: ^sip:62987#
>>
>> Not matches 62987#6549
>>
>> Call routing verification doesn't work for such numbers - Must be either a number or user at domain format.
>>
>> If I not include '#' - working as desired
>>
>> Proxy log w/debug 2
>> http://pastebin.com/dbRQx7ZQ
--
wbr,
Serge
More information about the Spce-user
mailing list