[Freeswitch-users] Shared Call Appearance and Transferring Calls on Cisco SPA504G

Colin Mason cmason at frontiernetworks.ca
Sat Aug 25 01:23:48 MSD 2012


Give me some more time and I will get you a full pcap of what is going on.

After more troubleshooting this issue I've found that I can get transferring to work on one of my SIP profiles. I have 2 profiles that phones register to. One is on the internet and one is on my LAN. I have 3 phones registering from my LAN (mpls sip profile) and 3 phones registering from the internet (internet sip profile). There are 6 SIP accounts in total.

if I call the LAN phones (mpls profile) I am able to put a call on hold and pick it up using another phone.

If I call the internet phones (internet profile) I am NOT able to put a call on hold and pick it up using another phone and the behavior I described earlier occurs.
The LAN phones and the internet phones both send an invite when trying to pickup a held call. The only difference in the invites is the domain so this should be a FreeSWITCH configuration issue:

LAN:
   INVITE sip:149.x.x.x SIP/2.0
   From: "Line 1" <sip:B105_1 at 149.x.x.x>;tag=603fbd37915ee220o0
   To: "Line 1" <sip:B105_1 at 149.x.x.x>


Internet:
   INVITE sip:192.168.30.40 SIP/2.0
   From: "Line 1" <sip:B102_1 at 192.168.30.40>;tag=1c523101af886951o0
   To: "Line 1" <sip:B102_1 at 192.168.30.40>






From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Don Dawson
Sent: Friday, August 24, 2012 3:40 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Shared Call Appearance and Transferring Calls on Cisco SPA504G


I am concerned that FS is trying to INVITE the calling user, ours doesn't do that.  Is it possible to send us a pcap trace of this?

