DID diversion

Discussion in '3CX Phone System - General' started by teldotnet, Jun 15, 2010.

Thread Status:
Not open for further replies.
  1. teldotnet

    Joined:
    May 22, 2009
    Messages:
    73
    Likes Received:
    0
    Can anyone tell me if V9 fixes the issue with suppliers who use the "Diversion" field for DID numbers, and if not if is possible to get into V9 release?

    From reading past posts in this forum seems like this is an an issue that has been around for quite a while and never really addressed.

    The problem can be seen in this example invite message:

    12:12:10.381 [CM500002]: Info on incoming INVITE:
    INVITE sip:0243206666@192.168.5.2:5060;rinstance=9664b248d5748bc6 SIP/2.0
    Via: SIP/2.0/UDP 203.161.164.69:5060;branch=z9hG4bKdf493r005gp0d3d9l3f0.1
    Max-Forwards: 9
    Contact: <sip:SDmdhc6-vv9pmjj9mvp7tbr5iqonkdpvku9rouvrjrdrvorsmqvt8@203.161.164.69:5060;transport=udp>
    To: "Cindy Kelly"<sip:0243206666@voice.mibroadband.com.au;rinstance=9664b248d5748bc6;firewall=122.100.2.125>
    From: "0414666666"<sip:0414666666@voice.mibroadband.com.au;user=phone>;tag=SDhsptd01-1462570988-1275358321436-
    Call-ID: SDhsptd01-b75eb9fee12fe708ed06fa23d649fc5c-au418e3
    CSeq: 950259087 INVITE
    Session-Expires: 1800;refresher=uas
    Min-SE: 60
    Accept: multipart/mixed, application/media_control+xml, application/sdp
    Allow: ACK, BYE, CANCEL, INFO, INVITE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE
    Supported: 100rel, timer
    Content-Length: 0
    Diversion: <sip:43536666@voicemanager.ipsystems.com.au;user=phone>;reason=unconditional;counter=1

    Where 3CX needs to be able to be configured to pickup the number in the "diversion" field (ie 43536666) and route it differently to the main number on which the call is offered on (ie 0243206666)
     
  2. carolinainnovative

    Joined:
    May 4, 2009
    Messages:
    369
    Likes Received:
    6
    Am i missing something or should it be pretty simple to add the ability to look at a different sip header? 3cx already looks at several on incoming calls. Couldn't you guys just add another? or even add the ability to specify a custom header on inbound calls and perhaps parse it with a regex?
     
  3. deanbonnici

    Joined:
    Feb 13, 2011
    Messages:
    1
    Likes Received:
    0
    Has been able to resolve this issue.

    Our voip provider (Engin in Australia) includes the DID number on the Diversion: field in the invitation. We need to be able to parse this field to direct the call to the correct extension.
     
Thread Status:
Not open for further replies.