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 :)<br><p> </p>
<p>exten => 555*,1,NoOp(${CALLERID(num)})</p>
<p>exten => 555*,2,Hangup</p>
<br><br><div><span class="gmail_quote">On 5/20/07, <b class="gmail_sendername">Mike Hammett</b> <<a href="mailto:asterisk-users@ics-il.net">asterisk-users@ics-il.net</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;">
<div link="blue" vlink="purple" lang="EN-US">
<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.</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>
</div>
</div>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">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.