Tips for configuration of incoming calls

  1. configuration of sip.conf:

[general]
register => remote_sipuser:passwod@remote_sip_server_ip

if both incoming and out going call to remote_sipuser is needed, configure type=user and type =peer instead of simply type=friend.

[remote_sipuser]
type=user
insecure=port,invite

[remote_sipuser]
type=peer
context=incoming
insecure=port,invite

when incoming call from the another remote_sipuser, the call will go to the ‘s’ extension in context ‘incoming’

  1. extensions.conf
    [incoming]
    extension => s,1,Dial(SIP/local_extension)