Incoming calls from SIP Trunk not working

grotevriend

Joined
Jun 19, 2010
Messages
1
Likes
0
Points
0
#1
Hi All,

First of all thanks for an awesome piece of software.

I'm quite new to Elastix/Asterisk and as of now I'm deploying a second Elastix server.

The purpose of the server is to act as a local pbx using a remote broadsoft pbx as a trunk. At this point Outgoing calls are working using the following configuration:

Outgoing Settings:
host=customer.company.voipit.nl
proxy=customer.company.voipit.nl
type=peer
username=34874xxxx
authname=trunk_auth_name
fromuser=34874xxxx
secret=password
fromdomain=customer.company.voipit.nl
insecure=very
canreinvite=no
dtmfmode=rfc2833
disallow=all
allow=g729&ulaw&alaw

Incoming Settings:
left blank as I have no idea what to put here

Register String:
34874xxxx@customer.company.voipit.nl:password:trunk_auth_name@customer.company.voipit.nl/34874xxxx

Apart from above configuration I have also added an entry to our dns server in order to resolve customer.company.voipit.nl to the appropiate ip address which i usely fill in as outbound proxy. The reason for this is because the specified name is not a real domain name and is only used as a fromdomain / administrative domain by the broadsoft pbx. Normally this doesn't cause any problems; but with asterisk i havent found out how to get registered without this added dns entry.

Anyway:
I get the following output from asterisk when I receive an incoming call:

