<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’ve been struggling getting sipsak to perform srv lookups. I have exhausted my options and wanted to reach out and see if there was any input.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I compiled c-ares library and afterwards compiled sipsak, sipsak configure script detected the c-ares librarys, however when performing any sipsak command in which requires srv lookup I get a segmentation fault.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Anyone seen this or have another recommendation?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>Daniel W. Graham<br><b>Sent:</b> Saturday, March 16, 2013 12:47 AM<br><b>To:</b> Kamailio (SER) - Users Mailing List<br><b>Subject:</b> Re: [SR-Users] Message Waiting<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Yep, that was it. I forgot the port is included in the dispatcher list. Once I made the changes the forward worked. Now just to address sipsak srv lookups so I can make it work with multi-domain and it should be set.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks again!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Dan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a> [<a href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>] <b>On Behalf Of </b>Charles Chance<br><b>Sent:</b> Friday, March 15, 2013 5:43 PM<br><b>To:</b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List<br><b>Subject:</b> Re: [SR-Users] Message Waiting<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p>From past experience you may need to add another entry to the dispatcher list with a different setid because no doubt sipsak is sending the notify from a different port to that which Asterisk is listening on.<o:p></o:p></p><p>Eg. setid - 10, destination - <a href="sip:%3casterisk_ip%3e:5065">sip:<asterisk_ip>:5065</a><o:p></o:p></p><p>Then - if(ds_is_from_list("10"))...<o:p></o:p></p><p>Cheers,<o:p></o:p></p><p>Charles<o:p></o:p></p><div style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt'><p class=MsoNormal>Thanks to all for the input. I wrote a script to call sipsak to generate the notify and all seems to be working, however am having issues getting kamailio to forward to the endpoint.<br><br>The notify is sent unsolicited so I figured I could just add a statement such as:<br><br>if(is_method("NOTIFY") && ds_is_from_list("1")){<br>                route(LOCATION);<br>.....etc<br><br>(asterisk server sending notify is in the ds list.)<br><br>What would be the proper way for kamailio to handle this?<br><br>-----Original Message-----<br>From: <a href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a> [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>] On Behalf Of Juha Heinanen<br>Sent: Thursday, March 14, 2013 3:44 PM<br>To: Kamailio (SER) - Users Mailing List<br>Subject: Re: [SR-Users] Message Waiting<br><br>Jon Farmer writes:<br><br>> > I have also seen a couple of script methods that look at the<br>> > voicemail directory structure for file changes and trigger an<br>> > application like sipsak to generate the notifications and let<br>> > kamailio relay them. From what I see, the consensus is not to go<br>> > this route. In my case the script would need to look at the database<br>> > level, and maybe some sort of database trigger could be used.****<br>...<br>> ><br>> I have been using sipsak to generate the NOTIFY for the last 7 years.<br>> It never has caused an issue. I have a setup similar to you but I<br>> wrote a customer voicemail application in AGI instead of using the<br>> built in Asterisk app.<br><br>my sems voicemail application is using xmlrpc to make pua_publish call to presence server when status of user's message box changes.<br><br>-- juha<br><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br><br><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p></div><p class=MsoNormal><br><span style='font-size:10.0pt;font-family:"Helvetica","sans-serif"'><a href="http://www.sipcentric.com/" target="_blank" title="blocked::http://www.sipcentric.com/">www.sipcentric.com</a><br><br>Follow us on twitter <a href="http://twitter.com/sipcentric" target="_blank" title="blocked::http://twitter.com/sipcentric">@sipcentric</a><br><br><span style='color:gray'>Sipcentric Ltd. Company registered in England & Wales no. 7365592.</span> <span style='color:gray'>Registered office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.</span></span><o:p></o:p></p></div></body></html>