[Spce-user] A little help please

Paul pasha at prosperity4ever.com
Fri Jul 12 22:31:54 EDT 2013


Andrew as always you are right :)

I adjusted a few more things in the trunk reg config, applied settings and
now I have logs in the proxy log here they are:

/usr/sbin/kamailio[11011]: INFO: <script>: New request - M=INVITE
R=sip:5554443322 at 10.0.0.40:5060;transport=udp
F=sip:9998887766 at 99.88.77.66:5060;transport=udp
T=sip:5554443322 at 10.0.0.40:5060 IP=24.23.22.21:5060 (127.0.0.1:5060)
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Call from PSTN -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Load peer preferences for peer
host '2' - R=sip:5554443322 at 10.0.0.40:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Load dialplan IDs for peer host
'2' - R=sip:5554443322 at 10.0.0.40:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Fetched dialplan IDs
caller_in='5', callee_in='6' -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Use 'P-NGCP-Src-Ip' for CDR IP
- R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Dialog set mark total -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Dialog set mark peer to '2' -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: IP authorization for caller not
provisioned, allow call - R=sip:5554443322 at 10.0.0.40:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: User-Provided CLI '9998887766'
taken from From-User - R=sip:5554443322 at 10.0.0.40:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Network-Provided CLI
'9998887766' taken from From-User -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Applying caller-in peer rewrite
rules on user-provided CLI using dpid '5' -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Rewriting user-provided CLI
'9998887766' to '+19998887766' -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Applying caller-in peer rewrite
rules on network-provided CLI using dpid '5' -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Rewriting network-provided CLI
'9998887766' to '+19998887766' -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Setting
'+19998887766 at 99.88.77.66' as initiating user-provided CLI -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Setting
'+19998887766 at 99.88.77.66' as initiating network-provided CLI -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Searching for callee -
R=sip:5554443322 at 10.0.0.40:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Applying callee-in peer rewrite
rules using dpid '6' - R=sip:5554443322 at 10.0.0.40:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: No matching rewrite rules for
'5554443322' found - R=sip:5554443322 at 10.0.0.40:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Skipping internal services for
unauthenticated call - R=sip:5554443322 at 10.0.0.40:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Callee was aliased with base
'5554443322' - R=sip:5554443322 at 10.0.0.34:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Clear callee preferences -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Callee is local,
uuid='f474387a-3d91-49a7-a8e6-6dfec325b592' -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Check Administrative NCOS level
- R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Check User NCOS level -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Checking URI
'5554443322 at 10.0.0.34' and CLI '5554443322' against block out lists -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Admin caller block mode is
'open' - R=sip:5554443322 at 10.0.0.34:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Caller block mode is 'open' -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Load callee preferences for
uuid 'f474387a-3d91-49a7-a8e6-6dfec325b592' -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Load dialplan IDs for domain
'10.0.0.34' - R=sip:5554443322 at 10.0.0.34:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Fetched dialplan IDs
caller_out='3', callee_out='4' -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Dialog set user, account to
'f474387a-3d91-49a7-a8e6-6dfec325b592/6' -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
Jul 12 15:09:28 voipgw /usr/sbin/kamailio[11011]: INFO: <script>: Checking
UPN '+19998887766' and NPN '+19998887766' against block in lists -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Admin callee block mode is
'open' - R=sip:5554443322 at 10.0.0.34:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Callee block mode is 'open' -
R=sip:5554443322 at 10.0.0.34:5060;transport=udp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Dialog set mark type to
incoming - R=sip:5554443322 at 10.0.0.34:5060;transport=udp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Local user online, using
registered contact as user -
R=sip:gw+ngcp at 10.0.0.34:5080;transport=udp;gw=ngcp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Setting acc source-leg for uuid
'0':
'0|9998887766|24.23.22.21|+19998887766|||<null>|||0|call|24.23.22.21|1373656168.200990'
- R=sip:gw+ngcp at 10.0.0.34:5080;transport=udp;gw=ngcp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Setting acc destination-leg for
uuid 'f474387a-3d91-49a7-a8e6-6dfec325b592':
'0|||6|5554443322|f474387a-3d91-49a7-a8e6-6dfec325b592|5554443322|10.0.0.34|5554443322|10.0.0.40'
- R=sip:gw+ngcp at 10.0.0.34:5080;transport=udp;gw=ngcp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Relaying request,
du='sip:lb at 127.0.0.1;lr;received='sip:10.0.0.34:5080';socket='sip:10.0.0.40:5060''
- R=sip:gw+ngcp at 10.0.0.34:5080;transport=udp;gw=ngcp
ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: INFO: <script>: Dropping local branch -
R=sip:gw+ngcp at 10.0.0.34:5080;transport=udp;gw=ngcp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: ERROR: sl [sl_funcs.c:371]: ERROR:
sl_reply_error used: I'm terribly sorry, server error occurred (6/SL)
/usr/sbin/kamailio[11011]: INFO: <script>: Stop mediaproxy for current
branch using first Via -
R=sip:gw+ngcp at 10.0.0.34:5080;transport=udp;gw=ngcp ID=C550303D at 99.88.77.66
/usr/sbin/kamailio[11011]: ERROR: rtpproxy-ng [rtpproxy.c:1318]: proxy
replied with error: Call-ID not found or tags didn't match
/usr/sbin/kamailio[11010]: INFO: <script>: New request - M=ACK
R=sip:5554443322 at 10.0.0.40:5060;transport=udp
F=sip:9998887766 at 99.88.77.66:5060;transport=udp
T=sip:5554443322 at 10.0.0.40:5060 IP=24.23.22.21:5060 (127.0.0.1:5060)
ID=C550303D at 99.88.77.66

