I have a system with many DID's and the user wants to see the caller ID, DID dialed and general location of the caller. I setup a custom destination for _X. inbound route to:
Everything works fine but I have the following errors in my log.
[2010-08-15 01:42:07] NOTICE[2521] pbx.c: Error in extension logic (missing '}')
[2010-08-15 01:42:07] WARNING[2521] pbx.c: Can't find trailing parenthesis?
[2010-08-15 01:42:07] ERROR[2521] func_callerid.c: Unknown callerid data type 'nam'.
Any insight what the errors could be for?
Not sure if this is related but this system has it going to an IVR. The ivr is working perfectly fine, no changes were made and 3 days later the ivr would play (according to putty) pressing 1 would work but there would be no audio playback. A kill of amportal and restart worked only after restarting zaptel.
System is running PBXINAFLASH 1.5 32bit Asterisk 1.4 without any zaptel cards.
EDIT: I fixed the error by adding a ")" to the end of each context. Now I just have the audio problem
Code:
[didequalscallerid]
exten => _X.,1,Set(DID=${EXTEN})
exten =>_214.,2,Set(CALLERID(name)=Dallas TX-${EXTEN}${CALLERID(name)}
exten =>_216.,2,Set(CALLERID(name)=Cleveland OH-${EXTEN}${CALLERID(name)}
exten =>_217.,2,Set(CALLERID(name)=Springfield Ill-${EXTEN}${CALLERID(name)}
exten =>_218.,2,Set(CALLERID(name)=Duluth MN-${EXTEN}${CALLERID(name)}
exten =>_219.,2,Set(CALLERID(name)=Gary IN-${EXTEN}${CALLERID(name)}
exten =>_224.,2,Set(CALLERID(name)=Northbrook Ill-${EXTEN}${CALLERID(name)}
exten =>_225.,2,Set(CALLERID(name)=Baton Rouge LA-${EXTEN}${CALLERID(name)}
exten =>_228.,2,Set(CALLERID(name)=Biloxi MS-${EXTEN}${CALLERID(name)}
exten =>_229.,2,Set(CALLERID(name)=Georgia-${EXTEN}${CALLERID(name)}
exten =>_231.,2,Set(CALLERID(name)=Peninsula MI-${EXTEN}${CALLERID(name)}
exten =>_234.,2,Set(CALLERID(name)=Canton OH-${EXTEN}${CALLERID(name)}
exten =>_236.,2,Set(CALLERID(name)=Virginia-${EXTEN}${CALLERID(name)}
exten =>_239.,2,Set(CALLERID(name)=Lee FL-${EXTEN}${CALLERID(name)}
exten =>_240.,2,Set(CALLERID(name)=Silver Spring MD-${EXTEN}${CALLERID(name)}
exten =>_248.,2,Set(CALLERID(name)=Pontiac MI-${EXTEN}${CALLERID(name)}
exten =>_251.,2,Set(CALLERID(name)=Jackson AL-${EXTEN}${CALLERID(name)}
exten =>_252.,2,Set(CALLERID(name)=Rocky Mount NC-${EXTEN}${CALLERID(name)}
exten =>_253.,2,Set(CALLERID(name)=Tacoma WA-${EXTEN}${CALLERID(name)}
......<snipped>.....
exten => _X.,3,Goto(app-daynight,0,1)
exten=> _X.,4,hangup
Everything works fine but I have the following errors in my log.
[2010-08-15 01:42:07] NOTICE[2521] pbx.c: Error in extension logic (missing '}')
[2010-08-15 01:42:07] WARNING[2521] pbx.c: Can't find trailing parenthesis?
[2010-08-15 01:42:07] ERROR[2521] func_callerid.c: Unknown callerid data type 'nam'.
Any insight what the errors could be for?
Not sure if this is related but this system has it going to an IVR. The ivr is working perfectly fine, no changes were made and 3 days later the ivr would play (according to putty) pressing 1 would work but there would be no audio playback. A kill of amportal and restart worked only after restarting zaptel.
System is running PBXINAFLASH 1.5 32bit Asterisk 1.4 without any zaptel cards.
EDIT: I fixed the error by adding a ")" to the end of each context. Now I just have the audio problem