[asterisk-users] Caller ID matching

Mike Hammett asterisk-users at ics-il.net
Sun May 20 09:17:30 MST 2007


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

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070520/a05184df/attachment.htm


More information about the asterisk-users mailing list