Based on this it looks to me like the Call-ID (error in logs) is what
terminates the call and never actually pushes it out to the freeswitch
trunk (I don't see anything in the freeswitch logs at all about a call
coming in etc, and I do have a route for "public" context that will catch
all).

Thanks!

Paul

On Fri, July 12, 2013 3:59 am, Andrew Pogrebennyk wrote:
> Paul,
> posting /var/log/ngcp/kamailio-proxy.log would help.
>
> On 07/12/2013 05:59 PM, Paul wrote:
>
>> Andreas,
>>
>>
>> You are correct. I caught that right after I sent this message, when I
>> was following the manual to get a sip peering (register a trunk) it told
>> me to edit reg_agent.tt2 as doing it from the GUI wasn't enough. I
>> removed those entries causing the errors and am attempting to register
>> my trunk and not sure where I'm encountering my problem, any helps
>> GREATLY appreciated as
>> I'm getting a little frustrated... wayy to much new config to learn :)
>>
>>
>> Here's my situation:
>>
>>
>> - Trunk @ my provider with DID
>> - I edited reg_agent.tt2 and added
>> - domain=provider.trunk.domain.com
>> - user = <username provided for me by provider>
>> - pass = <same as above>
>> - left the other lines untouched
>>
>>
>> I also have this trunk entered in Sip Peering in the GUI but to be
>> honest can't get a clear understanding in what the connection is between
>> them, and maybe that's why this isn't working.
>>
>> Currently when I dial my DID from my cell it hits kamailio, I see the
>> call coming in, logs end with "Performing normal inbound routing", so
>> the call should continue to a user I have assigned the incoming DID to,
>> and that user is a trunk registered on one of my PBXs down the line
>> (FreeSwitch).
>>
>>
>> My Freeswitch never gets the call as I'm monitoring the logs. So my
>> guess then (if kamailio isn't denying the call) is that the ReWrite
>> rules aren't compatible with the format the call is coming in on?
>>
>> Call comes in as a 10 digit (north america) NXX-NXX-NXXX what ReWrite
>> rules would convert it to E.164 (which I believe ngcp is expecting?) so
>> that it continues getting routed properly? And would I add this rule
>> under Inbound Callee or Caller? I'm assuming Caller?
>>
>>
>> Thanks again for your quick response!
>>
>>
>> Paul
>>
>>
>> On Fri, July 12, 2013 1:04 am, Andreas Granig wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> On 07/12/2013 04:39 PM, Paul wrote:
>>>
>>>
>>>> Forgive my noob question, I have near 0 experience with ngcp. I
>>>> keep getting the following errors in my logs and can't figure out
>>>> where it's coming from, I have nothing in Sip Peerings that isn't
>>>> working, but this keeps repeating every second in my logs. Not sure
>>>> where these REGISTER
>>>> requests are coming form.
>>>
>>> Looks like you've configured either peer_auth_* preferences for one
>>> of your subscribers, or you've configured peer registration in your
>>> reg_agent.tt2 of sems? Can you show us what you put there?
>>>
>>> Andreas
>>>
>>>
>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> http://lists.sipwise.com/listinfo/spce-user
>>>
>>>
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
>>
>>
>
>






More information about the Spce-user mailing list