[Spce-user] inbound rewrite rules

Stefan Sayer stefan.sayer at googlemail.com
Tue Jan 11 09:47:25 EST 2011


Hi,

I'm trying to understand how to use inbound rewrite rules.

I've set "Inbound Rewrite Rules for Callee" as
  Match Pattern: .*
  Replacement Pattern: stefann900
  Priority: 50
  Description: inbound all to n900

But when a call comes in, I get the below in the kamailio log, and the 
rewrite rule is apparently not executed (I get a 404 back).

Is there something I have not understood about those rewrite rules?


Thanks!
Stefan

kamailio.log (anonymized):

  INFO: <script>: Applying callee-in peer rewrite rules using dpid '6' 
- M=INVITE R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: No matching rewrite rules for '8111111' found - 
M=INVITE R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: Clear callee preferences - M=INVITE 
R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: Callee is not local - M=INVITE 
R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: Check Administrative NCOS level - M=INVITE 
R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: Check User NCOS level - M=INVITE 
R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: Admin caller block mode is 'open' - M=INVITE 
R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: Caller block mode is 'open' - M=INVITE 
R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22
  INFO: <script>: Call to unknown user - M=INVITE 
R=sip:8111111 at myngcp.net F=sip:03012345678 at sipgate.de 
T=sip:004930868111111 at sipgate.de IP=69.163.11.22:5090 
ID=3C203199-4D2C6BCB00074503-409C1950 at 10.220.11.22


-- 
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:sayer at iptel.org
email/xmpp:stefan.sayer at gmail.com






More information about the Spce-user mailing list