[Freeswitch-users] update to blf on parked calls goes out.

fs fs at voice2net.ca
Wed Oct 16 05:59:35 MSD 2013


Here is the scenario.  Park a call using park+1.  Park light illuminates.  As soon as a set sends another subscriber to park+1, Freeswitch responds with a notify with state terminated.

That would seem to me to be a bug or I have a setting re park incorrect?

Darcy Primrose

SUBSCRIBE sip:park+1 at 192.168.209.153:5060;transport=udp SIP/2.0
   Via: SIP/2.0/UDP 192.168.209.2:8202;branch=z9hG4bK2012800508;rport
   From: <sip:101 at myhome.pbx2net.ca>;tag=1250658599
   To: <sip:park+1 at myhome.pbx2net.ca>;tag=LcDlvVf0Tjxb
   Call-ID: 171407988-8202-10 at BJC.BGI.CAJ.C
   CSeq: 20125 SUBSCRIBE
   Contact: <sip:101 at 192.168.209.2:8202>
   X-Grandstream-PBX: true
   Max-Forwards: 70
   User-Agent: Grandstream GXP2110 1.0.5.26
   Expires: 60
   Supported: replaces, path, timer, eventlist
   Event: dialog
   Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml
   Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
   Content-Length: 0
   
   ------------------------------------------------------------------------
send 759 bytes to udp/[192.168.209.2]:8202 at 01:55:02.425203:
   ------------------------------------------------------------------------
   SIP/2.0 202 Accepted
   Via: SIP/2.0/UDP 192.168.209.2:8202;branch=z9hG4bK2012800508;rport=8202
   From: <sip:101 at myhome.pbx2net.ca>;tag=1250658599
   To: <sip:park+1 at myhome.pbx2net.ca>;tag=LcDlvVf0Tjxb
   Call-ID: 171407988-8202-10 at BJC.BGI.CAJ.C
   CSeq: 20125 SUBSCRIBE
   Contact: <sip:1 at 192.168.209.153:5060>
   Expires: 60
   User-Agent: FreeSWITCH-mod_sofia/1.5.5b+git~20130721T031327Z~adf5e2f6ec
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Subscription-State: active;expires=60
   Content-Length: 0
   
   ------------------------------------------------------------------------
send 1090 bytes to udp/[192.168.209.78]:8204 at 01:55:02.427511:
   ------------------------------------------------------------------------
   NOTIFY sip:102 at 192.168.209.78:8204 SIP/2.0
   Via: SIP/2.0/UDP 192.168.209.153;rport;branch=z9hG4bKHe70rga87UKrj
   Max-Forwards: 70
   From: <sip:park+1 at myhome.pbx2net.ca>;tag=lPDgLOatBRrZ
   To: <sip:102 at myhome.pbx2net.ca>;tag=g8cla3d4o0
   Call-ID: 3c26702d8a01-sf05kqniay04
   CSeq: 691946427 NOTIFY
   Contact: <sip:park+1 at 192.168.209.153:5060;transport=udp>
   User-Agent: FreeSWITCH-mod_sofia/1.5.5b+git~20130721T031327Z~adf5e2f6ec
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Event: dialog
   Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Subscription-State: active;expires=2113
   Content-Type: application/dialog-info+xml
   Content-Length: 233
   
   <?xml version="1.0"?>
   <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="203" state="full" entity="sip:park+1 at myhome.pbx2net.ca">
   <dialog id="1" direction="initiator">
   <state>terminated</state>
   </dialog>
   </dialog-info>

  ----- Original Message ----- 
  From: fs 
  To: FreeSWITCH Users Help 
  Sent: Tuesday, October 15, 2013 4:42 PM
  Subject: [Freeswitch-users] blf on parked calls goes out.


  I pursued this awhile back with no results, it is still a puzzling issue.  Any help what so ever would be appreciated.

  When I park a call I get a notify message telling me the call park is confirmed.  Then at a random time, 2 seconds to 20 seconds out of the clear blue I get a message showing the call park is terminated.   The call is still active and can be picked up using the button on the phone.  The problem does not exist with extension blf.   using the console (fs_cli) at debug level 7 shows no activity at the time of the disconnect.

  using version   FreeSWITCH Version 1.5.5b+git~20130721T031327Z~adf5e2f6ec (git adf5e2f 2013-07-21 03:13:27Z)

  It seem to remember it worked correctly in the past but I am no longer sure.

  Darcy Primrose


  // this is for grandstream and yealink as well as snom parking.
  <extension name="valet_park">
        <condition field="destination_number" expression="^(park\+\d)$">    
   <action application="answer"/>
   <action application="valet_park" data="my_lot at myhome.pbx2net.ca  $1"/>
        </condition>
      </extension>
   
  // this is used to retrieve a call from park using snom.  I use snom 8.4.34, the load that works with blfs on freeswitch.
   <extension name="snom_valet_unpark">
       <condition field="${sip_to_params}" expression="proto=park"/>
    <condition field="destination_number" expression="^(\d{1})$">
    <action application="log" data="INFO 1 for Darcy unpark [${sip_to_params}]"/>
     <action application="answer"/>
     <action application="valet_park" data="my_lot at myhome.pbx2net.ca park+$1"/>
    </condition>
      </extension>


     <?xml version="1.0"?>
     <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="19" state="full" entity="sip:park+1 at myhome.pbx2net.ca">
     <dialog id="park+1" direction="initiator">
     <state>confirmed</state>
     <local>
     <identity display="park">sip:1 at myhome.pbx2net.ca;proto=park</identity>
     <target uri="sip:1 at myhome.pbx2net.ca;proto=park">
     <param pname="+sip.rendering" pvalue="no"/>
     </target>
     </local>
     <remote>
     <identity display="park">sip:park+1</identity>
     <target uri="sip:park+park+1"/>
     </remote>
     </dialog>
     </dialog-info>


     <?xml version="1.0"?>
     <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="15" state="full" entity="sip:park+2 at myhome.pbx2net.ca">
     <dialog id="2" direction="initiator">
     <state>terminated</state>
     </dialog>
     </dialog-info>



------------------------------------------------------------------------------


  _________________________________________________________________________
  Professional FreeSWITCH Consulting Services:
  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
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org



------------------------------------------------------------------------------


  No virus found in this message.
  Checked by AVG - www.avg.com
  Version: 2014.0.4158 / Virus Database: 3609/6738 - Release Date: 10/10/13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131015/c15b218b/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list