<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Souvenir Lt BT";
        panose-1:2 8 5 3 4 5 5 2 3 3;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
@font-face
        {font-family:"ZapfDingbats BT";}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:0cm;
        margin-right:-120.5pt;
        margin-bottom:24.0pt;
        margin-left:1.0cm;
        text-indent:-1.0cm;
        line-height:110%;
        page-break-before:always;
        page-break-after:avoid;
        mso-list:l0 level1 lfo1;
        background:white;
        border:none;
        padding:0cm;
        font-size:14.0pt;
        font-family:"Souvenir Lt BT";
        font-weight:bold;}
h2
        {margin-top:18.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:1.0cm;
        text-indent:-1.0cm;
        line-height:110%;
        page-break-after:avoid;
        mso-list:l0 level2 lfo1;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";
        font-weight:bold;}
h3
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:35.45pt;
        text-indent:-35.45pt;
        line-height:110%;
        page-break-after:avoid;
        mso-list:l0 level3 lfo1;
        background:white;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";
        font-weight:normal;
        text-decoration:underline;}
h4
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:49.65pt;
        text-indent:-49.65pt;
        line-height:110%;
        mso-list:l0 level4 lfo1;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";
        font-weight:normal;
        font-style:italic;}
h5
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        text-indent:0cm;
        line-height:110%;
        page-break-after:avoid;
        mso-list:l0 level5 lfo1;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";
        font-weight:normal;}
h6
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        text-indent:0cm;
        line-height:110%;
        mso-list:l0 level6 lfo1;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:normal;
        font-style:italic;}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        text-indent:0cm;
        line-height:110%;
        mso-list:l0 level7 lfo1;
        font-size:10.0pt;
        font-family:Arial;}
p.MsoHeading8, li.MsoHeading8, div.MsoHeading8
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        text-indent:0cm;
        line-height:110%;
        mso-list:l0 level8 lfo1;
        font-size:10.0pt;
        font-family:Arial;
        font-style:italic;}
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        text-indent:0cm;
        line-height:110%;
        mso-list:l0 level9 lfo1;
        font-size:9.0pt;
        font-family:Arial;
        font-weight:bold;
        font-style:italic;}
p.MsoToc1, li.MsoToc1, div.MsoToc1
        {margin-top:18.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";
        font-weight:bold;}
p.MsoToc2, li.MsoToc2, div.MsoToc2
        {margin:0cm;
        margin-bottom:.0001pt;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoToc3, li.MsoToc3, div.MsoToc3
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoToc4, li.MsoToc4, div.MsoToc4
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:33.0pt;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoToc5, li.MsoToc5, div.MsoToc5
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:44.0pt;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoToc6, li.MsoToc6, div.MsoToc6
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:55.0pt;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoToc7, li.MsoToc7, div.MsoToc7
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:66.0pt;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoToc8, li.MsoToc8, div.MsoToc8
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:77.0pt;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoToc9, li.MsoToc9, div.MsoToc9
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:88.0pt;
        line-height:110%;
        font-size:12.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        line-height:110%;
        font-size:9.0pt;
        font-family:"Souvenir Lt BT";}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {margin-top:0cm;
        margin-right:-120.5pt;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        line-height:110%;
        font-size:9.0pt;
        font-family:"Arial Narrow";
        color:navy;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {margin-top:0cm;
        margin-right:-120.5pt;
        margin-bottom:6.0pt;
        margin-left:0cm;
        text-align:right;
        line-height:110%;
        font-size:10.0pt;
        font-family:"Arial Narrow";}
p.MsoCaption, li.MsoCaption, div.MsoCaption
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        line-height:110%;
        background:white;
        font-size:9.0pt;
        font-family:"Souvenir Lt BT";
        font-style:italic;}
span.MsoFootnoteReference
        {vertical-align:super;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.Basis, li.Basis, div.Basis
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        line-height:110%;
        font-size:11.0pt;
        font-family:"Souvenir Lt BT";}
p.BulletListe, li.BulletListe, div.BulletListe
        {margin-top:1.0pt;
        margin-right:21.25pt;
        margin-bottom:4.0pt;
        margin-left:34.05pt;
        text-indent:-19.85pt;
        mso-list:l2 level1 lfo3;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.SkemaTekst, li.SkemaTekst, div.SkemaTekst
        {margin-top:1.0pt;
        margin-right:0cm;
        margin-bottom:1.0pt;
        margin-left:0cm;
        page-break-after:avoid;
        font-size:9.0pt;
        font-family:"Arial Narrow";}
p.SkemaHoved, li.SkemaHoved, div.SkemaHoved
        {margin-top:2.0pt;
        margin-right:0cm;
        margin-bottom:2.0pt;
        margin-left:0cm;
        text-align:center;
        page-break-after:avoid;
        font-size:9.0pt;
        font-family:"Arial Narrow";
        font-weight:bold;}
p.Hvid, li.Hvid, div.Hvid
        {margin-top:0cm;
        margin-right:-120.5pt;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        background:white;
        font-size:24.0pt;
        font-family:"Times New Roman";}
p.Kilde, li.Kilde, div.Kilde
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        background:white;
        mso-element:frame;
        font-size:9.0pt;
        font-family:"Times New Roman";
        font-weight:bold;
        font-style:italic;}
p.Kommentar, li.Kommentar, div.Kommentar
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        mso-element:frame;
        font-size:9.0pt;
        font-family:"Arial Narrow";}
p.Citat, li.Citat, div.Citat
        {margin-top:0cm;
        margin-right:14.1pt;
        margin-bottom:0cm;
        margin-left:14.2pt;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Times New Roman";
        font-style:italic;}
