[Serdev] Wildcard Symbols Used in Destination Patterns Cisco
Gateways
Klaus Darilion
klaus.mailinglists at pernau.at
Thu Mar 10 16:34:17 UTC 2005
What do you want to achieve?
SIP AORs does not support wildcards - they will be trated as normal
letters. If you need wildcard routing, use regular expressens, e.g:
if (uri =~ "^sip:\+43664[0-9]+ at .*$") {
# will match for all numbers beginning with +43664
...
forward to gateway1 ....
...
} else {
...
forward to gateway1 ....
...
}
regards,
klaus
Francesco Bottà wrote:
> Hi SIP Gurus,
>
> is there a way to register with SER a dial-peer pots configured over a digital Cisco interface, that includes wildcards symbols like '[', ']', '*', '?', 'T', and so on???
> I've tryed to workaround this 'issue' but the Registrar (SER) always send me SIP/2.0 400 Bad Request with this HF-->P-Registrar-Error: Error while parsing AOR.
>
> I should to escape the wildcards symbols'? And in a Cisco documention (Extending SIP Register Support on Gateway ) I've read this hints:
>
> 1 You need to modify the proxy/registrar behavior to correctly route calls for wildcard patterns or destination pattern with a range. Proxy server or registrars that do not match a wildcard patterns or destination pattern with a range should be ignored for that specific request.
>
>
>
> The wildcards symbols used in Cisco destination pattern are copliant with the AOR's parser in SER?
>
>
> Any suggestions??
>
> Many thanx
>
> Verbal
>
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
>
>
More information about the Serdev
mailing list