[Spce-user] Trying to understand inbound routing

Theo axessofficetheo at gmail.com
Wed Feb 27 10:04:24 EST 2013


Hi

I have progressed to testing this as an actual PBX. I think I sort of
understand the outbound rewriting and sending to peers. I am not getting
the inbound part though.

Example: Calls come in to the SPCE in following format. +2787xxxxxxx. There
are two things I need to achieve.

1. Call must be sent onto another sip peer (a whole host of asterisk boxes
we currently have)

2. Call must be sent to a local user on the SPCE as we may be moving them
off asterisk onto this platform gradually.

I have not looked at the sending it to a sip peer yet, thinking that once I
understand it I will figure that out (we'll see about that :-). I am
failing on the sending to local user part.

Currently I have a rewrite rule set called test inbound. Under inbound
caller I have simply +2787xxxxxxx to rewrite to 2721200 which is the number
assigned to a subscriber. I then add this rewrite rule set to the the
domain I set up as well as to the sip peer.

That's as far as I got. The call is successfully sent to the SPCE but
doesn't reach the subscriber. Me thinks that's because of this from the
proxy log:

Rewriting callee '+27876250500' to '+2721200

It rewrites it to +2721200 whereas my rule says 2721200.....

What am I overlooking?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130227/83118fb9/attachment.html>


More information about the Spce-user mailing list