[Asterisk-Users] Cisco 7960

Anton L. Kapela kapela at mwdt.com
Thu Jul 17 09:47:32 MST 2003


William Carlson said:
> lol well I probaly should ask a question lol. Any idea what could be
> causing this? Also I cannot call from my pingtel phone to the 7960 but
> I can call the other way around. any ideas on that?
>   Thanks,
>      Will

Will,

My experiences with the 7940's and 7960's using Asterisk tell me that
the common syntax examples (the line "allow=all") won't work in many
cases. That is to say, calling a 7940 to 7940 and 7940 to the PBX
(trying to check voicemail, for example) would never work.. I'd see
errors like:

    -- Executing Ringing("SIP/2000-ab10", "") in new stack
    -- Executing Wait("SIP/2000-ab10", "2") in new stack
    -- Executing VoiceMailMain("SIP/2000-ab10", "") in new stack
  == Parsing '/etc/asterisk/voicemail.conf': Found
    -- Playing 'vm-login'
WARNING[950286]: File app_voicemail.c, Line 1907 (vm_execmain):
Couldn't read username
  == Spawn extension (internal, 2999, 3) exited non-zero on
'SIP/2000-ab10'

or like this from extension to extension calls:

    -- Executing Dial("SIP/2000-317a", "SIP/2001|30|tr") in new stack
    -- Called 2001
    -- Got SIP response 488 "Not Acceptable Here" back from 172.16.0.253
  == No one is available to answer at this time
    -- Executing VoiceMail("SIP/2000-317a", "u2001") in new stack
  == Parsing '/etc/asterisk/voicemail.conf': Found
    -- Playing 'vm/2001/unavail'
  == Spawn extension (internal, 2001, 2) exited non-zero on
'SIP/2000-317a'

The _only_ usefull shred of log data here (withough enabling sip
debug) is the "Got SIP response 488 "Not Acceptable Here" string. What
I've found this seems to mean is the codec the phone is
offering/attempting to use is invalid, it otherwise not usable.

I find everything SIP-related works perfectly when I force ulaw, alaw,
or gsm.

My advice would be to try this in your [general] section of the sip.conf:

allow=gsm
allow=ulaw
allow=alaw

Let us know if it works then :)

--Tk



More information about the asterisk-users mailing list