Hi, I’ve a SIP trunk with voipbuster, and an incoming number for Voipbuster, works ok…
but sometimes, after calling it a few times, It hangs up immidelty.
When I get a normal call everything goes well,
and when my call gets hanged up I get this:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
That’s all it says in the asterisk -r log file, on CLI.
Can anyone give me an help?
I’ve an ring group setup for this number, and it forwards the calls to that.
The strange thing is, that when I restart asterisk, everything starts working again! No changes.
Then I get this:
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/5060-00000004", "1?from-trunk,+31857840891,1") in new stack
-- Goto (from-trunk,+31857840891,1)
-- Executing [+31857840891@from-trunk:1] Set("SIP/5060-00000004", "__FROM_DID=+31857840891") in new stack
-- Executing [+31857840891@from-trunk:2] Gosub("SIP/5060-00000004", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/5060-00000004", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Return("SIP/5060-00000004", "") in new stack
-- Executing [+31857840891@from-trunk:3] ExecIf("SIP/5060-00000004", "0 ?Set(CALLERID(name)=Anonymous)") in new stack
-- Executing [+31857840891@from-trunk:4] Set("SIP/5060-00000004", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [+31857840891@from-trunk:5] Set("SIP/5060-00000004", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [+31857840891@from-trunk:6] Goto("SIP/5060-00000004", "ext-group,085,1") in new stack
-- Goto (ext-group,085,1)
-- Executing [085@ext-group:1] Macro("SIP/5060-00000004", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/5060-00000004", "AMPUSER=Anonymous") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/5060-00000004", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/5060-00000004", "1?Set(REALCALLERIDNUM=Anonymous)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/5060-00000004", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/5060-00000004", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/5060-00000004", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/5060-00000004", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/5060-00000004", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/5060-00000004", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/5060-00000004", "Using CallerID "Anonymous" <Anonymous>") in new stack
-- Executing [085@ext-group:2] GotoIf("SIP/5060-00000004", "1?skipdb") in new stack
-- Goto (ext-group,085,4)
-- Executing [085@ext-group:4] Set("SIP/5060-00000004", "__NODEST=") in new stack
-- Executing [085@ext-group:5] Set("SIP/5060-00000004", "__BLKVM_OVERRIDE=BLKVM/085/SIP/5060-00000004") in new stack
-- Executing [085@ext-group:6] Set("SIP/5060-00000004", "__BLKVM_BASE=085") in new stack
-- Executing [085@ext-group:7] Set("SIP/5060-00000004", "DB(BLKVM/085/SIP/5060-00000004)=TRUE") in new stack
-- Executing [085@ext-group:8] Set("SIP/5060-00000004", "RRNODEST=") in new stack
-- Executing [085@ext-group:9] Set("SIP/5060-00000004", "__NODEST=085") in new stack
-- Executing [085@ext-group:10] Set("SIP/5060-00000004", "RecordMethod=Group") in new stack
-- Executing [085@ext-group:11] Macro("SIP/5060-00000004", "record-enable,11-12,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/5060-00000004", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/5060-00000004", "recordingcheck,20110407-164454,1302187494.4") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- <SIP/5060-00000004>AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/5060-00000004", "") in new stack
-- Executing [085@ext-group:12] Set("SIP/5060-00000004", "RingGroupMethod=ringall") in new stack
-- Executing [085@ext-group:13] Macro("SIP/5060-00000004", "dial,20,tr,11-12") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/5060-00000004", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/5060-00000004", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘Anonymous’ number is ‘Anonymous’
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 11 to extension map
– dialparties.agi: Added extension 12 to extension map
– dialparties.agi: Extension 11 cf is disabled
– dialparties.agi: Extension 12 cf is disabled
– dialparties.agi: Extension 11 do not disturb is disabled
– dialparties.agi: Extension 12 do not disturb is disabled
– dialparties.agi: DbDel CALLTRACE/11 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/12 - Caller ID is not defined
– dialparties.agi: Filtered ARG3: 11-12
– <SIP/5060-00000004>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/5060-00000004”, “SIP/11&SIP/12,20,trM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 11
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– SIP/11-00000005 is ringing
– Got SIP response 486 “Busy Here” back from 192.168.1.104
– SIP/11-00000005 is busy
== Everyone is busy/congested at this time (2:1/0/1)
– Executing [s@macro-dial:8] Set(“SIP/5060-00000004”, “DIALSTATUS=BUSY”) in new stack
– Executing [s@macro-dial:9] GosubIf(“SIP/5060-00000004”, “0?BUSY,1”) in new stack
– Executing [085@ext-group:14] Set(“SIP/5060-00000004”, “RingGroupMethod=”) in new stack
– Executing [085@ext-group:15] GotoIf(“SIP/5060-00000004”, “0?nodest”) in new stack
– Executing [085@ext-group:16] Set(“SIP/5060-00000004”, “__NODEST=”) in new stack
– Executing [085@ext-group:17] DBdel(“SIP/5060-00000004”, “BLKVM/085/SIP/5060-00000004”) in new stack
– DBdel: family=BLKVM, key=085/SIP/5060-00000004
– Executing [085@ext-group:18] Goto(“SIP/5060-00000004”, “ext-local,vmb11,1”) in new stack
– Goto (ext-local,vmb11,1)
– Executing [vmb11@ext-local:1] Macro(“SIP/5060-00000004”, “vm,11,BUSY,”) in new stack
– Executing [s@macro-vm:1] Macro(“SIP/5060-00000004”, “user-callerid,SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/5060-00000004”, “AMPUSER=Anonymous”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/5060-00000004”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/5060-00000004”, “0?Set(REALCALLERIDNUM=Anonymous)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/5060-00000004”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/5060-00000004”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/5060-00000004”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/5060-00000004”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/5060-00000004”, “Using CallerID “Anonymous” “) in new stack
– Executing [s@macro-vm:2] Set(“SIP/5060-00000004”, “VMGAIN=”””) in new stack
– Executing [s@macro-vm:3] GotoIf(“SIP/5060-00000004”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [vmx@macro-vm:1] GotoIf(“SIP/5060-00000004”, “0?s-BUSY,1”) in new stack
– Executing [vmx@macro-vm:2] Set(“SIP/5060-00000004”, “MODE=busy”) in new stack
– Executing [vmx@macro-vm:3] GotoIf(“SIP/5060-00000004”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,5)
– Executing [vmx@macro-vm:5] NoOp(“SIP/5060-00000004”, “Checking if ext 11 is enabled: “) in new stack
– Executing [vmx@macro-vm:6] GotoIf(“SIP/5060-00000004”, “1?s-BUSY,1”) in new stack
– Goto (macro-vm,s-BUSY,1)
– Executing [s-BUSY@macro-vm:1] NoOp(“SIP/5060-00000004”, “BUSY voicemail”) in new stack
– Executing [s-BUSY@macro-vm:2] Macro(“SIP/5060-00000004”, “get-vmcontext,11”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/5060-00000004”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/5060-00000004”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“SIP/5060-00000004”, “”) in new stack
– Executing [s-BUSY@macro-vm:3] VoiceMail(“SIP/5060-00000004”, “11@default,b”””) in new stack
– <SIP/5060-00000004> Playing ‘vm-theperson.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘vm-isonphone.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘vm-intro.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘beep.gsm’ (language ‘en’)
– Recording the message
– x=0, open writing: /var/spool/asterisk/voicemail/default/11/tmp/H7eRqi format: wav49, 0x8c39df0
– x=1, open writing: /var/spool/asterisk/voicemail/default/11/tmp/H7eRqi format: gsm, 0x837eaf8
– x=2, open writing: /var/spool/asterisk/voicemail/default/11/tmp/H7eRqi format: wav, 0x8c86e70
– User hung up
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘SIP/5060-00000004’ in macro ‘vm’
== Spawn extension (ext-local, vmb11, 1) exited non-zero on ‘SIP/5060-00000004’
VoxTrixboxCLI> – <SIP/5060-00000004> Playing ‘vm-theperson.gsm’ (language ‘en’)
VoxTrixboxCLI> – <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)
– <SIP/5060-00000004> Playing ‘beep.gsm’ (language ‘en’)
VoxTrixboxCLI> – <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)
VoxTrixboxCLI> – <SIP/5060-00000004> Playing ‘vm-isonphone.gsm’ (language ‘en’)
VoxTrixboxCLI> – <SIP/5060-00000004> Playing ‘vm-intro.gsm’ (language ‘en’)
VoxTrixboxCLI> – <SIP/5060-00000004> Playing ‘beep.gsm’ (language ‘en’)
No such command ’ – <SIP/5060-00000004> Playing ‘vm-theperson.gsm’ (language ‘en’)’ (type ‘help – <SIP/5060-00000004>’ for other possible commands)
No such command ’ – <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)’ (type ‘help – <SIP/5060-00000004>’ for other possible commands)
No such command ’ – <SIP/5060-00000004> Playing ‘digits/1.gsm’ (language ‘en’)’ (type ‘help – <SIP/5060-00000004>’ for other possible commands)
No such command ’ – <SIP/5060-00000004> Playing ‘vm-isonphone.gsm’ (language ‘en’)’ (type ‘help – <SIP/5060-00000004>’ for other possible commands)
No such command ’ – <SIP/5060-00000004> Playing ‘vm-intro.gsm’ (language ‘en’)’ (type ‘help – <SIP/5060-00000004>’ for other possible commands)
No such command ’ – <SIP/5060-00000004> Playing ‘beep.gsm’ (language ‘en’)’ (type ‘help – <SIP/5060-00000004>’ for other possible commands)
VoxTrixbox*CLI>