[Spce-user] Inbound SIP header to end point

Martin Wong martin.wong at binaryelements.com.au
Wed Apr 17 23:11:32 EDT 2013


Hi,

Got a question about the SIP request from the SPCE Proxy box to the end
user's PBX.

Currently, this is what I get when Ngrepped.

1.1.1.1 = the SPCE box
2.2.2.2 = End user's PBX
3.3.3.3 = Provider's SIP Trunk

Caller is from external - 123456789 to Callee 987654321

U 2013/04/18 12:47:00.816688 1.1.1.1:5060 -> 2.2.2.2:5067
INVITE sip:mysipuser at 2.2.2.2:5067;rinstance=36f2c8bcb74a5a6e SIP/2.0.
Max-Forwards: 10.
Record-Route:
<sip:1.1.1.1;r2=on;lr=on;ftag=23E576CB-516F5EA4000C73DF-2F80D700;ngcplb=yes>.
Record-Route:
<sip:127.0.0.1;r2=on;lr=on;ftag=23E576CB-516F5EA4000C73DF-2F80D700;ngcplb=yes>.
Via: SIP/2.0/UDP
1.1.1.1;branch=z9hG4bK94c4.a1ab1516120881e8339f6245d6465338.0.
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKAZsIBaci;rport=5080.
From: <sip:123456789 at 3.3.3.3>;tag=23E576CB-516F5EA4000C73DF-2F80D700.
To: <sip:mysipuser at 1.1.1.1>.
CSeq: 10 INVITE.
Call-ID: 5da3-4b2-31820132470-SYYP_IMG01-2-125.213.174.58_b2b-1.
Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,INFO.
Content-Type: application/sdp.
Content-Length: 394.
Contact: <sip:ngcp-lb at 1.1.1.1:5060;ngcpct='sip:127.0.0.1:5080'>.

My question is

1. How do I change the Contact header from ngcp-lb to the callee
destination - 987654321? The end user PBX needs to route it to the correct
route.

2. As you can see in the From: header... it says 123456789 at 3.3.3.3 which
shows the provider's SIP trunk address ... I know we're proxying it but is
it possible to hide this perhaps and make it the SPCE ip address instead?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130418/65a3632b/attachment.html>


More information about the Spce-user mailing list