Sean,<br><br>Thanks for taking the time to follow up. If you get it working we'd love to have a snapshot of your configuration to put up on the wiki. <br><br>Thanks,<br>MC<br><br><div class="gmail_quote">On Tue, May 29, 2012 at 1:19 PM, Sean Devoy <span dir="ltr"><<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Anthony.<br>
<br>
First I should have pointed out that the 2 test phones are on the local Lan<br>
with the switch, NO NAT. The final task is to move them out with NAT.<br>
<br>
Second, it is working!!<br>
<br>
After I dumped everything for you I noticed one of the phones was connecting<br>
on the wrong port (sofia external, not lan). I changed it last week but it<br>
did not seem to work. Now having waited (and registrations having renewed)<br>
it is working!!<br>
<br>
Thank you for your help.<br>
<br>
Now, out to the site and their crappy router and to see if this works on<br>
through NAT.<br>
<br>
Sean<br>
-----Original Message-----<br>
From: Anthony Minessale [mailto:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>]<br>
Sent: Tuesday, May 29, 2012 3:18 PM<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] SCA not working inbound - Multi Domain<br>
<br>
enter "sofia_contact <a href="mailto:220@mydomainname.com">220@mydomainname.com</a>" at your cli and see if you get a<br>
large dial string.<br>
if you are only getting calls to one phone make sure they all work, its<br>
possible you have many phones behind the same nat and only one of them can<br>
poke through at a time.<br>
<br>
<br>
<br>
On Tue, May 29, 2012 at 12:11 PM, Sean Devoy <<a href="mailto:sdevoy@bizfocused.com">sdevoy@bizfocused.com</a>> wrote:<br>
> BUMP!<br>
><br>
> Anyone have any ideas for me?<br>
><br>
> Any other information I can provide?<br>
><br>
> Thanks.<br>
> Sean<br>
><br>
> -----Original Message-----<br>
> From: Sean Devoy [mailto:<a href="mailto:sdevoy@bizfocused.com">sdevoy@bizfocused.com</a>]<br>
> Sent: Friday, May 25, 2012 6:06 PM<br>
> To: 'FreeSWITCH Users Help'<br>
> Subject: Re: [Freeswitch-users] SCA not working inbound - Multi Domain<br>
><br>
> Here is the result of select * from sip_subscriptions;"<br>
> sip|220|<a href="http://fs_lan.bizfocused.com" target="_blank">fs_lan.bizfocused.com</a>|220|<a href="http://fs_lan.bizfocused.com" target="_blank">fs_lan.bizfocused.com</a>||call-info|"user"<br>
> <<a href="http://sip:220@10.10.40.30:5060" target="_blank">sip:220@10.10.40.30:5060</a>>|<a href="mailto:38e107ab-6cde6635@10.10.40.30">38e107ab-6cde6635@10.10.40.30</a>|"220"<br>
> <<a href="mailto:sip%3A220@fs_lan.bizfocused.com">sip:220@fs_lan.bizfocused.com</a>>;tag=fd508933c5f5924d|SIP/2.0/UDP<br>
> 10.10.40.30:5060;branch=z9hG4bK-f5598bfb|1337980638|Cisco/SPA504G-7.4.<br>
> 8a||ex<br>
> ternal|<a href="http://FreeSwitch1.sumdomain.com" target="_blank">FreeSwitch1.sumdomain.com</a>|5060|10.10.40.30|-1||"220"<br>
> <<a href="mailto:sip%3A220@fs_lan.bizfocused.com">sip:220@fs_lan.bizfocused.com</a>>;tag=VrGrXQaOH22R<br>
> sip|220|<a href="http://fs_lan.bizfocused.com" target="_blank">fs_lan.bizfocused.com</a>|220|<a href="http://fs_lan.bizfocused.com" target="_blank">fs_lan.bizfocused.com</a>||call-info|"user"<br>
> <<a href="http://sip:220@10.10.40.20:5064" target="_blank">sip:220@10.10.40.20:5064</a>>|<a href="mailto:c08f0c6a-c46e90d2@10.10.40.20">c08f0c6a-c46e90d2@10.10.40.20</a>|"Sean"<br>
> <<a href="mailto:sip%3A220@fs_lan.bizfocused.com">sip:220@fs_lan.bizfocused.com</a>>;tag=f22a978ae8838032|SIP/2.0/UDP<br>
> 10.10.40.20:5064;branch=z9hG4bK-905b6faa|1337980643|Cisco/SPA504G-7.4.<br>
> 9c||ex<br>
> ternal|<a href="http://FreeSwitch1.sumdomain.com" target="_blank">FreeSwitch1.sumdomain.com</a>|5064|10.10.40.20|-1||"Sean"<br>
> <<a href="mailto:sip%3A220@fs_lan.bizfocused.com">sip:220@fs_lan.bizfocused.com</a>>;tag=y5VtigPlIghD<br>
><br>
> But it was in:<br>
> sofia_reg_external.db not internal.<br>
><br>
> I have sorted out all the sip trace data into 2 txt files for the 2<br>
> phones involved. They are zipped up at:<br>
> <a href="http://www.bizfocused.com/sip_trace.zip" target="_blank">http://www.bizfocused.com/sip_trace.zip</a><br>
><br>
> Thank you again for your help. I am way over my head now.<br>
><br>
><br>
> -----Original Message-----<br>
> From: Anthony Minessale [mailto:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>]<br>
> Sent: Friday, May 25, 2012 2:35 PM<br>
> To: FreeSWITCH Users Help<br>
> Subject: Re: [Freeswitch-users] SCA not working inbound - Multi Domain<br>
><br>
> What are the phones putting in the subscribe ?<br>
><br>
> sofia global siptrace on<br>
> sofia global debug presence|sla<br>
><br>
> then watch for SUBSCRIBE<br>
><br>
> also when you are not using odbc you can get the sql with this app<br>
><br>
> sqlute3 /usr/local/freeswitch/db/sofia_reg_internal.db<br>
><br>
> also try "select * from sip_subscriptions"<br>
><br>
> its all about using the right host name across the board, IP's count<br>
> as hostnames, they do not magically resolve any dns with SIP<br>
><br>
><br>
><br>
><br>
> On Fri, May 25, 2012 at 1:26 PM, Sean Devoy <<a href="mailto:sdevoy@bizfocused.com">sdevoy@bizfocused.com</a>> wrote:<br>
>> Hi all,<br>
>><br>
>><br>
>><br>
>> I have a muti-tennnant configuration that is working nicely except<br>
>> for Shared Call Appearance. The desktop devices are CISCO 504Gs and<br>
>> they are configured as described in the FS Wiki as well as Cisco<br>
Documentation.<br>
>><br>
>><br>
>><br>
>> The SCA works perfectly for outbound calls – if either phone pickups<br>
>> like 220, the other phones indicator light flashes red. However,<br>
>> inbound calls will go to only one of the phones (which one has<br>
>> changed a few times) and the other phones line still just stays green<br>
>> and does not<br>
> ring.<br>
>><br>
>><br>
>><br>
>> Here is the sip interfaces config:<br>
>><br>
>> <profile name="internal"><br>
>><br>
>> <settings><br>
>><br>
>> <param name="enable-timer" value="false"/><br>
>><br>
>> <param name="user-agent-string" value="Configured by Sean!"/><br>
>><br>
>> <param name="rtp-timer-name" value="soft"/><br>
>><br>
>> <param name="codec-prefs" value="$${global_codec_prefs}"/><br>
>><br>
>> <param name="manage-shared-appearance" value="true"/><br>
>><br>
>> <param name="multiple-registrations" value="true"/><br>
>><br>
>> <param name="manage-presence" value="true"/><br>
>><br>
>> <param name="inbound-codec-negotiation" value="generous"/><br>
>><br>
>> <param name="inbound-reg-force-matching-username"<br>
>> value="true"/><br>
>><br>
>> <param name="nonce-ttl" value="86400"/><br>
>><br>
>> <param name="rfc2833-pt" value="101"/><br>
>><br>
>> <param name="manage-presence" value="true"/><br>
>><br>
>> <param name="auth-calls" value="true"/><br>
>><br>
>> <param name="sip-ip" value="10.10.40.185"/><br>
>><br>
>> <param name="rtp-ip" value="10.10.40.185"/><br>
>><br>
>> <param name="sip-port" value="5064"/><br>
>><br>
>> <param name="nat-options-ping" value="false"/><br>
>><br>
>> <param name="all-reg-options-ping" value="true"/><br>
>><br>
>> <param name="context" value="from-BFIS"/><br>
>><br>
>> </settings><br>
>><br>
>> </profile><br>
>><br>
>><br>
>><br>
>> The directory entry which both phones connect using:<br>
>><br>
>> <user id="220"><br>
>><br>
>> <variables><br>
>><br>
>> <variable name="outbound_caller_id_name" value="BFIS Sean"/><br>
>><br>
>> <variable name="outbound_caller_id_number"<br>
>> value="410420BLEEP"/><br>
>><br>
>> <variable name="internal_caller_id_name" value="Sean BLEEP"/><br>
>><br>
>> <variable name="internal_caller_id_number" value="220"/><br>
>><br>
>> <variable name="user_context" value="from-internal-BFIS"/><br>
>><br>
>> <variable name="user_originated" value="true"/><br>
>><br>
>> <variable name="toll_allow" value="domestic"/><br>
>><br>
>> <variable name="accountcode" value="220"/><br>
>><br>
>> <variable name="mwi-account" value="220@voicemail_BFIS"/><br>
>><br>
>> </variables><br>
>><br>
>> <params><br>
>><br>
>> <param name="manage-shared-appearance" value-="true" />"<br>
>><br>
>> <param name="password" value="BLEEPBLEEP"/><br>
>><br>
>> <param name="dial-string"<br>
>> value="{presence_id=<a href="mailto:220@mydomainname.com">220@mydomainname.com</a>}${sofia_contact(220@mydomain<br>
>> n<br>
>> <a href="http://ame.com" target="_blank">ame.com</a>)}"/><br>
>><br>
>> <param name="mwi-account" value="220@voicemail_BFIS"/><br>
>><br>
>> </params><br>
>><br>
>> </user><br>
>><br>
>><br>
>><br>
>> And the dial plan for ext 220:<br>
>><br>
>> <extension name="220" ><br>
>><br>
>> <condition field="destination_number" expression="^220$"><br>
>><br>
>> <action application="set"<br>
>> data="effective_caller_id_number=${internal_caller_id_number}"/><br>
>><br>
>> <action application="set"<br>
>> data="effective_caller_id_name=${internal_caller_id_name}"/><br>
>><br>
>> <action application="set" data="ringback=${us-ring}"/><br>
>><br>
>> <action application="set" data="call_timeout=20"/><br>
>><br>
>> <action application="set" data="hangup_after_bridge=true"/><br>
>><br>
>> <action application="bridge"<br>
>> data="{sip_invite_domain=<a href="http://mydomainname.com" target="_blank">mydomainname.com</a>}user/<a href="mailto:220@mydomainname.com">220@mydomainname.com</a>"<br>
>> /><br>
>><br>
>> <action application="answer"/><br>
>><br>
>> <action application="voicemail" data="default voicemail_BFIS<br>
>> 220"/><br>
>><br>
>> <action application="hangup"/><br>
>><br>
>> </condition><br>
>><br>
>> </extension><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> I did see this in the wiki<br>
>> (<a href="http://wiki.freeswitch.org/wiki/Shared_Line_Appearance" target="_blank">http://wiki.freeswitch.org/wiki/Shared_Line_Appearance</a>):<br>
>><br>
>> If SLA works for outgoing calls and SLA does not work for inbound<br>
>> calls to the SLA phones, you may have some presence problem related<br>
>> to mixed IP and domain names. When using ODBC you may issue the<br>
>> following SQL statement<br>
>><br>
>> select<br>
>> sip_to_host,sip_from_user,sip_from_host,hostname,presence_id,call_inf<br>
>> o<br>
>> from sip_dialogs;<br>
>><br>
>> But I don’t have ODBC on this server, so I am a little lost.<br>
>><br>
>><br>
>><br>
>> I have the phones login to domain names, not addresses. I never<br>
>> refer to IP addresses in my xml (except gateways addresses). I am<br>
>> not trying SLA across domain, only within the same domain.<br>
>><br>
>><br>
>><br>
>> I hope someone can spot something. Thanks for your help.<br>
>><br>
>><br>
>><br>
>> Sean<br>
>><br>
>><br>
>> _____________________________________________________________________<br>
>> _ ___ Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> Join Us At ClueCon - Aug 7-9, 2012<br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-us" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-us</a><br>
>> e<br>
>> rs<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> ______________________________________________________________________<br>
> ___ Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> Join Us At ClueCon - Aug 7-9, 2012<br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-use" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-use</a><br>
> rs<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
<br>
<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>