<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I will Michael. Unfortunately, I cannot get it to work through their gateways/routers.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am opening a new thread for NAT issues and will followup with the working config when we have it.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Michael Collins [mailto:msc@freeswitch.org] <br><b>Sent:</b> Tuesday, May 29, 2012 4:30 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] SCA not working inbound - Multi Domain<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>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<o:p></o:p></p><div><p class=MsoNormal>On Tue, May 29, 2012 at 1:19 PM, Sean Devoy <<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>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">+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">+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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>