[Spce-user] Outbound Rewrite Rules for Caller

Andreas Granig agranig at sipwise.com
Thu May 5 10:59:23 EDT 2011


Hi Luis,

From your output, something is wrong with your rule ids. It says:

> Applying caller-out peer rewrite rules to first caller CLI using dpid
> '7'

But your rule in dpid 7 looks like this:

>        id: 5
>      dpid: 7
>        pr: 50
>  match_op: 1
> match_exp: ^(00|\+)([1-9][0-9]+)$
> match_len: 0
> subst_exp: ^(00|\+)([1-9][0-9]+)$
>  repl_exp: \2
>     attrs:

So no wonder it doesn't match. The logs say that this rule is a
caller-out rule for a peering server. Are you sure you've configured
this rule really in a peering server? Or did you maybe configure it as
outbound rule for a domain?

If you double-checked that and you think this is fine, please send me
(off-list if you prefer) the output of the following commands for me to
check any data inconsistencies:

select * from voip_peer_hosts\G
select * from voip_peer_rewrites\G
select * from voip_domains\G
select * from voip_domain_rewrites\G

Andreas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20110505/23759cec/attachment-0001.asc>


More information about the Spce-user mailing list