10.1 Řešení problémů
Nejčastěji řešené problémy naleznete na stránkách faq.2n.cz.
- v zarušeném prostředí doporučujeme pro každou hlásku použít samostatný kabel
- problém s přenosem DTMF na GSM modulu > změňte parametr 710 na 1
- SIP errors
- SIP_ERR_REGISTER_SERVER_ADDR_RESOLVE = 10 (nepodařilo se získat IP adresu)
- SIP_ERR_REGISTER = 11 (obecná chyba)
- SIP_ERR_REGISTER_FORBIDDEN_ACCESS = 12
- SIP_ERR_REGISTER_RCVTIMEOUT = 13
- SIP_ERR_INVITE_ADDR_RESOLVE = 20
- SIP_ERR_INVITE = 21
- SIP_ERR_INVITE_USER_NOTFOUND = 22 (SIP 404 – User Not Found)
- SIP_ERR_INVITE_FORBIDDEN_ACCESS = 23
- SIP_ERR_INVITE_RCVTIMEOUT = 24
- při chybě SIP_ERR_INVITE_RCVTIMEOUT je doplněno v jaké části procesu se tenhle error stal
/** SIP register states */
SIPCON_STATE_UNREGISTERED = 0,
SIPCON_STATE_REGISTER_AFTER_IPADDR_RESOLVED,
SIPCON_STATE_REGISTER,
SIPCON_STATE_REGISTERING,
SIPCON_STATE_REGISTERED,
SIPCON_STATE_UNREGISTER,
SIPCON_STATE_UNREGISTERING
/** SIP invite states */
SIPCON_STATE_NOINVITED = 100,
SIPCON_STATE_INVITE_AFTER_IPADDR_RESOLVED,
SIPCON_STATE_INVITE,
SIPCON_STATE_INVITING,
SIPCON_STATE_INVPENDING,
SIPCON_STATE_RINGING,
SIPCON_STATE_INVITED,
SIPCON_STATE_HANGUP,
SIPCON_STATE_HANGUPING,
SIPCON_STATE_DECLINE,
SIPCON_STATE_DECLINING,
SIPCON_STATE_INCOMING_INVITE,
SIPCON_STATE_INCOMING_ACCEPT,
SIPCON_STATE_INCOMING_ACCEPTING,
SIPCON_STATE_INCOMING_DECLINE,
SIPCON_STATE_REINVITE,
SIPCON_STATE_REINVITENING,
SIPCON_STATE_REINVPENDING