[Freeswitch-users] Sofia ODBC causes multiple b-legs on a single call

Anthony Minessale anthony.minessale at gmail.com
Tue Oct 4 03:59:28 MSD 2011


are you really using "mydomain.com" on all the profiles at the same time?

On Mon, Oct 3, 2011 at 5:29 PM, R H <buscom123+fs at gmail.com> wrote:
> Sure,
> I have two soft phones registering as extensions 4001 and 4002 to the same
> profile. When 4002 dials 4001 the softphone that is registered as 4001
> received two calls simultaneously. This only happens when I enable odbc on
> two profiles. If I disable odbc or only enable it for one profile everything
> works fine. If I enable ODBC for 3 profiles I would get three invites to
> 4001, etc...
> Attached is some logging output. Notice the parts highlighted in red.
> Thank you for your help.
> Ryan
>
>
>
> On Mon, Oct 3, 2011 at 1:23 PM, Anthony Minessale
> <anthony.minessale at gmail.com> wrote:
>>
>> could you elaborate more on what the B-legs are?
>> Are you doing bridges to an outbound entity, if so how?
>>
>> do you have any traces doing:
>>
>> sofia global siptrace on
>> and
>> console loglevel debug
>>
>>
>>
>>
>>
>> On Mon, Oct 3, 2011 at 2:14 PM, R H <buscom123+fs at gmail.com> wrote:
>> > Hey Everyone,
>> > I am preparing to set up HA Failover to my production freeswitch
>> > environment. In preparation for this I have been doing some testing in a
>> > development environment and I encountered the following problem:
>> > I currently have two sip-profiles set up that I am using full time, when
>> > I
>> > enable odbc in the switch.conf.xml everything works correctly. When I
>> > enable
>> > odbc in ONE of the sip-profiles everything works correctly. But when I
>> > enable odbc in the second profile I begin to see two b-legs for ever
>> > call
>> > that I initiate. Both b-legs are directed at the same client.
>> > Does anyone have any idea why enabling odbc on two sofia profiles would
>> > cause every inbound call to generate two outbound calls? I also decided
>> > to
>> > test this problem by adding two more profiles for a total of 4. With 4
>> > profiles I get 4 b-legs. What am I doing wrong?
>> > Ryan
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>> >
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list