ydj / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

REFER functionality is not working in idoubs #198

Open mrk465 opened 8 years ago

mrk465 commented 8 years ago

a) Before posting your issue you MUST answer to the questions otherwise it will be rejected (invalid status) by us b) Please check the issue tacker to avoid duplication c) Please provide network capture (wireshark) or Android log (DDMS output) if you want quick response

What steps will reproduce the problem?

  1. Downloaded the latest source codes
  2. Compiled the code using Xcode 6.4 with a base SDK of iOS 8.4
  3. Run the idoubs app in iPhone 6 plus device
  4. Status is connected.
  5. The problem comes whenever we press dtmf digits as per the call then other party sends REFER packet to me and we are unable to initiate new call with the called party which takes from REFER’s field discription “REFER_TO” and terminates the call. Could some one help me regarding this.In IOS we could not find the events to handle REFER packets like we found in Android.
LOCAL_TRANSFER_TRYING,
LOCAL_TRANSFER_ACCEPTED,
LOCAL_TRANSFER_COMPLETED,
LOCAL_TRANSFER_FAILED,
LOCAL_TRANSFER_NOTIFY,

What is the expected output? What do you see instead?

Expected output: I should be making a successful call to another number What I see instead: The call is terminated

What version of the product or source code revision are you using? On what operating system?

Latest idoubs source code Xcode 6.4 iOS 8.4 base SDK iphone 6 plus running on iOS 8.4

Please provide any additional information below.

The call was terminated once we receive the request “REFER” from another party. Plase find the below REFER packet for your reference.

RECV:REFER sip:abcd@xxx.xxx.xxx.xxx:54920;transport=udp SIP/2.0 Record-Route: sip:xxx.xxx.xxx.xxx;lr;ftag=mar04FygD3BcN;did=28d.b064d885;ns=1 Record-Route: sip:1xxx.xxx.xxx.xxx;lr;ftag=mar04FygD3BcN Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bKfafc.38678607.0 Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bKfafc.932ac751.0 Via: SIP/2.0/UDP xxx.xxx.xxx.xxx;received=xxx.x.173.150;rport=5060;branch=z9hG4bKQjrKHv8eg2t3p Max-Forwards: 68 From: sip:XXXXXX@abc.def.com;tag=mar04FygD3BcN To: sip:YYYYYYY@abc.def.com;tag=1843943095 Call-ID: 73cd7413-5437-c150-bbeb-23136566a8ee CSeq: 81203835 REFER Contact: sip:dtlsgw0@app0-0.new-york-1.app.jnctn.net User-Agent: F Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, PRACK, NOTIFY Supported: precondition, 100rel, timer, path, replaces Refer-To: sip:XXXXX.directory@XXXXXXXXX.XXXXXXx.com Referred-By: sip:xxx.xxx.xxx.xxx Content-Length: 0 P-Preferred-Service: urn:urn-7:3gpp-service.ims.icsi.mmtel P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000