[Freeswitch-users] presence in linksys spa932

Vladimir Elizarov xengelpublicx at gmail.com
Fri Jun 18 00:35:55 PDT 2010


i'm change dialplan with call_limit:
 <extension name="Local_Extension">
      <condition field="destination_number" expression="^([1-2][0-2][0-9])$">
	<action application="set" data="dialed_extension=$1"/>
	<action application="export" data="dialed_extension=$1"/>
	<action application="export" data="RECORD_STEREO=true"/>
	<action application="bind_meta_app" data="1 b s execute_extension::dx
XML features"/>
	<action application="bind_meta_app" data="2 a s
record_session::$${recordprefix}/${caller_id_number}.${destination_number}.${strftime(%Y-%m-%d-%H-%M)}.wav"/>
        <action application="hash"
data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/>
        <action application="hash"
data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/>
        <action application="set"
data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
var callgroup)}"/>
        <action application="hash"
data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/>
      </condition>
      <condition field="destination_number" expression="^100$" break="on-true">
	<action application="set" data="call_timeout=60"/>
        <action application="answer"/>
	<action application="set" data="transfer_ringback=$${hold_music}"/>
	<action application="bridge" data="user/${dialed_extension}@$${domain}"/>
      </condition>
      <condition field="destination_number" expression="^${caller_id_number}$">
	<action application="set" data="voicemail_authorized=${sip_authorized}"/>
	<action application="answer"/>
	<action application="sleep" data="1000"/>
	<action application="voicemail" data="check default $${domain}
${dialed_extension}"/>
	<anti-action application="limit" data="$${domain} ${destination_number} 1"/>
	<anti-action application="set" data="transfer_ringback=$${hold_music}"/>
	<anti-action application="set" data="ringback=$${ru-ring}"/>
	<anti-action application="set" data="call_timeout=15"/>
	<anti-action application="set" data="hangup_after_bridge=true"/>
	<anti-action application="set" data="continue_on_fail=true"/>
	<anti-action application="bridge"
data="{ignore_early_media=true}${sofia_contact(internal/${dialed_extension}@$${domain})}"/>
	<anti-action application="transfer"
data="not_answer-${dialed_extension} XML default"/>
      </condition>
    </extension>

then the state spa932 phone for incoming calls stopped working. Always
light green.

On Thu, Jun 17, 2010 at 4:57 PM, Vladimir Elizarov
<xengelpublicx at gmail.com> wrote:
>  I found a bug in the presence of the linksys spa932 (configure this
> article: http://wiki.freeswitch.org/wiki/Interop_List#Linksys_SPA932).
> If during the
> conversation (lamp on) to the subscriber, someone called, the lamp on
> the panel goes into the state off. Who can verify whether he has
> reproduced the same problem?
>
> Unit key: fnc=blf+sd+cp;sub=110@$PROXY
>
> freeswitch 1.0.6 (git 10 06 2010)
>
> Linksys spa962:
> Software Version:       6.1.3(a)
> Hardware Version:       1.0.3(917f)
>
> Linksys spa932
> Unit Enable:    Yes     Unit Online:    Yes
> Subscribe Expires:      600     Subscribe Retry Interval:       6
> HW Version:     1.0.6   SW Version:     2.0.2
>
> Configure image:
> http://img192.imageshack.us/img192/2320/linksysspa932.png
>
> --
> Best regards, Vladimir Elizarov
>



-- 
Best regards, Vladimir Elizarov



More information about the FreeSWITCH-users mailing list