[Spce-user] Trying to understand inbound routing

Jon Bonilla (Manwe) jbonilla at sipwise.com
Wed Feb 27 10:38:02 EST 2013


El Wed, 27 Feb 2013 17:04:24 +0200
Theo <axessofficetheo at gmail.com> escribió:

> 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?


Well, actually looks like the rewrite rule is not correct. Could you paste the
proxy log for the call and how the rewrite rules looks like? We might have to
take a look into the db if the solution is not obvious.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130227/dc91427c/attachment-0001.asc>


More information about the Spce-user mailing list