In the mean time, here is how our SPA phones are configured.  We are sharing 3 lines on multiple phones.  The following is the same on all phones.  If you want, you can configure the 4th button as a private line (which isn't included here).  The 3 shared extensions are 121, 122 and 123.

  <CTI_Enable>no</CTI_Enable>
  <Dialog_SDP_Enable>yes</Dialog_SDP_Enable>
  <Linksys_Key_System>no</Linksys_Key_System>

  <Share_Call_Appearance_1_>shared</Share_Call_Appearance_1_>
  <Share_Call_Appearance_2_>shared</Share_Call_Appearance_2_>
  <Share_Call_Appearance_3_>shared</Share_Call_Appearance_3_>
  <Extension_1_>1</Extension_1_>
  <Extension_2_>2</Extension_2_>
  <Extension_3_>3</Extension_3_>
  <Short_Name_1_>Line 1</Short_Name_1_>
  <Short_Name_2_>Line 2</Short_Name_2_>
  <Short_Name_3_>Line 3</Short_Name_3_>
  <Share_Ext_1_>shared</Share_Ext_1_>
  <Share_Ext_2_>shared</Share_Ext_2_>
  <Share_Ext_3_>shared</Share_Ext_3_>
  <Shared_User_ID_1_>121</Shared_User_ID_1_>
  <Shared_User_ID_2_>122</Shared_User_ID_2_>
  <Shared_User_ID_3_>123</Shared_User_ID_3_>
  <Display_Name_1_>Line 1</Display_Name_1_>
  <Display_Name_2_>Line 2</Display_Name_2_>
  <Display_Name_3_>Line 3</Display_Name_3_>
  <User_ID_1_>121</User_ID_1_>
  <User_ID_2_>122</User_ID_2_>
  <User_ID_3_>123</User_ID_3_>

The FS profile
    <param name="manage-shared-appearance" value="true"/>
    <param name="manage-presence" value="true"/>
    <param name="dbname" value="share_presence"/>
    <param name="presence-hosts" value="_DISABLED_"/>
    <param name="multiple-registrations" value="true"/>
    <param name="send-presence-on-register" value="true"/>





On 8/24/2012 12:52 PM, Colin Mason wrote:
Each phone is setup like:

Button 1: user_1
Button 2: user_2
Button 3: user_3

So for the 3 phones with 3 lines each there are 3 SIP accounts in total, not 9. I believe it's setup properly

Colin

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andrew Cassidy
Sent: Friday, August 24, 2012 1:46 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Shared Call Appearance and Transferring Calls on Cisco SPA504G

How is the SLA set up?

To my knowledge for 'true' SLA you need to set them all up using the same SIP account. Again, not something I've tried and Don appears to be better equipped to help you than I so may be able to clarify the correct setup for us?

Thanks
On 24 August 2012 18:18, Colin Mason <cmason at frontiernetworks.ca<mailto:cmason at frontiernetworks.ca>> wrote:
Thanks for the replies.

I tried a few of Andrew's suggestions and I was still unable to get call pickup (transfer?) working properly.

Don, I am seeing different behavior. When I press hold on phone 1, I get an invite from phone 1 with SDP of 0.0.0.0 which puts the call on hold.

-          Phone 2's button changes to indicate that the call is on hold.

-          I then press the button to pickup the call from hold and phone 2 sends an invite to FreeSWITCH with the username associated with that button. (this may be an issue?)

-          FreeSWITCH attemps to dial the user associated with the button I pressed on phone 2.

-          Because this user already has a call active and I limit all my users to 1 concurrent call, FreeSWITCH rolls over to the second user.

-          Phone 1 and phone 2 receive a call on line 2 and line 1 never drops throughout this process.

I suspect my problem is more of a configuration issue on the phone or FreeSWITCH.

Colin

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Don Dawson
Sent: Friday, August 24, 2012 12:20 PM
To: freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Shared Call Appearance and Transferring Calls on Cisco SPA504G


We have used the shared line feature for some time now.  What actually happens when the call is picked up by the second phone sends an INVITE to FS and FS connects the call to the second phone, there isn't a transfer (REFER) between the phones because they are sharing that call.

What we have found is this worked before version 1.2.0 and now there is a problem.  Could you verify what you're experiencing when you pick the call on phone 2, is the call drops because FS is sending BYE to the phone that picked up the call and the caller?  The other phones have their lights go green because they are sent a NOTIFY with the appearance-state=idle.  In the SIP trace you should see an INVITE from the second phone, 200 OK,  BYEs and then NOTIFYs.  Is so, then you are experiencing the same issue we are.
Mike


On 8/23/2012 9:33 AM, Colin Mason wrote:
So I have been experimenting with a key system for an office with 3 Cisco SPA504G phones and FreeSWITCH 1.2.1. They require 3 shared lines. I have inbound and outbound calls working properly with the shared lines and the phones are configured properly with shared lines, Broadcom etc. Visually everything seems to work with the line notifications on the 3 phones.

My internal profile has:

    <param name="manage-shared-appearance" value="true"/>
    <param name="manage-presence" value="true"/>
    <param name="dbname" value="share_presence"/>
    <param name="presence-hosts" value="$${domain}"/>
    <param name="multiple-registrations" value="true"/>
    <param name="force-register-domain" value="$${domain}"/>
    <param name="force-subscription-domain" value="$${domain}"/>
    <param name="force-register-db-domain" value="$${domain}"/>
    <param name="presence-probe-on-register" value="true"/>
    <param name="presence-privacy" value="$${presence_privacy}"/>
    <param name="send-presence-on-register" value="true"/>

I am having problems with transferring calls. If I put a call on hold on phone 1 and press the line 1 button on phone 1, the call resud ames just fine. But if I put a call on hold on phone 1 and try to resume the call on phone 2 by pressing the blinking red line 1 button, the phone tries to establish a new call to the user associated with line 1 instead of taking (transferring) the call from phone 1 to phone 2.

I was wondering if anybody could help?

Colin Mason




_________________________________________________________________________

Professional FreeSWITCH Consulting Services:

consulting at freeswitch.org<mailto:consulting at freeswitch.org>

http://www.freeswitchsolutions.com









Official FreeSWITCH Sites

http://www.freeswitch.org

http://wiki.freeswitch.org

http://www.cluecon.com



FreeSWITCH-users mailing list

FreeSWITCH-users at lists.freeswitch.org<mailto: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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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



--
Andrew Cassidy BSc (Hons) MBCS SSCA
Managing Director
[http://c1170247.r47.cf3.rackcdn.com/emailsig.png]

T<mailto:info at cassidywebservices.co.uk> 03300 100 960  F<mailto:info at cassidywebservices.co.uk> 03300 100 961
E<mailto:info at cassidywebservices.co.uk> andrew at cassidywebservices.co.uk<mailto:andrew at cassidywebservices.co.uk>
W<mailto:info at cassidywebservices.co.uk> www.cassidywebservices.co.uk<http://www.cassidywebservices.co.uk>





_________________________________________________________________________

Professional FreeSWITCH Consulting Services:

consulting at freeswitch.org<mailto:consulting at freeswitch.org>

http://www.freeswitchsolutions.com









Official FreeSWITCH Sites

http://www.freeswitch.org

http://wiki.freeswitch.org

http://www.cluecon.com



FreeSWITCH-users mailing list

FreeSWITCH-users at lists.freeswitch.org<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120824/d1b6c871/attachment-0001.html 


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