[asterisk-users] Caller ID matching

Rizwan Hisham rizwanhasham at gmail.com
Tue May 22 03:13:43 MST 2007


I did it anyway. i used another way around to do it:

suppose 887776666 is your number

exten=> 887776666,1,Dial(SIP/you)
exten=> 887776666/887776666,1,VoiceMailMain()

but in this case you will have to make a separate vm extension for every
user.

On 5/22/07, Rizwan Hisham <rizwanhasham at gmail.com> wrote:
>
> 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 at 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 at 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.




-- 
Rizwan Hisham
Software Engineer
AXVOICE Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070522/5a360643/attachment-0001.htm


More information about the asterisk-users mailing list