[SR-Users] SCA fails to update appearance

Andreas Granig agranig at sipwise.com
Mon Mar 2 12:13:56 CET 2015


Hi guys,

Playing with SCA for the first time, I'm hittin the following issue:

User phone1 at domain.org is registered on two devices A and B, and device
B sends SUBSCRIBE to phone1 at domain.org with call-info Event.
Subscription is handled properly, and my DB content is this:

            id: 4
    subscriber: sip:phone1 at 10.15.20.174:5100;alias=1.2.3.4~5100~1
           aor: sip:phone1 at domain.org
         event: 1
       expires: 1425296906
         state: 0
       app_idx: 0
       call_id: dacf5194-3d6a8e16d03338102a940080f0e9071c at 10.15.20.174
      from_tag: 4247246264
        to_tag: f3067022b00c564156251ba2f28f331f-7c92
  record_route:
<sip:127.0.0.1;r2=on;lr=on;ftag=4247246264;nat=yes;ngcplb=yes;socket=udp:1.2.3.4:5060>,<sip:1.2.3.4;r2=on;lr=on;ftag=4247246264;nat=yes;ngcplb=yes;socket=udp:1.2.3.4:5060>
   notify_cseq: 3
subscribe_cseq: 2

Kamcmd reports this:

kamcmd> sca.all_subscriptions
phone1 10.15.20.174:5100 call-info 2697 active

If phone1 at domain.org on device A does a call, I get this in my logs when
calling sca_call_info_update() right as first thing in my routing config
handling the INVITE:

Mar  2 12:02:33 sp2 proxy[34517]: WARNING: sca [sca_appearance.c:976]:
sca_appearance_update_index(): Cannot update sip:phone1 at domain.org index
0 to unknown: index 0 not in use
Mar  2 12:02:33 sp2 proxy[34517]: ERROR: sca [sca_call_info.c:1046]:
sca_call_info_invite_request_handler(): Failed to update
sip:phone1 at domain.org appearance-index 0 to unknown

Is there something I'm obviously doing wrong here?

Andreas



More information about the sr-users mailing list