<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Trebuchet MS";}
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:"Trebuchet MS";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
address
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:42.55pt 42.55pt 42.55pt 42.55pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hey guys,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Finally have the proper logic in place to cope with
offline messages and messages to UAs that don&#8217;t support the MESSAGE
method&#8230; however, at the end of the REGISTER block in my ser.cfg I try and
call mdump() to make sure any offline messages are delivered to the UA&#8230;.&nbsp;
However when registering with a UA which doesn&#8217;t support MESSAGE method (I
haven&#8217;t got one which does support it right now..) I get the following: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Jul 22 11:29:20 sip /usr/sbin/ser[23423]: MESSAGING:
Offline messages dumped<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Jul 22 11:29:20 sip /usr/sbin/ser[23418]: ERROR:
udp_send: sendto(sock,0xbd72b0f8,633,0,0xbd72a<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>464,16): Invalid argument(22)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Jul 22 11:29:20 sip /usr/sbin/ser[23418]: CRITICAL:
invalid sendtoparameters one possible reaso<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>n is the server is bound to localhost and attempts to
send to the net<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Jul 22 11:29:20 sip /usr/sbin/ser[23418]: msg_send:
ERROR: udp_send failed<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Jul 22 11:29:20 sip /usr/sbin/ser[23418]: ERROR:
t_forward_nonack: sending request failed<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Jul 22 11:29:20 sip /usr/sbin/ser[23418]: ACC:
transaction answered: method=MESSAGE, i-uri=sip:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>admin@sip.dev.inmarsat.com,
o-uri=sip:admin@81.86.136.86:5060, call_id=1bcf7e00-23423@161.30.94<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>.68,
from=sip:test1@sip.dev.inmarsat.com;tag=533cb9e91f4b999cf76861cbb9ed54ed-57d2,
code=477<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Is this perhaps because m_dump() is trying to send it
to the UA even though the UA does not support MESSAGE?&nbsp; If so, is there a
way I can catch it? &nbsp;Does the registration process interrogate the UA as
to which methods it supports? Perhaps if this is the case, I could only do an
m_dump() if the UA supported messages? Or does m_dump() have its own error
handling somewhere?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Sorry for all the questions! <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>NB. I don&#8217;t get this message when sending an IM
to an offline or an online-but-message-unsupported-UA&#8230; only as part of
the m_dump in my register block&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Many thanks in advance,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Dave<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<address><i><font size=1 color=black face=Verdana><span style='font-size:7.5pt;
font-family:Verdana;color:black'>-------------------------------------</span></font><o:p></o:p></i></address>

<address><st1:PersonName w:st="on"><i><font size=1 color=black face=Verdana><span
 style='font-size:7.5pt;font-family:Verdana;color:black'>Dave Bath</span></font></i></st1:PersonName><o:p></o:p></address>

<address><i><font size=1 color=black face=Verdana title="mailto:dave@fuuz.com"><span
title="mailto:dave@fuuz.com"><span style='font-size:7.5pt;font-family:Verdana;
color:black'><a href="mailto:dave@fuuz.com">dave@fuuz.com</a></span></span></font><o:p></o:p></i></address>

<address><i><font size=1 color=black face=Arial title="mailto:dave@fuuz.com"><span
title="mailto:dave@fuuz.com"><span style='font-size:7.5pt;font-family:Arial;
color:black'><a href="http://www.fuuz.com">www.fuuz.com</a></span></span></font><o:p></o:p></i></address>

<address><i><font size=1 color=black face=Verdana><span style='font-size:7.5pt;
font-family:Verdana;color:black'>07736 232085</span></font><o:p></o:p></i></address>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color=black face=Verdana><span lang=EN-GB style='font-size:7.5pt;
font-family:Verdana;color:black'>NOTE: The information contained in this email
is intended for the named recipients only, it may be privileged and
confidential. If you are not the intended recipient, you must not copy
distribute or take any action in reliance upon it. No warranties or assurances
are made in relation to the safety and content of this email and any attachments.
No liability is accepted for any consequences arising from it</span></font><span
lang=EN-GB><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-GB
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>