p.Figur, li.Figur, div.Figur
        {margin-top:0cm;
        margin-right:-5.0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle42
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
/* Page Definitions */
@page
        {mso-endnote-separator:url("cid:header.htm\@01CA8EDD.29C874C0") es;
        mso-endnote-continuation-separator:url("cid:header.htm\@01CA8EDD.29C874C0") ecs;}
@page Section1
        {size:21.0cm 842.0pt;
        margin:103.5pt 155.95pt 77.95pt 99.25pt;
        mso-footer:url("cid:header.htm\@01CA8EDD.29C874C0") f1;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:-5;
        mso-list-template-ids:-1;}
@list l0:level1
        {mso-level-style-link:"Heading 1";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level2
        {mso-level-style-link:"Heading 2";
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level3
        {mso-level-style-link:"Heading 3";
        mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level4
        {mso-level-style-link:"Heading 4";
        mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level5
        {mso-level-style-link:"Heading 5";
        mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level6
        {mso-level-style-link:"Heading 6";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level7
        {mso-level-style-link:"Heading 7";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level8
        {mso-level-style-link:"Heading 8";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l0:level9
        {mso-level-style-link:"Heading 9";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:0cm;
        mso-level-legacy-space:7.2pt;
        margin-left:0cm;
        text-indent:0cm;}
@list l1
        {mso-list-id:-2;
        mso-list-type:simple;
        mso-list-template-ids:-1;}
@list l1:level1
        {mso-level-start-at:0;
        mso-level-text:*;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0cm;
        text-indent:0cm;}
@list l2
        {mso-list-id:2129159034;
        mso-list-type:simple;
        mso-list-template-ids:462169130;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:BulletListe;
        mso-level-text:\F0E3;
        mso-level-tab-stop:34.0pt;
        mso-level-number-position:left;
        margin-left:34.0pt;
        text-indent:-19.8pt;
        mso-ansi-font-size:8.0pt;
        font-family:"ZapfDingbats BT";}
@list l1:level1 lfo2
        {mso-level-start-at:1;
        mso-level-number-format:bullet;
        mso-level-numbering:continue;
        mso-level-text:\F0E3;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        mso-level-legacy:yes;
        mso-level-legacy-indent:14.15pt;
        mso-level-legacy-space:0cm;
        margin-left:1.0cm;
        text-indent:-14.15pt;
        mso-ansi-font-size:8.0pt;
        font-family:"ZapfDingbats BT";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="2" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Durk<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>I tried the situation
mentioned by unplugging the UA. FS then reports back (via the channel variable originate_disposition):
NORMAL_TEMPORARY_FAILURE, which can then be used to take action. Before
bridging to the phone, I have set <action application="set"
data="continue_on_fail=true"/>. Hope it assists you.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Anyhow, your cat must be
very intelligent since it knows it’s a CAT cable.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>/Jon <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><strong><b><font size=2 color=navy face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial;color:navy'>Jon Brüel</span></font></b></strong><font
size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'><br>
Consiglia Telecommunications</span></font><font color=navy><span lang=EN-GB
style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>DK-2960 Rungsted Kyst<br>
Tel: +45 45 16 1000<br>
Mob: +45 26 15 30 60</span></font><font color=navy><span lang=EN-GB
style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>CVR: 27047882</span></font><font
color=navy><span lang=EN-GB style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'> </span></font><span
lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Durk.de Beer<br>
<b><span style='font-weight:bold'>Sent:</span></b> 6. januar 2010 10:04<br>
<b><span style='font-weight:bold'>To:</span></b> Freeswitch-Users <br>
<b><span style='font-weight:bold'>Subject:</span></b> [Freeswitch-users]
Detecting status of User Agent</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div style='font-face: Arial'>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><br>
<br>
</span></font><font size=2><span style='font-size:10.0pt'></span><o:p></o:p></span></font></p>
<!--                 @page { margin: 2cm }                 P { margin-bottom: 0.21cm } -->
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span style='font-face: Arial'><span
style='font-face: Arial'><font size=2 face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'>Ok I want to do the following thing.
If an user agent (UA), some SIP-client for instance X-lite</span><span
style='font-face: Arial'>, is of line the call is to be forwarded to an phone
number provided by the user how was called.</span><o:p></o:p></span></font></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt;font-face: Arial'><span
style='font-face: Arial'><span style='font-face: Arial'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>I
succeed doing this if there is no registration for the number dialled. FS is
then reporting an USER_NOT_REGISTERED so I am able to alter the dial plan
accordingly and redirect the call. So far so good. Now my problem arises when
there is an registration on FS but the UA is not online for what ever reason
(my cat seems to like to chew on CAT5 cable). If this occurs FS is trying to
bridge but it is unable to because there is no response from the UA called. It
ends by a RECOVERY_ON_TIMER_EXPIRE but the time it takes for this to happen is
far to long. I've tried to set this variable but failed to do so. Other channel
variables seem to be only effective if there's an successful bridge. So how do
I set the RECOVERY_ON_TIMER_EXPIRE?</span><o:p></o:p></span></font></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt;font-face: Arial'><span
style='font-face: Arial'><font size=2 face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'><br>
<br>
<o:p></o:p></span></font></p>
</span>
<p style='margin-bottom:0cm;margin-bottom:.0001pt;font-face: Arial'><span
style='font-face: Arial'><font size=2 face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'><br>
<br>
<o:p></o:p></span></font></p>
</span>
<p style='margin-bottom:0cm;margin-bottom:.0001pt;font-face: Arial'><span
style='font-face: Arial'><span style='font-face: Arial'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Durk </span><o:p></o:p></span></font></span></p>
<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>