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.
<br><br><div><span class="gmail_quote">On 5/22/07, <b class="gmail_sendername">Rizwan Hisham</b> <<a href="mailto:rizwanhasham@gmail.com">rizwanhasham@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;">
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"><br><p> </p>
<p>exten => 555*,1,NoOp(${CALLERID(num)})</p>
<p>exten => 555*,2,Hangup</p>
<br><br></span><div><div><span class="e" id="q_112b330b53ffe075_3"><span class="gmail_quote">On 5/20/07, <b class="gmail_sendername">Mike Hammett</b> <<a href="mailto:asterisk-users@ics-il.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
asterisk-users@ics-il.net</a>> wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div><div><span class="e" id="q_112b330b53ffe075_5">
<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.</p>
<p> </p>
<p>I'm trying to emulate cell phone voicemail where you
call your own number to check your voicemail.</p>
<p> </p>
<p> -- Accepting AUTHENTICATED call from
65.182.165.XXX:</p>
<p> > requested format =
gsm,</p>
<p> > requested prefs =
(),</p>
<p> > actual format =
ulaw,</p>
<p> > host prefs =
(ulaw),</p>
<p> > priority = mine</p>
<p> -- Executing
NoOp("IAX2/815748XXXX-16", "815748XXXX") in new stack</p>
<p> -- Executing
Hangup("IAX2/815748XXXX-16", "") in new stack</p>
<p> == Spawn extension (outbound-scripted, 555*, 2)
exited non-zero on 'IAX2/815748XXXX-16'</p>
<p>May 20 11:10:34 ERROR[3286]: cdr_addon_mysql.c:144
mysql_log: cdr_mysql: cannot connect to database server localhost.</p>
<p> -- Hungup 'IAX2/815748XXXX-16'</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</p>
<p> </p>
<p>exten => ${CALLERID(NUM)}/${CALLERID(NUM)},1,Answer</p>
<p>exten => ${CALLERID(NUM)}/${CALLERID(NUM)},2,NoOp(It's
here)</p>
<p>exten =>
${CALLERID(NUM)}/${CALLERID(NUM)},3,VoicemailMain(${CALLERID(NUM)})</p>
<p>exten => ${CALLERID(NUM)}/${CALLERID(NUM)},4,Hangup()</p>
<p> </p>
<p>exten => 555*,1,NoOp(${CALLERID(num)})</p>
<p>exten => 555*,2,Hangup</p>
<p> </p>
<p><span style="font-size: 12pt;"> </span></p>
<p><span style="font-size: 12pt;"> </span></p>
<p><span style="font-size: 10pt;">-----<br>
Mike Hammett<br>
Intelligent Computing Solutions<br>
<a href="http://www.ics-il.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.ics-il.com</a></span><span style="font-size: 12pt;"></span></p>
<p><span style="font-size: 12pt;"> </span></p>
<p><span style="font-size: 12pt;"> </span></p>
<p> </p>
<p> </p>
<p> </p></span></div>
</div>
</div>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Rizwan Hisham<br>Software Engineer<br>AXVOICE Inc.
</blockquote></div><br><br clear="all"><br>-- <br>Rizwan Hisham<br>Software Engineer<br>AXVOICE Inc.