host=***provider ip address OR Domain*** username=***userid*** secret=***password*** type=friend qualify=yes port=5060 disallow=all allow=alaw&ulaw fromuser=2191001099 insecure=invite,port nat=force_report,comedia dtmfmode=auto #rfc2833 #sipinfo #inband context=from-trunk ---------------------------------Class Sample host=***provider ip address*** username=***userid*** secret=***password*** type=peer qualify=yes disallow=all allow=alaw&ulaw insecure=invite,port nat=force_report,comedia dtmfmode=auto fromuser=2191001099 context=from-trunk ---------------------------- ; Configuration options available ; -------------------- ; context ; callingpres ; permit ; deny ; secret ; md5secret ; remotesecret ; transport ; dtmfmode ; directmedia ; nat ; callgroup ; pickupgroup ; language ; allow ; disallow ; autoframing ; insecure ; trustrpid ; trust_id_outbound ; progressinband ; promiscredir ; useclientcode ; accountcode ; setvar ; callerid ; amaflags ; callcounter ; busylevel ; allowoverlap ; allowsubscribe ; allowtransfer ; ignoresdpversion ; subscribecontext ; template ; videosupport ; maxcallbitrate ; rfc2833compensate ; Note: app_voicemail mailboxes must be in the form of mailbox@context. ; mailbox ; session-timers ; session-expires ; session-minse ; session-refresher ; t38pt_usertpsource ; regexten ; fromdomain ; fromuser ; host ; port ; qualify ; keepalive ; defaultip ; defaultuser ; rtptimeout ; rtpholdtimeout ; sendrpid ; outboundproxy ; rfc2833compensate ; callbackextension ; timert1 ; timerb ; qualifyfreq ; t38pt_usertpsource ; contactpermit ; Limit what a host may register as (a neat trick ; contactdeny ; is to register at the same IP as a SIP provider, ; contactacl ; then call oneself, and get redirected to that ; ; same location). ; directmediapermit ; directmediadeny ; directmediaacl ; unsolicited_mailbox ; use_q850_reason ; maxforwards ; encryption ; description ; Used to provide a description of the peer in console output ; dtlsenable ; dtlsautogeneratecert ; dtlsverify ; dtlsrekey ; dtlscertfile ; dtlsprivatekey ; dtlscipher ; dtlscafile ; dtlscapath ; dtlssetup ; dtlsfingerprint ; ignore_requested_pref ; Ignore the requested codec and determine the preferred codec ; ; from the peer's configuration.