Re: [Asterisk-java-users] Wrong PJSIP_HEADER read

2018-12-26 Thread Salahuddin Ahmed
Hello Yves, Thanks for your response and I am very sorry for the late reply. OS: Debian (Jessie) Asterisk: 13.20.0 Asterisk-Java: 2.0.3 Actually, regenerate this issue is a little harder, but in our environment, in sipp we send a cancel from caller side after few milliseconds (50-58ms) then this

Re: [Asterisk-java-users] Wrong PJSIP_HEADER read

2018-12-23 Thread Yves
Hello Ahmed, thanks for you valuable findings. To find out, whats going on, I´d like to copy your setup; so, what versions are you using concerning - OperatingSystem - Asterisk - Asterisk-Java How do you "time" the Hangup so that it occurs between the two getHeader-Methods... or do you delay

Re: [Asterisk-java-users] Wrong PJSIP_HEADER read

2018-12-20 Thread Salahuddin Ahmed
Hello, Let's explain the issue, In our agi script has those following header read, AGI Code: = String fromHeader = getHeaderValue("FROM"); String paidHeader = getHeaderValue("P-ASSERTED-IDENTITY"); String privacyHeader = getHeaderValue("PRIVACY"); String to

[Asterisk-java-users] Wrong PJSIP_HEADER read

2018-12-18 Thread Salahuddin Ahmed
Hello, Recently I have noticed an error in my service. After some investigation, we found that its due to some calls is terminated very early. The scenario is, If Caller-A sends an INVITE to Asterisk, This INVITE processed on an agi method. On that method, we read several sip custom and default s