[Freeswitch-users] Intercom
andrew
andrew_nh at yahoo.com
Thu Mar 6 11:51:33 PST 2008
I want to get intercom working on FreeSWITCH with an
Aastra phone. There is some code that does this
already in the default config files.
----------------------------------
<action
application="export"><![CDATA[sip_h_Call-Info=<sip:$${domain}>;answer-after=0]]></action>
<action application="export"
data="sip_auto_answer=true"/>
<action application="bridge"
data="user/${dialed_ext}@$${domain}"/>
----------------------------------
But it doesnt seem to work on the Aastra.
I have this code in Asterisk that does intercom my
Aastra phone
----------------------------------
exten => s,n,Set(ALERTINFO=Alert-Info: Ring Answer)
exten => s,n,Set(CALLINFO=Call-Info:
<uri>\;answer-after=0)
exten => s,n,Set(SIPURI=intercom=true)
exten => s,n,ExecIf($["${ALERTINFO}" !=
""],SipAddHeader,${ALERTINFO})
exten => s,n,ExecIf($["${CALLINFO}" !=
""],SipAddHeader,${CALLINFO})
exten => s,n,ExecIf($["${SIPURI}" !=
""],Set,__SIP_URI_OPTIONS=${SIPURI})
----------------------------------
Looks like I need to get the "Alert-Info: Ring Answer"
and the "set sip uri options intercom=true" parts
working in FreeSWITCH. Any idea how to do this?
-Andrew
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the FreeSWITCH-users
mailing list