[asterisk-users] CallerID Error causes problems for Polycom phones

2007-08-15 Thread Lee Jenkins

Hi everyone,

I have been dealing with a certain issue with a particular customer site
for months now.  The problem occurs when there is an error with caller
id as shown in the following:

WARNING[16036]: chan_zap.c:6309 ss_thread: CallerID returned with error
on channel 'Zap/3-1'

When this happens, it appears that the call still goes through as I can
see the caller still navigating through the systems menus and dialplan 
by watching the CLI.

The problem however is manifested with polycom 301's that are setup with
the system.  When a call comes in after receiving that particular caller
id error, the polycoms, which are on a group ring by the way, will all
ring but you cannot pickup the call.  The Answer|Reject soft buttons
display, but only the reject button works.  Pressing the Answer button
or picking up the handset does nothing.

Since only the Reject button works someone has to go to each phone and
hit the reject button (4 polycoms in this department) so the ringing
will at least stop.

It's been about 3 months tracking this problem down (even drove the 2.5
hours back and forth to replace the sangoma card to try to fix the
problem) and the customer is about ready to have me pull the system
because of it.

I can easily reproduce the problem with Polycom phones (but not the
actual error). Just issue a .call file using the local channel calling
one number and having the call bridged to a polycom phone (at least
301's here):

Action: Originate
Channel: local/[EMAIL PROTECTED]
Context: to_meetme
Exten: s
Priority: 1
Async: true

The above will cause the polycom to exhibit the behavior mentioned 
above.  However, sending a .call file like the following causes the 
phone to work as it should:

Action: Originate
Channel: local/[EMAIL PROTECTED]
Context: to_meetme
Exten: s
Priority: 1
Variable: CALLERID(num)=1234|CALLERID(name)=Homey D Clown
Async: true

I also have tried this with Aastra, Grandstream and XLite soft phones 
and they do not exhibit the same behavior.  Instead these other phones 
simply show the default caller id info as set in sip.conf and allow you 
to answer them.

Any help or suggestions would be greatly appreciated.

OS: CentOS 4
Asterisk: 1.2.17
Sangoma A200 with 2 fxo ports.

-- 
Warm Regards,

Lee





___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] CallerID Error causes problems for Polycom phones

2007-08-15 Thread Anselm Martin Hoffmeister
Am Mittwoch, den 15.08.2007, 10:14 -0400 schrieb Lee Jenkins:
 Hi everyone,
 
 I have been dealing with a certain issue with a particular customer site
 for months now.  The problem occurs when there is an error with caller
 id as shown in the following:
 
 WARNING[16036]: chan_zap.c:6309 ss_thread: CallerID returned with error
 on channel 'Zap/3-1'
 
 When this happens, it appears that the call still goes through as I can
 see the caller still navigating through the systems menus and dialplan 
 by watching the CLI.
 
 The problem however is manifested with polycom 301's that are setup with
 the system.  When a call comes in after receiving that particular caller
 id error, the polycoms, which are on a group ring by the way, will all
 ring but you cannot pickup the call.  The Answer|Reject soft buttons
 display, but only the reject button works.  Pressing the Answer button
 or picking up the handset does nothing.

To me this looks like a firmware problem in your phones. Perhaps a
firmware update could fix this. However - as it looks to me - the
firmware chokes on some CALLERID strings, not on others. What is the
caller id that is displayed in the error case? Perhaps you could get
around by having a dialplan hook that rewrites the callerid to 000 if
that invalid callerid comes in. Maybe those phones just choke on
CALLERIDs with empty num or name With your test .call file that
reproduces the problem, if you insert a line in your dialplan before the
Dial() happens, that reads
Set(CALLERID(all)=000)
does that help? Does
Set(CALLERID(num)=000)
alone help, does
Set(CALLERID(name)=000)
?

BR
Anselm


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] CallerID Error causes problems for Polycom phones

2007-08-15 Thread Lee Jenkins
Anselm Martin Hoffmeister wrote:
 Am Mittwoch, den 15.08.2007, 10:14 -0400 schrieb Lee Jenkins:
 Hi everyone,

 I have been dealing with a certain issue with a particular customer site
 for months now.  The problem occurs when there is an error with caller
 id as shown in the following:

 WARNING[16036]: chan_zap.c:6309 ss_thread: CallerID returned with error
 on channel 'Zap/3-1'

 When this happens, it appears that the call still goes through as I can
 see the caller still navigating through the systems menus and dialplan 
 by watching the CLI.

 The problem however is manifested with polycom 301's that are setup with
 the system.  When a call comes in after receiving that particular caller
 id error, the polycoms, which are on a group ring by the way, will all
 ring but you cannot pickup the call.  The Answer|Reject soft buttons
 display, but only the reject button works.  Pressing the Answer button
 or picking up the handset does nothing.
 
 To me this looks like a firmware problem in your phones. Perhaps a
 firmware update could fix this. However - as it looks to me - the
 firmware chokes on some CALLERID strings, not on others. What is the
 caller id that is displayed in the error case? Perhaps you could get
 around by having a dialplan hook that rewrites the callerid to 000 if
 that invalid callerid comes in. Maybe those phones just choke on
 CALLERIDs with empty num or name With your test .call file that
 reproduces the problem, if you insert a line in your dialplan before the
 Dial() happens, that reads
   Set(CALLERID(all)=000)
 does that help? Does
   Set(CALLERID(num)=000)
 alone help, does
   Set(CALLERID(name)=000)
 ?
 
 BR
 Anselm
 

Anselm,

Thanks for responding.  My apologies as I should have mentioned that I 
have tried several workarounds including the following test scripts I 
placed on the server:

[check_time]
; -
; Called right after Answer() is called
; -

; check for default value in sip.conf
exten=s,1,GotoIf($[${CALLERID(name)} = UNKNOWN ]?set_no_callerid,s,1)

; check for null value
exten=s,2,GotoIf($[${CALLERID(name)} =  ]?set_no_callerid,s,1)

exten=s,3,GotoIf($[${CALLERID(num)} = ]?set_no_callerid,s,1)
exten=s,4,Noop(CallerID: ${CALLERID(num)} ${CALLERID(name)})
exten=s,5,Set(FAIL_MENU=daytime|TIMEOUT_MENU=daytime)
exten=s,6,GotoIfTime(08:30-17:00,mon-fri,*,*,?daytime_ivr,s,1)
exten=s,7,Goto(after_hours,s,1)

[set_no_callerid]
exten=s,1,Set(CALLERID(num)=410555)
exten=s,2,Set(CALLERID(name)=UNKNOWN)
exten=s,3,Goto(check_time,s,1)

I'll update the firmware on the phones and see if that helps.

Thanks again,

--
Warm Regards,

Lee


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users