<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 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@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";}
span.gmailquote
        {mso-style-name:gmail_quote;}
span.q
        {mso-style-name:q;}
span.e
        {mso-style-name:e;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Yeah, I was trying to have it match the caller ID with what they’re
dialing so that I don’t have a separate entry for every customer.<o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>-----<br>
Mike Hammett<br>
Intelligent Computing Solutions<br>
<a href="http://www.ics-il.com">http://www.ics-il.com</a></span><span
style='color:#1F497D'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'> </span><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'><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 style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<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"'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Rizwan
Hisham<br>
<b>Sent:</b> Tuesday, May 22, 2007 5:14 AM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] Caller ID matching<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>I did it anyway. i used another
way around to do it:<br>
<br>
suppose 887776666 is your number<br>
<br>
exten=> 887776666,1,Dial(SIP/you)<br>
exten=> 887776666/887776666,1,VoiceMailMain()<br>
<br>
but in this case you will have to make a separate vm extension for every user. <o:p></o:p></p>
<div>
<p class=MsoNormal><span class=gmailquote>On 5/22/07, <b>Rizwan Hisham</b> <<a
href="mailto:rizwanhasham@gmail.com">rizwanhasham@gmail.com</a>> wrote:</span><o:p></o:p></p>
<p class=MsoNormal>well i have tried to solve your problem, making your
extensions in my dialplan and reloading dialplan gives me segmentation fault.
im afraid i cant help u :)<span class=q><o:p></o:p></span></p>
<p> <o:p></o:p></p>
<p>exten => 555*,1,NoOp(${CALLERID(num)})<o:p></o:p></p>
<p>exten => 555*,2,Hangup<o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<div>
<p class=MsoNormal><span class=gmailquote>On 5/20/07, <b>Mike Hammett</b> <<a
href="mailto:asterisk-users@ics-il.net" target="_blank">
asterisk-users@ics-il.net</a>> wrote:</span><o:p></o:p></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div>
<div>
<div>
<p>What's going on here? 555* seems to indicate that the number is being
passed as the callerID because NoOp says the phone number.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I'm trying to emulate cell phone voicemail where you call your own number to
check your voicemail.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> -- Accepting AUTHENTICATED call from 65.182.165.XXX:<o:p></o:p></p>
<p> > requested format = gsm,<o:p></o:p></p>
<p> > requested prefs = (),<o:p></o:p></p>
<p> > actual format = ulaw,<o:p></o:p></p>
<p> > host prefs = (ulaw),<o:p></o:p></p>
<p> > priority = mine<o:p></o:p></p>
<p> -- Executing NoOp("IAX2/815748XXXX-16",
"815748XXXX") in new stack<o:p></o:p></p>
<p> -- Executing Hangup("IAX2/815748XXXX-16",
"") in new stack<o:p></o:p></p>
<p> == Spawn extension (outbound-scripted, 555*, 2) exited non-zero on
'IAX2/815748XXXX-16'<o:p></o:p></p>
<p>May 20 11:10:34 ERROR[3286]: cdr_addon_mysql.c:144 mysql_log: cdr_mysql:
cannot connect to database server localhost.<o:p></o:p></p>
<p> -- Hungup 'IAX2/815748XXXX-16'<o:p></o:p></p>
<p>May 20 11:11:00 NOTICE[3275]: chan_iax2.c:7323 socket_read: Rejected connect
attempt from 65.182.165.XXX, request '815748XXXX@outbound-scripted' does not
exist<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>exten => ${CALLERID(NUM)}/${CALLERID(NUM)},1,Answer<o:p></o:p></p>
<p>exten => ${CALLERID(NUM)}/${CALLERID(NUM)},2,NoOp(It's here)<o:p></o:p></p>
<p>exten =>
${CALLERID(NUM)}/${CALLERID(NUM)},3,VoicemailMain(${CALLERID(NUM)})<o:p></o:p></p>
<p>exten => ${CALLERID(NUM)}/${CALLERID(NUM)},4,Hangup()<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>exten => 555*,1,NoOp(${CALLERID(num)})<o:p></o:p></p>
<p>exten => 555*,2,Hangup<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style='font-size:10.0pt'>-----<br>
Mike Hammett<br>
Intelligent Computing Solutions<br>
<a href="http://www.ics-il.com" target="_blank">http://www.ics-il.com</a></span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
--Bandwidth and Colocation provided by <a href="http://Easynews.com"
target="_blank">Easynews.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users </a><o:p></o:p></p>
</blockquote>
</div>
<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
Rizwan Hisham<br>
Software Engineer<br>
AXVOICE Inc. <o:p></o:p></p>
</div>
<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
Rizwan Hisham<br>
Software Engineer<br>
AXVOICE Inc. <o:p></o:p></p>
</div>
</body>
</html>