Hi, <br><br>Item zero, Thanks for hosting and participating in this list, digium, and all the developers involved.<br><br>First, I realize that my first post probably did not belong on asterisk-dev. I had intended to remove that address from my recipients list, but did not
<br>Secondly, I figure that now that my neck is extended, I should write to clarify one thing and correct another in my first email.<br><br><div><span class="gmail_quote">On 12/1/06, <b class="gmail_sendername">Mark Price
</b> <<a href="mailto:markprice@gmail.com">markprice@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi,<br>
<br>I am using asterisk 1.2.10.<br>I am trying to send sip links in asterisk voicemail, so that users can easily reply to emails.<br>This does not seem to be straightforward.<br>First, there seems to be no variable that prints out the domain name of the sip call, since I am including every variable mentioned on
<a href="http://www.voip-info.org/wiki-Asterisk+config+voicemail.conf" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.voip-info.org/wiki-Asterisk+config+voicemail.conf</a></blockquote><div>
<br>To clarify to myself, I made a call from a different sip domain from a username that does not exist on the asterisk box, and found out that it is true: VM_CIDNUM contains the username, but not the domain name of the call. Therefore, as long as the username is a telephone number, we can work around that, but the message printed to describe a non-telephone-number phone call will be incorrect.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Second, if i include in the emailbody variable sip:${VM_CIDNUM}@mydomain (on the wrong assumption that the phone call was from a telephone number), gmail responds by assuming it is a mailto link, and outlook treats it as plain text. Having examined the emails being sent in mutt, it appears that the message has no mime type (neither text nor text/html).
</blockquote><div><br>I thought I should point out I was incorrect. The text portion of the email is given mime-type "text." Therefore it appears to be impossible to send a sip link in the email unless the receiving email client knows how to recognize them (as many know how to recognize http:// and mailto: links).
<br></div><br>Thanks,<br>Mark Price<br></div><br>