as I expected, you have IP addrs in the table which do not match your domain name.
the phones behind nat should have your domain name in them same as the local phones.
And the proxy addr should be set to the ip.

If the IP and the DOMAIN do not match you will get mismatches.
Most people make the false assumption that this is like dns where the ip and hostname are interchangeable.

We can look at making a patch to force the hostname to always be the right value in the db like we do for reg possibly.



On Tue, Feb 16, 2010 at 12:25 AM, Gabriel Kuri <gkuri@ieee.org> wrote:
Yeah, the domain name matches on the internal profile.

Thanks for all your help, I can arrange ssh access tomorrow, today
just wasn't one of those good days to do so, I've been running in and
out too much to coordinate it.

Here's the pastebin for the sip_dialogs table while the call is up ...

    http://pastebin.freeswitch.org/12159

Thanks,
Gabe


On Mon, Feb 15, 2010 at 3:31 PM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
> Do the domain names match on what the remote phones are using?
>
> When the call is active, can you attach to sqlite with the sqlite3 app and
> select * from sip_dialogs
>
> sqlite3 /usr/local/freeswitch/db/sofia_reg_internal.db
>> select * from sip_dialogs;
>
> remember to do it while the call is up.
>
>
> I am going to bet the domain name in that table is not the same as your
> actual domain.
>
>
> I tried to make this easier by asking to ssh to your box and work with you
> to fix it but now 9 hours later its starting to resemble diffusing a bomb
> over a telegraph wire.
>
>
>
>
> On Mon, Feb 15, 2010 at 4:56 PM, Gabriel Kuri <gkuri@ieee.org> wrote:
>>
>> Yes, the two phones being called (SPA-509Gs) have SCA enabled and it
>> works when making outgoing calls from those phones. But incoming calls
>> to those two phones don't seem to have the line key light up on the
>> other phone when one of the phones is answered (same extension).
>>
>> Thanks,
>> Gabe
>>
>> On Mon, Feb 15, 2010 at 1:17 PM, Peder <peder@networkoblivion.com> wrote:
>> > On the phone itself, do you have the line set to shared and “Broadsoft
>> > SCA”
>> > enabled?
>> >
>> >
>> >
>> > From: freeswitch-users-bounces@lists.freeswitch.org
>> > [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of
>> > Anthony
>> > Minessale
>> > Sent: Monday, February 15, 2010 3:04 PM
>> > To: freeswitch-users@lists.freeswitch.org
>> > Subject: Re: [Freeswitch-users] Broadsoft SCA w/ Cisco SPA-5xx series
>> >
>> >
>> >
>> > you are missing something because you have no seize events when you go
>> > on
>> > and off hook.
>> > is every phone in the correct mode?
>> >
>> > On Mon, Feb 15, 2010 at 2:53 PM, Gabriel Kuri <gkuri@ieee.org> wrote:
>> >
>> > No, that was a typo. I have it correct in the config file.
>> >
>> > Gabe
>> >
>> > On Mon, Feb 15, 2010 at 12:34 PM, Peder <peder@networkoblivion.com>
>> > wrote:
>> >
>> >> Is this a typo "managed-shared-appeareance=true" or is there an extra e
>> >> in
>> >> appearance in your config?
>> >>
>> >> -----Original Message-----
>> >> From: freeswitch-users-bounces@lists.freeswitch.org
>> >> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of
>> >> Gabriel
>> >> Kuri
>> >> Sent: Monday, February 15, 2010 1:48 PM
>> >> To: freeswitch-users@lists.freeswitch.org
>> >> Subject: Re: [Freeswitch-users] Broadsoft SCA w/ Cisco SPA-5xx series
>> >>
>> >> OK, I don't know what happened there, here's another one with the
>> >> NOTIFYs. I'm on trunk rev 16633 and I have
>> >> "managed-shared-appeareance=true" on the internal profile. I'm just
>> >> making calls between internal phones.
>> >>
>> >>     http://pastebin.freeswitch.org/12153
>> >>
>> >> Thanks,
>> >> Gabe
>> >>
>> >> On Mon, Feb 15, 2010 at 11:04 AM, Anthony Minessale
>> >> <anthony.minessale@gmail.com> wrote:
>> >>> I don't see any notifies at all in this trace do the profiles in
>> >>> question
>> >>> have:
>> >>> manage-shared-appearance set to true?
>> >>> and are you on latest trunk?
>> >>>
>> >>>
>> >>> On Mon, Feb 15, 2010 at 12:55 PM, Anthony Minessale
>> >>> <anthony.minessale@gmail.com> wrote:
>> >>>>
>> >>>> we log the sql stmts on err so they are red and easier to read.
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Mon, Feb 15, 2010 at 12:48 PM, Gabriel Kuri <gkuri@ieee.org>
>> >>>> wrote:
>> >>>>>
>> >>>>> Here's a call from ext 2551 to 2552 (two phones). I noticed a bunch
>> >>>>> of
>> >>>>> errors related to SQL UPDATE for presence ...
>> >>>>>
>> >>>>>     http://pastebin.freeswitch.org/12152
>> >>>>>
>> >>>>> Thanks,
>> >>>>> Gabe
>> >>>>>
>> >>>>>
>> >>>>> On Mon, Feb 15, 2010 at 8:32 AM, Anthony Minessale
>> >>>>> <anthony.minessale@gmail.com> wrote:
>> >>>>> > it should be active not seized.
>> >>>>> > seized is when you take it off hook.
>> >>>>> >
>> >>>>> > We need some more debugging to be sure.
>> >>>>> > Can we work in real time on it or can you get a more detailed log?
>> >>>>> >
>> >>>>> > edit sofia.conf.xml and add the param to the "settings" section.
>> >>>>> >
>> >>>>> > <param name="debug-sla" value="100"/>
>> >>>>> >
>> >>>>> >
>> >>>>> > then restart and enable sip trace and debug level
>> >>>>> >
>> >>>>> > //do this for every profile involved in the call.
>> >>>>> > sofia profile <profilename> siptrace on
>> >>>>> >
>> >>>>> > //also do this
>> >>>>> > console loglevel debug
>> >>>>> >
>> >>>>> >
>> >>>>> > if you can let us ssh, we can do all the for you if you can make
>> >>>>> > the
>> >>>>> > test
>> >>>>> > calls.
>> >>>>> >
>> >>>>> >
>> >>>>> >
>> >>>>> >
>> >>>>> > On Sun, Feb 14, 2010 at 11:59 PM, Gabriel Kuri <gkuri@ieee.org>
>> >>>>> > wrote:
>> >>>>> >>
>> >>>>> >> BTW, here's a copy of the NOTIFY (event call-info) sent to the
>> >>>>> >> other
>> >>>>> >> phone after the first phone is answered, should this have a
>> >>>>> >> Call-Info
>> >>>>> >> line with an "appearance-state=seized" to turn on the light on
>> >>>>> >> the
>> >>>>> >> other phone?
>> >>>>> >>
>> >>>>> >>
>> >>>>> >> NOTIFY sip:2551@<removed>:54446 SIP/2.0.
>> >>>>> >> Via: SIP/2.0/UDP
>> >>>>> >> <removed>:9430;rport;branch=z9hG4bK71pN2cXgH851K.
>> >>>>> >> Max-Forwards: 70.
>> >>>>> >> From: <sip:2551@mydomain.com>;tag=XeB6ZrKDevpHp.
>> >>>>> >> To: <sip:2551@mydomain.com>;tag=c2d34993aac6ea.
>> >>>>> >> Call-ID: 34c34987-8b6fa786@<removed>.
>> >>>>> >> CSeq: 126950830 NOTIFY.
>> >>>>> >> Contact: <sip:2551@<removed>:9430>.
>> >>>>> >> Expires: 3959.
>> >>>>> >> Call-Info:
>> >>>>> >> <sip:mydomain.com>;appearance-index=*;appearance-state=idle.
>> >>>>> >> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16633M.
>> >>>>> >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> >>>>> >> REGISTER, REFER, PRACK, NOTIFY, PUBLISH, SUBSCRIBE.
>> >>>>> >> Supported: 100rel, timer, precondition, path, replaces.
>> >>>>> >> Event: call-info.
>> >>>>> >> Allow-Events: talk, presence, dialog, line-seize, call-info, sla,
>> >>>>> >> include-session-description, presence.winfo, message-summary,
>> >>>>> >> refer.
>> >>>>> >> Subscription-State: active;expires=3959.
>> >>>>> >> Content-Length: 0.
>> >>>>> >>
>> >>>>> >>
>> >>>>> >>
>> >>>>> >> On Sun, Feb 14, 2010 at 7:58 PM, Brian West
>> >>>>> >> <brian@freeswitch.org>
>> >>>>> >> wrote:
>> >>>>> >> > Works fine here... is your box slow or something?
>> >>>>> >> >
>> >>>>> >> > /b
>> >>>>> >> >
>> >>>>> >> > On Feb 14, 2010, at 1:03 PM, Gabriel Kuri wrote:
>> >>>>> >> >
>> >>>>> >> >> I followed Brian's directions from one of the previous threads
>> >>>>> >> >> on
>> >>>>> >> >> configuring the SPA-5xx series phones for Broadsoft SCA and
>> >>>>> >> >> set
>> >>>>> >> >> manage-shared-appearance=true in the internal profile. SCA
>> >>>>> >> >> appears
>> >>>>> >> >> to
>> >>>>> >> >> be working on outgoing calls between two phones, the line key
>> >>>>> >> >> starts
>> >>>>> >> >> flashing red on the second phone when the first phone picks up
>> >>>>> >> >> the
>> >>>>> >> >> receiver to make a call. However on incoming calls, both
>> >>>>> >> >> phones
>> >>>>> >> >> ring
>> >>>>> >> >> (same extension), however when one of the phones picks up the
>> >> line,
>> >>>>> >> >> the second phone's line key doesn't flash red or show the
>> >>>>> >> >> first
>> >>>>> >> >> phone
>> >>>>> >> >> on that incoming call. Any ideas? Does shared appearance only
>> >>>>> >> >> work
>> >>>>> >> >> on
>> >>>>> >> >> outgoing phone calls?
>> >>>>> >> >>
>> >>>>> >> >> Thanks,
>> >>>>> >> >> Gabe
>> >>>>> >> >
>> >>>>> >> >
>> >>>>> >> > _______________________________________________
>> >>>>> >> > FreeSWITCH-users mailing list
>> >>>>> >> > FreeSWITCH-users@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@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@hotmail.com
>> >>>>> > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
>> >>>>> > IRC: irc.freenode.net #freeswitch
>> >>>>> >
>> >>>>> > FreeSWITCH Developer Conference
>> >>>>> > sip:888@conference.freeswitch.org
>> >>>>> > iax:guest@conference.freeswitch.org/888
>> >>>>> > googletalk:conf+888@conference.freeswitch.org
>> >>>>> > pstn:+19193869900
>> >>>>> >
>> >>>>> > _______________________________________________
>> >>>>> > FreeSWITCH-users mailing list
>> >>>>> > FreeSWITCH-users@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@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@hotmail.com
>> >>>> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
>> >>>> IRC: irc.freenode.net #freeswitch
>> >>>>
>> >>>> FreeSWITCH Developer Conference
>> >>>> sip:888@conference.freeswitch.org
>> >>>> iax:guest@conference.freeswitch.org/888
>> >>>> googletalk:conf+888@conference.freeswitch.org
>> >>>> pstn:+19193869900
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Anthony Minessale II
>> >>>
>> >>> FreeSWITCH http://www.freeswitch.org/
>> >>> ClueCon http://www.cluecon.com/
>> >>> Twitter: http://twitter.com/FreeSWITCH_wire
>> >>>
>> >>> AIM: anthm
>> >>> MSN:anthony_minessale@hotmail.com
>> >>> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
>> >>> IRC: irc.freenode.net #freeswitch
>> >>>
>> >>> FreeSWITCH Developer Conference
>> >>> sip:888@conference.freeswitch.org
>> >>> iax:guest@conference.freeswitch.org/888
>> >>> googletalk:conf+888@conference.freeswitch.org
>> >>> pstn:+19193869900
>> >>>
>> >>> _______________________________________________
>> >>> FreeSWITCH-users mailing list
>> >>> FreeSWITCH-users@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@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@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@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@hotmail.com
>> > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
>> > IRC: irc.freenode.net #freeswitch
>> >
>> > FreeSWITCH Developer Conference
>> > sip:888@conference.freeswitch.org
>> > iax:guest@conference.freeswitch.org/888
>> > googletalk:conf+888@conference.freeswitch.org
>> > pstn:+19193869900
>> >
>> > _______________________________________________
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users@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@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@hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888@conference.freeswitch.org
> iax:guest@conference.freeswitch.org/888
> googletalk:conf+888@conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900