Hi everybody,
Started out playing with this and all been fairly easy to configure/use and
Extensions, ring group and call between extensions works perfect.
Outgoing calls works too, but not incomming (caller [me trying to ring in] is just disconnected).
What have I missed here? Seems like I’v tried anything (but the right thing
No incomming calls, whatever I’ve tried and read about. Now I’m totally lost. Please help, anyone.
Now I’ve tried so many options/seetings from community posts that I’ve even lost what I have done and not.
I can see the incomming call in the asterisk log, but there is silence in the inbound route.
Data/hardware/setup
Private home, 1 channel. Gigaset handsets on a N300A IP
Provider: Affinity - Sweden
Phone: 0452-34567 (also used for id and username)
Password: password
Host sip.clubtele.se
Router: Linksys WRT1900ACS (IP 192.168.1.1) - SIP ALG turned off (no ports forwarded)
FreePBX/Asterisk on a PI (RasPBX) (IP 192.168.1.100)
Gigaset N300A IP (IP 192.168.1.158)
Incomming call from cell (in log): 0701234567
Inbound and outboud calls works ok on X-lite softphone (with above data)
Inbound and outboud also works ok on Gigaset having the N300A IP configured directly to the provider (with above data).
*** Trunk-***
TAB General:
Trunkname Affinity
Outbound caler ID: 045234567
CID opt: Allow any CID
Max channels 1
TAB Number manipulation:
No settings done
TAB Sip settings Outgoing:
Trunk name Affinity
Peer details.
(only the first four lines is needed for outgoing to work)
type=peer
host=sip.clubtele.se
username=045234567
secret=password
disallow=all
allow=alaw
TAB Sip settings incomming:
User context 045234567
User details:
(I’m lost here since it doesn’t work - this is only current settings)
type=user
host=sip.clubtele.se
username=045234567
secret=password
context=from-trunk
Register string: 045234567:[email protected]
Settings -> SIP settings
TAB General
Allow anonymous inbound SIP calls: NO (yes don’t work either)
NAT - auto detected and set (static IP)
IP 44.33.22.11
Local Netw. 192.168.1.1 / 255.255.255.0
192.168.1.0 / 24
RTP ports 10001 - 20000, chekcsum yes, strict yes
STUN/TURN - default blank
Codecs alaw, ulaw g722, gsm
TAB Chain SIP
NAT yes
IP config Static (but we only have dynamic from ISP, but is the same)
Registrations settings (probably the defaults):
Timeout 20
Attempts 0
Min Expire 60
Max Expire 3600
Default expire 120
Bind address: blank
Bin port_ 5060
Allow SIP Guest YES (No doesn’t work either)
SRV lookup NO
*** Outbound route ***
Name: PhoneOut
Outbound CID 045234567
Trunk Sequence: Affinity (selected trunk)
This is working perfectly.
*** Inbound route ***
Name PhoneHome (stupid name ok, but stil for test)
DID/CID: Any/Any
CID priority NO (Yes doesn’t work either)
Destination: Extension 58 (a ring group with extensions doesn’t work either)
Signal Ringing: NO (Yes doesn’t work either)
I also right now have 2 more inbounds for test (but no luck there either)
did/cid 045234567/any
did/cid “_X.”/any
also tried (and more):
did/cid any/cell-phone-number
From Asterisk logg:
Warning part (should not be any problem)
[2016-07-19 01:03:20] VERBOSE[27205] pbx.c: – Time to restore hints and swap in new dialplan: 0.000045 sec
[2016-07-19 01:03:20] VERBOSE[27205] pbx.c: – Time to delete the old dialplan: 0.004792 sec
[2016-07-19 01:03:20] VERBOSE[27205] pbx.c: – Total time merge_contexts_delete: 0.008459 sec
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-did-direct’ tries to include nonexistent context ‘ext-findmefollow’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-internal-xfer’ tries to include nonexistent context ‘from-internal-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-internal-noxfer’ tries to include nonexistent context ‘from-internal-noxfer-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-pstn’ tries to include nonexistent context ‘from-pstn-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-internal-noxfer-additional’ tries to include nonexistent context ‘from-internal-noxfer-additional-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-internal-additional’ tries to include nonexistent context ‘from-internal-additional-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-parked-call’ tries to include nonexistent context ‘macro-parked-call-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘func-apply-sipheaders’ tries to include nonexistent context ‘func-apply-sipheaders-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘func-set-sipheader’ tries to include nonexistent context ‘func-set-sipheader-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-dial-one’ tries to include nonexistent context ‘macro-dial-one-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-hangupcall’ tries to include nonexistent context ‘macro-hangupcall-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-blkvm-check’ tries to include nonexistent context ‘macro-blkvm-check-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-blkvm-clr’ tries to include nonexistent context ‘macro-blkvm-clr-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-blkvm-set’ tries to include nonexistent context ‘macro-blkvm-set-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-blkvm-setifempty’ tries to include nonexistent context ‘macro-blkvm-setifempty-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘originate-skipvm’ tries to include nonexistent context ‘originate-skipvm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-simple-dial’ tries to include nonexistent context ‘macro-simple-dial-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-exten-vm’ tries to include nonexistent context ‘macro-exten-vm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-vm’ tries to include nonexistent context ‘macro-vm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-block-cf’ tries to include nonexistent context ‘macro-block-cf-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-setmusic’ tries to include nonexistent context ‘macro-setmusic-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-dial-confirm’ tries to include nonexistent context ‘macro-dial-confirm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-dahdi’ tries to include nonexistent context ‘from-dahdi-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-zaptel’ tries to include nonexistent context ‘from-zaptel-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-outbound-callerid’ tries to include nonexistent context ‘macro-outbound-callerid-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-user-callerid’ tries to include nonexistent context ‘macro-user-callerid-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-privacy-mgr’ tries to include nonexistent context ‘macro-privacy-mgr-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-dialout-trunk’ tries to include nonexistent context ‘macro-dialout-trunk-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘sub-pincheck’ tries to include nonexistent context ‘sub-pincheck-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-auto-blkvm’ tries to include nonexistent context ‘macro-auto-blkvm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-auto-confirm’ tries to include nonexistent context ‘macro-auto-confirm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-confirm’ tries to include nonexistent context ‘macro-confirm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘sub-presencestate-display’ tries to include nonexistent context ‘sub-presencestate-display-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘bad-number’ tries to include nonexistent context ‘bad-number-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-blackhole’ tries to include nonexistent context ‘app-blackhole-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘outrt-1’ tries to include nonexistent context ‘outrt-1-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘outbound-allroutes’ tries to include nonexistent context ‘outbound-allroutes-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-prepend-cid’ tries to include nonexistent context ‘macro-prepend-cid-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-trunk-sip-affinity’ tries to include nonexistent context ‘from-trunk-sip-affinity-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-trunk’ tries to include nonexistent context ‘ext-trunk-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘from-did-direct-ivr’ tries to include nonexistent context ‘from-did-direct-ivr-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-local’ tries to include nonexistent context ‘ext-local-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-did-0002’ tries to include nonexistent context ‘ext-did-0002-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-did-catchall’ tries to include nonexistent context ‘ext-did-catchall-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-did-0001’ tries to include nonexistent context ‘ext-did-0001-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-did’ tries to include nonexistent context ‘ext-did-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-test’ tries to include nonexistent context ‘ext-test-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-chanspy’ tries to include nonexistent context ‘app-chanspy-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-zapbarge’ tries to include nonexistent context ‘app-zapbarge-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-pickup’ tries to include nonexistent context ‘app-pickup-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘findmefollow-ringallv2’ tries to include nonexistent context ‘findmefollow-ringallv2-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-local-confirm’ tries to include nonexistent context ‘ext-local-confirm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-dial’ tries to include nonexistent context ‘macro-dial-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-userlogonoff’ tries to include nonexistent context ‘app-userlogonoff-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-blacklist-last’ tries to include nonexistent context ‘app-blacklist-last-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-blacklist-remove’ tries to include nonexistent context ‘app-blacklist-remove-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-blacklist-add-invalid’ tries to include nonexistent context ‘app-blacklist-add-invalid-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-blacklist-add’ tries to include nonexistent context ‘app-blacklist-add-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-blacklist-check’ tries to include nonexistent context ‘app-blacklist-check-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-blacklist’ tries to include nonexistent context ‘app-blacklist-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-vmmain’ tries to include nonexistent context ‘app-vmmain-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-dialvm’ tries to include nonexistent context ‘app-dialvm-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘vm-callme’ tries to include nonexistent context ‘vm-callme-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘sub-rgsetcid’ tries to include nonexistent context ‘sub-rgsetcid-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-group’ tries to include nonexistent context ‘ext-group-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-systemrecording’ tries to include nonexistent context ‘macro-systemrecording-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘systemrecording-gui’ tries to include nonexistent context ‘systemrecording-gui-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-page-stream’ tries to include nonexistent context ‘app-page-stream-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-paging’ tries to include nonexistent context ‘app-paging-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘autoanswer’ tries to include nonexistent context ‘autoanswer-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-autoanswer’ tries to include nonexistent context ‘macro-autoanswer-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-intercom-users’ tries to include nonexistent context ‘ext-intercom-users-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-intercom’ tries to include nonexistent context ‘ext-intercom-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘sub-hr12format’ tries to include nonexistent context ‘sub-hr12format-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-speakingclock’ tries to include nonexistent context ‘app-speakingclock-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘’ tries to include nonexistent context ‘-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘sub-hr24format’ tries to include nonexistent context ‘sub-hr24format-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-speakextennum’ tries to include nonexistent context ‘app-speakextennum-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-echo-test-echo’ tries to include nonexistent context ‘app-echo-test-echo-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-echo-test’ tries to include nonexistent context ‘app-echo-test-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-calltrace-perform’ tries to include nonexistent context ‘app-calltrace-perform-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘app-calltrace’ tries to include nonexistent context ‘app-calltrace-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘ext-featurecodes’ tries to include nonexistent context ‘ext-featurecodes-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘macro-one-touch-record’ tries to include nonexistent context ‘macro-one-touch-record-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘sub-record-check’ tries to include nonexistent context ‘sub-record-check-custom’
[2016-07-19 01:03:20] WARNING[27205] pbx.c: Context ‘sub-record-cancel’ tries to include nonexistent context ‘sub-record-cancel-custom’
[2016-07-19 01:03:20] VERBOSE[27205] loader.c: – Reloading module ‘res_adsi.so’ (ADSI Resource)
Incomming call part (in 3d row I can see the call):
[2016-07-19 01:13:10] SECURITY[1803] res_security_log.c: SecurityEvent=“ChallengeSent”,EventTV=“1468883590-263835”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“57”,SessionID=“0x71c03714”,LocalAddress=“IPV4/UDP/192.168.1.100/5060”,RemoteAddress=“IPV4/UDP/192.168.1.158/5060”,Challenge=“4090dcb7”
[2016-07-19 01:13:10] SECURITY[1803] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“1468883590-301469”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“57”,SessionID=“0x71c03714”,LocalAddress=“IPV4/UDP/192.168.1.100/5060”,RemoteAddress=“IPV4/UDP/192.168.1.158/5060”,UsingPassword=“1”
[2016-07-19 01:13:13] SECURITY[1803] res_security_log.c: SecurityEvent=“ChallengeSent”,EventTV=“1468883593-207285”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID="sip:[email protected];user=phone",SessionID=“0x71c3c62c”,LocalAddress=“IPV4/UDP/44.33.22.11/5060”,RemoteAddress=“IPV4/UDP/62.80.216.2/5060”,Challenge=“45451642”
[2016-07-19 01:13:17] SECURITY[1803] res_security_log.c: SecurityEvent=“ChallengeSent”,EventTV=“1468883597-615017”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“59”,SessionID=“0x71ccb354”,LocalAddress=“IPV4/UDP/192.168.1.100/5060”,RemoteAddress=“IPV4/UDP/192.168.1.158/5060”,Challenge=“5a3760f8”
[2016-07-19 01:13:17] SECURITY[1803] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“1468883597-653361”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“59”,SessionID=“0x71ccb354”,LocalAddress=“IPV4/UDP/192.168.1.100/5060”,RemoteAddress=“IPV4/UDP/192.168.1.158/5060”,UsingPassword=“1”
[2016-07-19 01:13:20] SECURITY[1803] res_security_log.c: SecurityEvent=“ChallengeSent”,EventTV=“1468883600-245879”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“54”,SessionID=“0x71d5aacc”,LocalAddress=“IPV4/UDP/192.168.1.100/5060”,RemoteAddress=“IPV4/UDP/192.168.1.158/5060”,Challenge=“47e2e2c7”
[2016-07-19 01:13:20] SECURITY[1803] res_security_log.c: SecurityEvent=“SuccessfulAuth”,EventTV=“1468883600-284314”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“54”,SessionID=“0x71d5aacc”,LocalAddress=“IPV4/UDP/192.168.1.100/5060”,RemoteAddress=“IPV4/UDP/192.168.1.158/5060”,UsingPassword=“1”
From the WIKI to trace calls.
Unfortenately no wanpipemon in my system for tracing.
tcpdump was present but didn’t work either.
So, yes I’ve no tried for more than a week and is now defeated.
Hope someone with more knowledge than me, can give me a hint where I have failed.
Where is the darn checkbox I’ve missed after so many hours??
// Kim - Sweden - qunaki