Cancel after second invite


#1

Hi all,

I have one strange problem, I have one trunk between two asterisk and the first call is correctly established and the second call isn’t established and the asterisk of origin send one CANCEL.

I use the command Dial with this configuration.

exten => _X.,n(dial),Dial(SIP/${dst}@,60,G(conferencep^${src}REC^1))
exten => _X.,n(nodial),Dial(SIP/${src}@,60,G(conference^${src}REC^1))

Anyone can help me?

Thanks for your attention.


#2

You are using a 5 year old version of Asterisk. I don’t think anyone will want to spend too much time digging into this until you are using a more recent version, as chasing down bugs which may already be fixed is no fun.


#3

Hi,

I understand your answer, but when you have one client with this version you can’t just update and expect the problem disappear.

This screenshot’s is between Asterisk 11.x and Cisco Call Manager, but I have the same problem in other trunk between Asterisk 11.x and Asterisk 1.8 :frowning: .

I try this dialplan in one trunk with two asterisk with version 11.x and all works correctly.

Thanks for your attention.
Regards


#4

I understand, but I’m just stating that you may not find anyone on here who wants to invest their own time trying to track that down for you. I can say I don’t recall seeing any bugs for this in recent times, but that’s not to say it doesn’t exist. To really know you have to compare the latest version with the version you are running, see if the problem still exists, if not then go back until you find where it was fixed.


#5

I try to understand the problem and i think the problem is mine.

Because I try to generate two calls in the same channel and i don’t think this is possible.

The first call is established correctly but the second not.

What to you think about that ?

If i use the command originate all works correctly but i need to know the callerId of call.
– Executing [10001@default:1] NoOp(“Local/10001@default-00000001;2”, "“channel " Local/10001@default-00000001;2”) in new stack
– Executing [10001@default:2] Set(“Local/10001@default-00000001;2”, “myVar=10001”) in new stack
– Executing [10001@default:3] Set(“Local/10001@default-00000001;2”, “cutVar=10001”) in new stack
– Executing [10001@default:4] Set(“Local/10001@default-00000001;2”, “srcAux=10001”) in new stack
– Executing [10001@default:5] Set(“Local/10001@default-00000001;2”, “src=10001”) in new stack
– Executing [10001@default:6] Set(“Local/10001@default-00000001;2”, “dst=”) in new stack
– Executing [10001@default:7] NoOp(“Local/10001@default-00000001;2”, “10001”) in new stack
– Executing [10001@default:8] NoOp(“Local/10001@default-00000001;2”, “10001”) in new stack
– Executing [10001@default:9] NoOp(“Local/10001@default-00000001;2”, “”) in new stack
– Executing [10001@default:10] GotoIf(“Local/10001@default-00000001;2”, “1?originate:dial”) in new stack
– Goto (default,10001,11)
– Executing [10001@default:11] Originate(“Local/10001@default-00000001;2”, “SIP/10001REC,exten,conferencep,10001REC,1”) in new stack
== Using SIP RTP CoS mark 5
– Got SIP response 486 “Busy Here” back from 192.168.0.180:57350
– Executing [10001@default:12] GotoIf(“Local/10001@default-00000001;2”, “0?dial:nodial”) in new stack
– Goto (default,10001,16)
-- Executing [10001@default:16] Dial(“Local/10001@default-00000001;2”, “SIP/10001@agora,90,G(conferencep^10001REC^1)”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/10001@agora
– SIP/agora-00000007 is ringing
– SIP/agora-00000007 answered Local/10001@default-00000001;2
– Executing [10001REC@conferencep:1] NoOp(“Local/10001@default-00000001;2”, “============== Value Origin : Loc ========================”) in new stack
– Executing [10001REC@conferencep:2] GotoIf(“Local/10001@default-00000001;2”, " 0?next:end") in new stack
– Goto (conferencep,10001REC,5)
– Executing [10001REC@conferencep:5] Answer(“Local/10001@default-00000001;2”, “”) in new stack
> Channel Local/10001@default-00000001;1 was answered
– Executing [10001,10002@default:1] NoOp(“Local/10001@default-00000001;1”, "“channel " Local/10001@default-00000001;1”) in new stack
– Executing [10001,10002@default:2] Set(“Local/10001@default-00000001;1”, “myVar=10001,10002”) in new stack
– Executing [10001REC@conferencep:2] GotoIf(“SIP/agora-00000007”, " 1?next:end") in new stack
– Goto (conferencep,10001REC,3)
– Executing [10001REC@conferencep:3] Answer(“SIP/agora-00000007”, “”) in new stack
– Executing [10001,10002@default:3] Set(“Local/10001@default-00000001;1”, “cutVar=10001”) in new stack
– Executing [10001REC@conferencep:4] ConfBridge(“SIP/agora-00000007”, “10001REC,limited_user,”) in new stack
– Executing [10001,10002@default:4] Set(“Local/10001@default-00000001;1”, “srcAux=10001”) in new stack
– Executing [10001,10002@default:5] Set(“Local/10001@default-00000001;1”, “src=10001”) in new stack
– Executing [10001,10002@default:6] Set(“Local/10001@default-00000001;1”, “dst=10002”) in new stack
– Executing [10001,10002@default:7] NoOp(“Local/10001@default-00000001;1”, “10001”) in new stack
– Executing [10001,10002@default:8] NoOp(“Local/10001@default-00000001;1”, “10001”) in new stack
– Executing [10001,10002@default:9] NoOp(“Local/10001@default-00000001;1”, “10002”) in new stack
– Executing [10001,10002@default:10] GotoIf(“Local/10001@default-00000001;1”, “0?originate:dial”) in new stack
– Goto (default,10001,10002,13)
– Executing [10001,10002@default:13] Set(“Local/10001@default-00000001;1”, “CALLERID(num)=54321”) in new stack
– Executing [10001,10002@default:14] Set(“Local/10001@default-00000001;1”, “CALLERID(name)=Asterisk”) in new stack
– Executing [10001,10002@default:15] Dial(“Local/10001@default-00000001;1”, “SIP/10002@agora,90,G(conference^10001REC^1)”) in new stack
== Using SIP RTP CoS mark 5
– <SIP/agora-00000007> Playing ‘beep.gsm’ (language ‘en’)
– Called SIP/10002@agora
– SIP/agora-00000008 is ringing
– <SIP/agora-00000007> Playing ‘silence/1.gsm’ (language ‘en’)
– Executing [10001REC@conferencep:6] NoOp(“Local/10001@default-00000001;2”, “”==================END====================="") in new stack
– Auto fallthrough, channel ‘Local/10001@default-00000001;2’ status is ‘ANSWER’
== Spawn extension (default, 10001,10002, 15) exited non-zero on ‘Local/10001@default-00000001;1’
– <Bridge/0x7f9080001528-input> Playing ‘silence/1.gsm’ (language ‘en’)


#6

Whatever SIP/10001REC is it responded with a “Busy Here”.