Sorry, All,
I attached two documents over 40k. Having it zipped, and post it again. Hope you all could read them now.
James Su
From: Jam...@gm...
Date: 2017-05-28 23:39
To: opalvoip-user
Subject: A call from sip-in with PCMA to sip-out-with-PCMA failed, indicating a weird media negociation error
Hi, opalvoip-user,
Just trying to make a opalvoip application to implement a very simple softswitch using Opalvoip 3.10.10 as below,
- With a sip call coming in, the application just modifying the called number in the call and forwarding it out via a sip trunk.
- Codec is very simple as PCMA for A party and B party. There is no requirement for transcoding.
Now the issue I met is that when the called subscriber answers the call, the application would start releasing the call, as below
- An incoming call from subscriber SIPA to my application
- My application forwards the call to subcriber SIPB
- SIPB alerting
- SIPA hearing alert sound
- SIPB answers
- my application starts to release the call once receiving the 200Ok from subscriber SIPB
I did some work in the tracing log as attachment and found that there is a media negociation error happening. But as you know, actually there is no need for media negociation, just PCMA in and PCMA out, which you should be able to find in the log. Any thought please kindly let me know. Thanks.
BTW, Please refer to the attachment for the tracing log and my main application implementation.
Thanks a lot.
James Su
|