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 :)
exten => 555*,1,NoOp(${CALLERID(num)})
exten => 555*,2,Hangup
On 5/20/07, Mike Hammett <asterisk-users@ics-il.net>
wrote:>
> What's going on here? 555* seems to indicate that the number is being
> passed as the callerID because NoOp says the phone number.
>
>
>
> I'm trying to emulate cell phone voicemail where you call your own
number
> to check your voicemail.
>
>
>
> -- Accepting AUTHENTICATED call from 65.182.165.XXX:
>
> > requested format = gsm,
>
> > requested prefs = (),
>
> > actual format = ulaw,
>
> > host prefs = (ulaw),
>
> > priority = mine
>
> -- Executing NoOp("IAX2/815748XXXX-16",
"815748XXXX") in new stack
>
> -- Executing Hangup("IAX2/815748XXXX-16", "") in
new stack
>
> == Spawn extension (outbound-scripted, 555*, 2) exited non-zero on
> 'IAX2/815748XXXX-16'
>
> May 20 11:10:34 ERROR[3286]: cdr_addon_mysql.c:144 mysql_log: cdr_mysql:
> cannot connect to database server localhost.
>
> -- Hungup 'IAX2/815748XXXX-16'
>
> 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
>
>
>
> exten => ${CALLERID(NUM)}/${CALLERID(NUM)},1,Answer
>
> exten => ${CALLERID(NUM)}/${CALLERID(NUM)},2,NoOp(It's here)
>
> exten =>
> ${CALLERID(NUM)}/${CALLERID(NUM)},3,VoicemailMain(${CALLERID(NUM)})
>
> exten => ${CALLERID(NUM)}/${CALLERID(NUM)},4,Hangup()
>
>
>
> exten => 555*,1,NoOp(${CALLERID(num)})
>
> exten => 555*,2,Hangup
>
>
>
>
>
>
>
> -----
> Mike Hammett
> Intelligent Computing Solutions
> http://www.ics-il.com
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
--
Rizwan Hisham
Software Engineer
AXVOICE Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070522/008347a8/attachment.htm