-- Executing [34874xxxx@from-sip-external:1] NoOp("SIP/34874xxxx-09f258f8", "Received incoming SIP connection from unknown peer to 34874xxxx") in new stack
-- Executing [34874xxxx@from-sip-external:2] Set("SIP/34874xxxx-09f258f8", "DID=34874xxxx") in new stack
-- Executing [34874xxxx@from-sip-external:3] Goto("SIP/34874xxxx-09f258f8", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/34874xxxx-09f258f8", "1?from-trunk|34874xxxx|1") in new stack
-- Goto (from-trunk,34874xxxx,1)
-- Executing [34874xxxx@from-trunk:1] NoOp("SIP/34874xxxx-09f258f8", "Catch-All DID Match - Found 34874xxxx - You probably want a DID for this.") in new stack
-- Executing [34874xxxx@from-trunk:2] Goto("SIP/34874xxxx-09f258f8", "ext-did|s|1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("SIP/34874xxxx-09f258f8", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/34874xxxx-09f258f8", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/34874xxxx-09f258f8", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/34874xxxx-09f258f8", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/34874xxxx-09f258f8", "") in new stack
-- Executing [s@ext-did:3] ExecIf("SIP/34874xxxx-09f258f8", "0 |Set|CALLERID(name)=061452xxxx") in new stack
-- Executing [s@ext-did:4] Set("SIP/34874xxxx-09f258f8", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5] SetCallerPres("SIP/34874xxxx-09f258f8", "allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Goto("SIP/34874xxxx-09f258f8", "ext-group|200|1") in new stack
-- Goto (ext-group,200,1)
-- Executing [200@ext-group:1] Macro("SIP/34874xxxx-09f258f8", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/34874xxxx-09f258f8", "AMPUSER=061452xxxx") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/34874xxxx-09f258f8", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/34874xxxx-09f258f8", "1|Set|REALCALLERIDNUM=061452xxxx") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/34874xxxx-09f258f8", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/34874xxxx-09f258f8", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/34874xxxx-09f258f8", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/34874xxxx-09f258f8", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/34874xxxx-09f258f8", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/34874xxxx-09f258f8", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/34874xxxx-09f258f8", "Using CallerID "061452xxxx" <061452xxxx>") in new stack
-- Executing [200@ext-group:2] GotoIf("SIP/34874xxxx-09f258f8", "1?skipdb") in new stack
-- Goto (ext-group,200,4)
-- Executing [200@ext-group:4] Set("SIP/34874xxxx-09f258f8", "__NODEST=") in new stack
-- Executing [200@ext-group:5] Set("SIP/34874xxxx-09f258f8", "__BLKVM_OVERRIDE=BLKVM/200/SIP/34874xxxx-09f258f8") in new stack
-- Executing [200@ext-group:6] Set("SIP/34874xxxx-09f258f8", "__BLKVM_BASE=200") in new stack
-- Executing [200@ext-group:7] Set("SIP/34874xxxx-09f258f8", "DB(BLKVM/200/SIP/34874xxxx-09f258f8)=TRUE") in new stack
-- Executing [200@ext-group:8] Set("SIP/34874xxxx-09f258f8", "RRNODEST=") in new stack
-- Executing [200@ext-group:9] Set("SIP/34874xxxx-09f258f8", "__NODEST=200") in new stack
-- Executing [200@ext-group:10] Set("SIP/34874xxxx-09f258f8", "RecordMethod=Group") in new stack
-- Executing [200@ext-group:11] Macro("SIP/34874xxxx-09f258f8", "record-enable|210-211-212-213-214-215-216-217-218|Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/34874xxxx-09f258f8", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/34874xxxx-09f258f8", "recordingcheck|20100619-232017|1276982417.116") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/34874xxxx-09f258f8", "") in new stack
-- Executing [200@ext-group:12] Set("SIP/34874xxxx-09f258f8", "RingGroupMethod=ringall") in new stack
-- Executing [200@ext-group:13] Macro("SIP/34874xxxx-09f258f8", "dial|40|tr|210-211-212-213-214-215-216-217-218") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/34874xxxx-09f258f8", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/34874xxxx-09f258f8", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is '061452xxxx' number is '061452xxxx'
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 210 to extension map
-- dialparties.agi: Added extension 211 to extension map
-- dialparties.agi: Added extension 212 to extension map
-- dialparties.agi: Added extension 213 to extension map
-- dialparties.agi: Added extension 214 to extension map
-- dialparties.agi: Added extension 215 to extension map
-- dialparties.agi: Added extension 216 to extension map
-- dialparties.agi: Added extension 217 to extension map
-- dialparties.agi: Added extension 218 to extension map
-- dialparties.agi: Extension 210 cf is disabled
-- dialparties.agi: Extension 211 cf is disabled
-- dialparties.agi: Extension 212 cf is disabled
-- dialparties.agi: Extension 213 cf is disabled
-- dialparties.agi: Extension 214 cf is disabled
-- dialparties.agi: Extension 215 cf is disabled
-- dialparties.agi: Extension 216 cf is disabled
-- dialparties.agi: Extension 217 cf is disabled
-- dialparties.agi: Extension 218 cf is disabled
-- dialparties.agi: Extension 210 do not disturb is disabled
-- dialparties.agi: Extension 211 do not disturb is disabled
-- dialparties.agi: Extension 212 do not disturb is disabled
-- dialparties.agi: Extension 213 do not disturb is disabled
-- dialparties.agi: Extension 214 do not disturb is disabled
-- dialparties.agi: Extension 215 do not disturb is disabled
-- dialparties.agi: Extension 216 do not disturb is disabled
-- dialparties.agi: Extension 217 do not disturb is disabled
-- dialparties.agi: Extension 218 do not disturb is disabled
-- dialparties.agi: dbset CALLTRACE/210 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/211 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/212 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/213 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/214 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/215 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/216 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/217 to 061452xxxx
-- dialparties.agi: dbset CALLTRACE/218 to 061452xxxx
-- dialparties.agi: Filtered ARG3: 210-211-212-213-214-215-216-217-218
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/34874xxxx-09f258f8", "SIP/210&SIP/211&SIP/212&SIP/213&SIP/214&SIP/215&SIP/216&SIP/217&SIP/218|40|trM(auto-blkvm)") in new stack
-- Couldn't call 210
-- Couldn't call 211
-- Couldn't call 212
-- Couldn't call 213
-- Couldn't call 214
-- Couldn't call 215
-- Couldn't call 217
-- Couldn't call 218
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial:8] Set("SIP/34874xxxx-09f258f8", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/34874xxxx-09f258f8", "0?CHANUNAVAIL|1") in new stack
-- Executing [200@ext-group:14] Set("SIP/34874xxxx-09f258f8", "RingGroupMethod=") in new stack
-- Executing [200@ext-group:15] GotoIf("SIP/34874xxxx-09f258f8", "0?nodest") in new stack
-- Executing [200@ext-group:16] Set("SIP/34874xxxx-09f258f8", "__NODEST=") in new stack
-- Executing [200@ext-group:17] DBdel("SIP/34874xxxx-09f258f8", "BLKVM/200/SIP/34874xxxx-09f258f8") in new stack
-- DBdel: family=BLKVM, key=200/SIP/34874xxxx-09f258f8
-- Executing [200@ext-group:18] Goto("SIP/34874xxxx-09f258f8", "app-blackhole|hangup|1") in new stack
-- Goto (app-blackhole,hangup,1)
-- Executing [hangup@app-blackhole:1] NoOp("SIP/34874xxxx-09f258f8", "Blackhole Dest: Hangup") in new stack
-- Executing [hangup@app-blackhole:2] Hangup("SIP/34874xxxx-09f258f8", "") in new stack
== Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/34874xxxx-09f258f8'


I'm convinced there's nothing wrong with the endoints; as they can call and be called from internally.

Does anyone have any idea whats going on here? I'm able to supply more detailed information if necassary ofcourse.

Thanks a lot in advance,

Best Regards,
Tobias
 

allard

Joined
Feb 23, 2012
Messages
1
Likes
0
Points
0
#2
Hello,

Did you find the solution already?

Kind regards,

Allard
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top