[Freeswitch-users] Intercom
Brian West
brian.west at mac.com
Thu Mar 6 19:38:58 PST 2008
Thats because you actually dialed 81000 change ${dialed_ext} to $1
On Mar 6, 2008, at 8:21 PM, andrew wrote:
> That didn't work. For some reason as soon as I added
> the ";intercom=true" to the end of the line it tries
> to call 81000 not 1000 and the call fails. Here is
> what I have after your change to sofia from user. This
> works fine without the ;intercom=true.
>
>
> <extension name="extension-intercom">
> <condition field="destination_number"
> expression="^8(10[01][0-9])$">
> <action application="set" data="dialed_ext=$1"/>
> <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="sofia/$${domain}/${dialed_ext}"/>
> </condition>
> </extension>
>
>
> I need the sip packet to look like this
More information about the FreeSWITCH-users
mailing list