Looks my hardware is working now and I can make external calls, but incomming calls fail. “pri debug span 1” show next error:
q931.c:3296 q931_receive: call 13902 on channel 1 enters state 6 (Call Present) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Present, peerstate Call Initiated q931.c:2891 q931_release_complete: call 13902 on channel 1 enters state 0 (Null) > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 13902/0x364E) (Terminator) > Message type: RELEASE COMPLETE (90) > [08 02 81 81] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ] NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
Zap calls enter the default context. Such context is defined like:
[default] exten => s,1,Wait(2) exten => s,n,Answer() exten => s,n,Playback(vm/generic/goodbye) exten => s,n,Echo() exten => s,n,Hangup()
Thanks in advance for any help, hint or link!