Hello! I have a newly built system that integrates Asterisk with Avaya. Call flow goes like this: Customer calls the hotline in the Asterisk platform then gets routed to Avaya Experience portal after the caller selects the appropriate option. Caller hears the IVR from AAEP and after selecting the option to route to an Agent, the call gets disconnected. Looks like SM is initiating a BYE message but I cant understand why as there is no error in the trace.
Asterisk is connected to SM, then CM, MPP is connected to SM. Below are the logs I captured from the MPP and SIP traces as well:
@2021-03-13 05:17:43,259||FINER|Tele|9822|FileName=sip/SIPTCP.cpp,LineNumber=493|SIPTCP::SendSIPMsg: buffer=0xe9831068, len=728|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=481|cUAInterface::SendToNetwork: rval=728, length=728|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: envoked with reason 15000, headers= 0|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: starting clearing timer|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINE|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=221|cUAInterface::TimerFactory: Function(0x108049c) Data(0xe98495a8) duration(5000)|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: called in state 12|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: call-id=62a5f124714cdac61f0015984cb68f19@10.173.117.11, from-tag=c6b2a176c82eb199f00a5a3944, to-tag=as31ee6512|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: BUILDING SIP BYE in state = 12|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=311|UASocketAddress = 10.173.117.11|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=399|cUAInterface::GetPeerName: socket 7005 found 10.173.117.11:5060|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINE|SIP|9822|FileName=sip/UAInterface.cpp,LineNumber=479|SND sock=78:7005 src=10.173.173.57:32319 dst=10.173.117.11:5060 <^BYE sip:006593861127@192.168.192.167:5060;gsid=1be19650-846e-11eb-b0bb-005056868a2a;asm=1 SIP/2.0
From: sip:5610022@10.173.117.11:5062;tag=c6b2a176c82eb199f00a5a3944
To: "006593861127" <sip:006593861127@10.173.117.11>;tag=as31ee6512
Call-ID: 62a5f124714cdac61f0015984cb68f19@10.173.117.11
CSeq: 2 BYE
Max-Forwards: 70
Route: <sip:sm1@10.173.117.11;transport=tcp;lr;av-asset-uid=ab939b0>
Route: <sip:127.0.0.2:15060;transport=tcp;ibmsid=local.1587013557443_20267060_20267069;lr;ibmdrr>
Route: <sip:127.0.0.2:15060;transport=udp;ibmsid=local.1587013557443_20267060_20267069;lr;ibmdrr>
Route: <sip:sm1@10.173.117.11:5062;transport=udp;lr;av-asset-uid=ab939b0>
Via: SIP/2.0/TCP 10.173.173.57;branch=z9hG4bKf6be9276c82eb1b6f00a5a3944
User-Agent: Avaya-VoicePortal/7.2.0.0.1117
Av-Global-Session-ID: 1be19650-846e-11eb-b0bb-005056868a2a
Content-Length: 0
Thanks for your help!
Asterisk is connected to SM, then CM, MPP is connected to SM. Below are the logs I captured from the MPP and SIP traces as well:
@2021-03-13 05:17:43,259||FINER|Tele|9822|FileName=sip/SIPTCP.cpp,LineNumber=493|SIPTCP::SendSIPMsg: buffer=0xe9831068, len=728|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=481|cUAInterface::SendToNetwork: rval=728, length=728|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: envoked with reason 15000, headers= 0|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: starting clearing timer|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINE|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=221|cUAInterface::TimerFactory: Function(0x108049c) Data(0xe98495a8) duration(5000)|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: called in state 12|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: call-id=62a5f124714cdac61f0015984cb68f19@10.173.117.11, from-tag=c6b2a176c82eb199f00a5a3944, to-tag=as31ee6512|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=120|cUADialog::ClearCall: BUILDING SIP BYE in state = 12|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=311|UASocketAddress = 10.173.117.11|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINEST|Tele|9822|FileName=sip/UAInterface.cpp,LineNumber=399|cUAInterface::GetPeerName: socket 7005 found 10.173.117.11:5060|mpp-01.abc.local####
@2021-03-13 05:17:43,259||FINE|SIP|9822|FileName=sip/UAInterface.cpp,LineNumber=479|SND sock=78:7005 src=10.173.173.57:32319 dst=10.173.117.11:5060 <^BYE sip:006593861127@192.168.192.167:5060;gsid=1be19650-846e-11eb-b0bb-005056868a2a;asm=1 SIP/2.0
From: sip:5610022@10.173.117.11:5062;tag=c6b2a176c82eb199f00a5a3944
To: "006593861127" <sip:006593861127@10.173.117.11>;tag=as31ee6512
Call-ID: 62a5f124714cdac61f0015984cb68f19@10.173.117.11
CSeq: 2 BYE
Max-Forwards: 70
Route: <sip:sm1@10.173.117.11;transport=tcp;lr;av-asset-uid=ab939b0>
Route: <sip:127.0.0.2:15060;transport=tcp;ibmsid=local.1587013557443_20267060_20267069;lr;ibmdrr>
Route: <sip:127.0.0.2:15060;transport=udp;ibmsid=local.1587013557443_20267060_20267069;lr;ibmdrr>
Route: <sip:sm1@10.173.117.11:5062;transport=udp;lr;av-asset-uid=ab939b0>
Via: SIP/2.0/TCP 10.173.173.57;branch=z9hG4bKf6be9276c82eb1b6f00a5a3944
User-Agent: Avaya-VoicePortal/7.2.0.0.1117
Av-Global-Session-ID: 1be19650-846e-11eb-b0bb-005056868a2a
Content-Length: 0
Thanks for your help!