Change caller ID on Invite within Call Queue

Discussion in '3CX Phone System - General' started by MrKoen, Apr 6, 2011.

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

    Joined:
    Jul 3, 2009
    Messages:
    61
    Likes Received:
    0
    I currently have a setup where I have a PSTN line hooked up to my 3CX PBX using a Linksys SPA3102 for both incoming and outgoing calls. When somebody calls the PSTN line from an outside line the calls are directed to a Ring All Call Queue. The caller ID of the incoming call is correctly provided to the extensions in the call queue.

    What I would like to do is adjust the Invites sent by 3CX PBX to the call queue extensions. Currently it uses the caller ID both as the From name and the from identifier. I would like to change the from name to a fixed value so that the extensions can see the line the call came in on.

    Let me clarify this by providing a sample. When I call the PSTN line from my cell phone, the following invite arrives at 3CX PBX from the Linksys SPA3102:

    INVITE sip:<PSTN Extension Number as registered in 3CX PBX>@<Server SIP FQDN> SIP/2.0
    Via: SIP/2.0/UDP <IP of SPA3102>:5060;branch=z9hG4bK-745f72fb
    Max-Forwards: 70
    Contact: "<PSTN Line ID as set in SPA3102>"<sip:<Caller ID>@<IP of SPA3102>:5060>
    To: <sip:<PSTN Extension Number as registered in 3CX PBX>@<Server SIP FQDN>>
    From: "<PSTN Line ID as set in SPA3102>"<sip:<Caller ID>@<Server SIP FQDN>>;tag=e12260a14416347o1
    Call-ID: 8632729-b0b00e5f@<IP of SPA3102>
    CSeq: 102 INVITE
    Expires: 240
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
    Proxy-Authorization: Digest username="<PSTN Extension Number as registered in 3CX PBX>",realm="3CXPhoneSystem",nonce="414d535c03acb3c180:0d031688d329d378f0d8c25ccac2c990",uri="sip:<PSTN Extension Number as registered in 3CX PBX>@<Server SIP FQDN>",algorithm=MD5,response="efe95bda88486ffa41cf33b645650f77"
    Supported: x-sipura, replaces
    User-Agent: Linksys/SPA3102-5.1.10(GW)
    Content-Length: 0
    Remote-Party-ID: <PSTN Line ID as set in SPA3102><sip:<Caller ID>@<Server SIP FQDN>>;screen=yes;party=calling

    This is perfectly fine. However, 3CX PBX generates the following invites to the call queue extensions (note the two bold caller id fields in the from field):

    INVITE sip:<Internal call queue participant extension number>@<Server SIP FQDN>:5060;nofwd=1 SIP/2.0
    Via: SIP/2.0/UDP 127.0.0.1:5488;branch=z9hG4bK-d8754z-d607dd3568670255-1---d8754z-;rport=5488
    Max-Forwards: 70
    Contact: <sip:<Internal call queue extension number>@127.0.0.1:5488>
    To: <sip:<Internal call queue participant extension number>@<Server SIP FQDN>:5060;nofwd=1>
    From: "<Caller ID>"<sip:<Caller ID>@<Server SIP FQDN>:5060>;tag=0760cb74
    Call-ID: ZWNjODFkNmE5YWQ4MGNhZjUxZmVmZGVjODFkZTk5NWQ.
    CSeq: 2 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
    Proxy-Authorization: Digest username="<Internal call queue extension number>",realm="3CXPhoneSystem",nonce="414d535c03acb33799:7224de7886dfce8a0a91f0944a13b229",uri="sip:<Internal call queue participant extension number>@<Server SIP FQDN>:5060;nofwd=1",response="25a6768f1e8c0e3df7ee839d85ed0575",algorithm=MD5
    Supported: replaces
    User-Agent: 3CX Queue Manager (q=80)
    Content-Length: 0

    So my usefull <PSTN Line ID as set in SPA3102> information received by 3CX PBX from the SPA3102 is not being forwarded to the call queue participants. I would like to see something like:

    From: "<PSTN Line ID as set in SPA3102>"<sip:<Caller ID>@<Server SIP FQDN>:5060>;tag=0760cb74

    I've been playing with the inbound and outbound parameters of the PSDN device in 3CX PBX, but none of the changes seem to have any effect on the invite generated by 3CX PBX.

    Does anyone have a clue on how to accomplish this?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.