[sr-dev] Registrar module creates an extra branch

Mino Haluz mino.haluz at gmail.com
Mon Mar 28 16:12:31 CEST 2011


How many lookup("location") things do you use in your configuration file ?

This seems to be the problem with more then once use of this command. Try to
avoid this, or check if you can substitute some of them with simple SQL
select in location table.

On Mon, Mar 28, 2011 at 10:46 AM, Efelin Novak <efelin.novak at gmail.com>
wrote:
> Hi Folks,
> I have a problem with a registrar module (at least I suppose so). When A
> calls to B, in some specific situation, B receives two INVITEs. This
mostly
> (not only) happens when one account is registered on two or more UAs. In
> this situation the extra INVITE is sent only to the one that is second in
> the list (kamctl ul show ACCOUNT).
> kamctl ul show Alice:
> Contact::
> <sip:orlvuzyd at 192.168.28.72:52129
>;q=0;expires=1916;flags=0x0;cflags=0x40;socket=<udp:8.8.8.8:5060
>;methods=0xFFFFFFFF;received=<sip:8.8.8.8:52129>;user_agent=<Blink
> 0.2.5 (Linux)>
> Contact::
> <sip:Alice at 192.168.28.51:5060
>;q=;expires=3061;flags=0x0;cflags=0x40;socket=<udp:8.8.8.8:5060
>;methods=0x129F;received=<sip:8.8.8.8:5060
>;user_agent=<Linksys/PAP2T-3.1.15(LS)>
>
> My situation.
> 1. Alice calls to BOB.
> 2. kamailio looks up in location table for BOBs registrations
> 3. in DB there are two rows (two devices(linksys PAP2T and Blink(blink is
> the second one)))
> 4. kamailio send 3 INVITES ( linksys, blink and blink). Every INVITE has
> different via.branch
>      (Via: SIP/2.0/UDP 8.8.8.8;branch=z9hG4bKe2d7.009b1df2.1)
>      (Via: SIP/2.0/UDP 8.8.8.8;branch=z9hG4bKe2d7.009b1df2.2)
>      (Via: SIP/2.0/UDP 8.8.8.8;branch=z9hG4bKe2d7.009b1df2.3)
> All my registrar parameters are set to default.
> Nothing is looping on interfaces.
> I have no idea whether this is a bug or my missconfiguration.
> Thanks for replies.
> Kind regards,
> Efelin Novak
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110328/73f26cb1/attachment.htm>


More information about the sr-dev mailing list