[Spce-user] rewrite problem on incoming calls

COSit lists cosit.lists at googlemail.com
Tue Jul 26 00:45:26 EDT 2011


Hello,

Just trying sipwise on a fresh debian squeeze install with a basic
configuration. Calling out works fine with all the necessary rewrites
but receiving calls from peer servers fails. It looks like the rewrite rules
configured for the peering server are not applied:

Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: New
request - M=INVITE R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: ERROR: avpops
[avpops_impl.c:334]: incomplet uri <sip:84.yy.yy.178:5060>
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Call
from PSTN - M=INVITE R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.deT=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Load
dialplan IDs for peer host '2' - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Fetched dialplan IDs caller_in='9', callee_in='10' - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Clear
caller preferences - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Load
caller preferences for uuid '0' and domain 'sipgate.de' - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: IP
authorization for caller not provisioned, allow call - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
User-provided CLI '01511xxxxxxx' in From found - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Applying caller-in peer rewrite rules on user-provided CLI using dpid '9' -
M=INVITE R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Rewriting user-provided CLI '01511xxxxxxx' to '491511xxxxxxx' - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Setting '491511xxxxxxx at sipgate.de' as initiating CLI - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Searching for callee - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Applying callee-in peer rewrite rules using dpid '10' - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: ERROR: dialplan
[dialplan.c:255]: no AVP or SCRIPTVAR found (error in scripts)
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: ERROR: dialplan
[dialplan.c:334]: invalid param 2
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: No
matching rewrite rules for '<null>' found - M=INVITE R=sip:84.yy.yy.178:5060
F=sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Clear
callee preferences - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Callee is not local - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Check
Administrative NCOS level - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Check
User NCOS level - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Admin
caller block mode is 'open' - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Caller block mode is 'open' - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>: Call
to unknown user - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Accounting failed request for uuid '0' - M=INVITE R=sip:84.yy.yy.178:5060 F=
sip:01511xxxxxxx at sipgate.de T=sip:0049621483xxxxxx at sipgate.de IP=
217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Setting acc source-leg for uuid '0':
'0|01511xxxxxxx|127.0.0.1|491511xxxxxxx|0|call' - M=INVITE
R=sip:84.yy.yy.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de
Jul 26 06:12:35 sipWise-178 /usr/sbin/kamailio[31273]: INFO: <script>:
Setting acc destination-leg for uuid '0':
'<null>|0|<null>|84.yy.yy.178|<null>|84.yy.yy.178' - M=INVITE R=sip:
84.201.37.178:5060 F=sip:01511xxxxxxx at sipgate.de T=
sip:0049621483xxxxxx at sipgate.de IP=217.10.79.9:5060 (127.0.0.1:5060) ID=
2a48f61e5eef50e31492625d6154ef1f at sipgate.de

any hints?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20110726/a0276dd1/attachment.html>


More information about the Spce-user mailing list