Hello i have no adio in booth directions (internal and external). I use following configuration for chan_sip:
username=my number
type=peer
secret=my password
qualify=yes
nat=yes
insecure=invite
host=192.168.178.1
fromuser=my number
fromdomain=fritz.box
dtmfmode=rfc2833
disallow=all
directmedia=no
context=from-trunk
allow=g722&g726&g729
( i tryd it with multiple codecs but nothing is working )
i think the problem could be this notice: “translate.c: 123 lost frame(s) 124/0 ([email protected])->([email protected])”
complete log files: (i censored the numbers out)
5139 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'udptl' (UDPTL)
5140 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjproject.so' (PJPROJECT Log and Utility Support)
5141 [2021-03-08 05:36:12] ERROR[13738] res_sorcery_config.c: Unable to load config file 'pjproject.conf'
5142 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip.so' (Basic SIP resource)
5143 [2021-03-08 05:36:12] ERROR[11871] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
5144 [2021-03-08 05:36:12] ERROR[11871] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
5145 [2021-03-08 05:36:12] ERROR[11871] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
5146 [2021-03-08 05:36:12] ERROR[11871] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
5147 [2021-03-08 05:36:12] NOTICE[11871] sorcery.c: Type 'system' is not reloadable, maintaining previous values
5148 [2021-03-08 05:36:12] ERROR[11871] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
5149 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip_authenticator_digest.so' (PJSIP authentication resource)
5150 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip_endpoint_identifier_ip.so' (PJSIP IP endpoint identifier)
5151 [2021-03-08 05:36:12] ERROR[13738] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
5152 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_resolver_unbound.so' (Unbound DNS Resolver Support)
5153 [2021-03-08 05:36:12] ERROR[13738] config_options.c: Unable to load config file 'resolver_unbound.conf'
5154 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_stir_shaken.so' (STIR/SHAKEN Module for Asterisk)
5155 [2021-03-08 05:36:12] ERROR[13738] res_sorcery_config.c: Unable to load config file 'stir_shaken.conf'
5156 [2021-03-08 05:36:12] ERROR[13738] res_sorcery_config.c: Unable to load config file 'stir_shaken.conf'
5157 [2021-03-08 05:36:12] ERROR[13738] res_sorcery_config.c: Unable to load config file 'stir_shaken.conf'
5158 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_musiconhold.so' (Music On Hold Resource)
5159 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_smdi.so' (Simplified Message Desk Interface (SMDI) Resource)
5160 [2021-03-08 05:36:12] NOTICE[13738] res_smdi.c: Unable to reload config smdi.conf: SMDI untouched
5161 [2021-03-08 05:36:12] WARNING[13738] res_smdi.c: No SMDI interfaces were specified to listen on, not starting SDMI listener.
5162 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_crypto.so' (Cryptographic Digital Signatures)
5163 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip_outbound_publish.so' (PJSIP Outbound Publish Support)
5164 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_rtp_asterisk.so' (Asterisk RTP Stack)
5165 [2021-03-08 05:36:12] VERBOSE[13738] res_rtp_asterisk.c: RTP Allocating from port range 10000 -> 20000
5166 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip_publish_asterisk.so' (PJSIP Asterisk Event PUBLISH Support)
5167 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip_mwi.so' (PJSIP MWI resource)
5168 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
5169 [2021-03-08 05:36:12] VERBOSE[1377] chan_sip.c: Reloading SIP
5170 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'chan_iax2.so' (Inter Asterisk eXchange (Ver 2))
5171 [2021-03-08 05:36:12] VERBOSE[1377] netsock2.c: Using SIP TOS bits 96
5172 [2021-03-08 05:36:12] VERBOSE[1377] netsock2.c: Using SIP CoS mark 4
5173 [2021-03-08 05:36:12] NOTICE[13738] iax2/provision.c: No IAX provisioning configuration found, IAX provisioning disabled.
5174 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_fax.so' (Generic FAX Applications)
5175 [2021-03-08 05:36:12] NOTICE[13738] res_fax.c: Configuration file 'res_fax.conf' not found, not changing options.
5176 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_adsi.so' (ADSI Resource)
5177 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_ari.so' (Asterisk RESTful Interface)
5178 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip_outbound_registration.so' (PJSIP Outbound Registration Support)
5179 [2021-03-08 05:36:12] ERROR[13738] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
5180 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_pjsip_notify.so' (CLI/AMI PJSIP NOTIFY Support)
5181 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'codec_speex.so' (Speex Coder/Decoder)
5182 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'app_confbridge.so' (Conference Bridge Application)
5183 [2021-03-08 05:36:12] NOTICE[13738] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
5184 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'cel_odbc.so' (ODBC CEL backend)
5185 [2021-03-08 05:36:12] WARNING[13738] cel_odbc.c: Unable to load cel_odbc.conf. No ODBC CEL records!
5186 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'app_voicemail.so' (Comedian Mail (Voicemail System))
5187 [2021-03-08 05:36:12] WARNING[13738] app_voicemail.c: maxsilence should be less than minsecs or you may get empty messages
5188 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'res_http_post.so' (HTTP POST support)
5189 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'app_playback.so' (Sound File Playback Application)
5190 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'codec_opus_open_source.so' (Opus Coder/Decoder)
5191 [2021-03-08 05:36:12] VERBOSE[13738] loader.c: Reloading module 'app_queue.so' (True Call Queueing)
5192 [2021-03-08 05:36:12] NOTICE[13738] app_queue.c: No queuerules.conf file found, queues will not follow penalty rules
5193 [2021-03-08 05:36:12] VERBOSE[13738] asterisk.c: Remote UNIX connection disconnected
5194 [2021-03-08 05:36:27] VERBOSE[1377][C-0000000f] netsock2.c: Using SIP RTP TOS bits 184
5195 [2021-03-08 05:36:27] VERBOSE[1377][C-0000000f] netsock2.c: Using SIP RTP CoS mark 5
5196 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [**my number**@from-trunk:1] NoOp("SIP/**my number**-00000008", "Catch-All DID Match - Found **my number** - You probably want a DID for this.") in new stack
5197 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [**my number**@from-trunk:2] Set("SIP/**my number**-00000008", "__FROM_DID=**my number**") in new stack
5198 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [**my number**@from-trunk:3] Goto("SIP/**my number**-00000008", "ext-did,s,1") in new stack
5199 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (ext-did,s,1)
5200 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:1] Set("SIP/**my number**-00000008", "__DIRECTION=INBOUND") in new stack
5201 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:2] Gosub("SIP/**my number**-00000008", "sub-record-check,s,1(in,s,dontcare)") in new stack
5202 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:1] GotoIf("SIP/**my number**-00000008", "0?initialized") in new stack
5203 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:2] Set("SIP/**my number**-00000008", "__REC_STATUS=INITIALIZED") in new stack
5204 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:3] Set("SIP/**my number**-00000008", "NOW=1615178187") in new stack
5205 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:4] Set("SIP/**my number**-00000008", "__DAY=08") in new stack
5206 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:5] Set("SIP/**my number**-00000008", "__MONTH=03") in new stack
5207 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:6] Set("SIP/**my number**-00000008", "__YEAR=2021") in new stack
5208 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:7] Set("SIP/**my number**-00000008", "__TIMESTR=20210308-053627") in new stack
5209 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:8] Set("SIP/**my number**-00000008", "__FROMEXTEN=unknown") in new stack
5210 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:9] Set("SIP/**my number**-00000008", "__MON_FMT=wav") in new stack
5211 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:10] NoOp("SIP/**my number**-00000008", "Recordings initialized") in new stack
5212 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:11] ExecIf("SIP/**my number**-00000008", "0?Set(ARG3=dontcare)") in new stack
5213 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:12] Set("SIP/**my number**-00000008", "REC_POLICY_MODE_SAVE=") in new stack
5214 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:13] ExecIf("SIP/**my number**-00000008", "0?Set(REC_STATUS=NO)") in new stack
5215 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:14] GotoIf("SIP/**my number**-00000008", "2?checkaction") in new stack
5216 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (sub-record-check,s,17)
5217 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:17] GotoIf("SIP/**my number**-00000008", "1?sub-record-check,in,1") in new stack
5218 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (sub-record-check,in,1)
5219 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:1] NoOp("SIP/**my number**-00000008", "Inbound Recording Check to s") in new stack
5220 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:2] Set("SIP/**my number**-00000008", "FROMEXTEN=unknown") in new stack
5221 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:3] ExecIf("SIP/**my number**-00000008", "12?Set(FROMEXTEN=**my number**)") in new stack
5222 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:4] Gosub("SIP/**my number**-00000008", "recordcheck,1(dontcare,in,s)") in new stack
5223 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:1] NoOp("SIP/**my number**-00000008", "Starting recording check against dontcare") in new stack
5224 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:2] Goto("SIP/**my number**-00000008", "dontcare") in new stack
5225 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
5226 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:3] Return("SIP/**my number**-00000008", "") in new stack
5227 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:5] Return("SIP/**my number**-00000008", "") in new stack
5228 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:3] Set("SIP/**my number**-00000008", "CHANNEL(tonezone)=us") in new stack
5229 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:4] ExecIf("SIP/**my number**-00000008", "0?Set(__FROM_DID=s)") in new stack
5230 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:5] Set("SIP/**my number**-00000008", "CDR(did)=**my number**") in new stack
5231 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:6] ExecIf("SIP/**my number**-00000008", "0 ?Set(CALLERID(name)=**my number**)") in new stack
5232 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:7] Set("SIP/**my number**-00000008", "__MOHCLASS=") in new stack
5233 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:8] Set("SIP/**my number**-00000008", "__REVERSAL_REJECT=FALSE") in new stack
5234 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:9] GotoIf("SIP/**my number**-00000008", "1?post-reverse-charge") in new stack
5235 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (ext-did,s,11)
5236 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:11] NoOp("SIP/**my number**-00000008", "") in new stack
5237 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:12] Set("SIP/**my number**-00000008", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
5238 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:13] Set("SIP/**my number**-00000008", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
5239 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:14] Set("SIP/**my number**-00000008", "CALLERID(name-pres)=allowed_not_screened") in new stack
5240 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:15] Set("SIP/**my number**-00000008", "CALLERID(num-pres)=allowed_not_screened") in new stack
5241 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:16] NoOp("SIP/**my number**-00000008", "CallerID Entry Point") in new stack
5242 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:17] Goto("SIP/**my number**-00000008", "app-announcement-3,s,1") in new stack
5243 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (app-announcement-3,s,1)
5244 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:1] GotoIf("SIP/**my number**-00000008", "0?begin") in new stack
5245 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:2] Answer("SIP/**my number**-00000008", "") in new stack
5246 [2021-03-08 05:36:27] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:3] Wait("SIP/**my number**-00000008", "1") in new stack
5247 [2021-03-08 05:36:28] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:4] NoOp("SIP/**my number**-00000008", "Playing announcement record-question") in new stack
5248 [2021-03-08 05:36:28] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:5] Playback("SIP/**my number**-00000008", "custom/record-question,noanswer") in new stack
5249 [2021-03-08 05:36:28] VERBOSE[13839][C-0000000f] file.c: <SIP/**my number**-00000008> Playing 'custom/record-question.slin' (language 'de_DE')
5250 [2021-03-08 05:36:29] NOTICE[13839][C-0000000f] translate.c: 123 lost frame(s) 124/0 ([email protected])->([email protected])
5251 [2021-03-08 05:36:33] NOTICE[13839][C-0000000f] translate.c: 316 lost frame(s) 317/0 ([email protected])->([email protected])
5252 [2021-03-08 05:36:39] NOTICE[13839][C-0000000f] translate.c: 620 lost frame(s) 621/0 ([email protected])->([email protected])
5253 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:6] Goto("SIP/**my number**-00000008", "ivr-1,s,1") in new stack
5254 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (ivr-1,s,1)
5255 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:1] Set("SIP/**my number**-00000008", "_IVR_CONTEXT_ivr-1=") in new stack
5256 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:2] Set("SIP/**my number**-00000008", "_IVR_CONTEXT=ivr-1") in new stack
5257 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:3] Set("SIP/**my number**-00000008", "__IVR_RETVM=") in new stack
5258 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:4] GotoIf("SIP/**my number**-00000008", "1?skip") in new stack
5259 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx_builtins.c: Goto (ivr-1,s,6)
5260 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:6] Set("SIP/**my number**-00000008", "IVR_MSG=") in new stack
5261 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:7] Set("SIP/**my number**-00000008", "TIMEOUT(digit)=3") in new stack
5262 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] func_timeout.c: Digit timeout set to 3.000
5263 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:8] ExecIf("SIP/**my number**-00000008", "0?Background()") in new stack
5264 [2021-03-08 05:36:41] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:9] WaitExten("SIP/**my number**-00000008", "15,") in new stack
5265 [2021-03-08 05:36:42] VERBOSE[13839][C-0000000f] pbx.c: Spawn extension (ivr-1, s, 9) exited non-zero on 'SIP/**my number**-00000008'
5266 [2021-03-08 05:36:42] VERBOSE[13839][C-0000000f] pbx.c: Executing [[email protected]:1] Hangup("SIP/**my number**-00000008", "") in new stack
5267 [2021-03-08 05:36:42] VERBOSE[13839][C-0000000f] pbx.c: Spawn extension (ivr-1, h, 1) exited non-zero on 'SIP/**my number**-00000008'