Modify the SIP header

Discussion in '3CX Phone System - General' started by Roshen, Jun 10, 2009.

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

    Joined:
    Jan 16, 2009
    Messages:
    35
    Likes Received:
    0
    Hi All
    I have a question around how to manupulate the outbound SIP request header information.

    Currently the FROM feild reads:
    From: "Roshen"<sip:number@ProvidersIPAddress:5060>;tag=de6a5938
    I need it to be in the form:
    From: "Roshen"<sip:number@LocalIPaddress:5060>;tag=de6a5938

    I have the 3CX box with 2 NICs
    Internal lan 192.168.x.x
    Wan to provider 10.12.x.x

    the provider is expecting the From feild to be My 3CX 10.12.x.x Ip address,

    I have played in the outbound parameters - From : Display Name; From : User Part; ect, but cant seem to make the correct adjustment.

    Can sombody help with the feild that needs modification in 3CX so it builds the SIP invite with modified from feild?

    Thanks Again.
     
  2. Roshen

    Joined:
    Jan 16, 2009
    Messages:
    35
    Likes Received:
    0
    OK I figured it out
    From : Host part = "ContactUri"...
     
  3. sergiop

    Joined:
    Jun 18, 2010
    Messages:
    3
    Likes Received:
    0
    Hi Roshen,

    I wished I could help you, but I have exactly the same issue. Have you been able to solve it?

    Regards,

    Sergio
     
  4. Roshen

    Joined:
    Jan 16, 2009
    Messages:
    35
    Likes Received:
    0
    Hi sorry, dont know if this would help 2 months later...

    i used wireshark and played with the Outbound parameters untill i got the results i wanted.

    in my case i had to specify
    "From : Host Part" to the 3cx IP address and port as such "10.12.x.x:5060 - by selecting custoemr IP range
    "From : User Part" to our DDI number statically - by selecting customer field and entering the number
     
Thread Status:
Not open for further replies.