Hi im receiving the following INVITE on my system, you can see that the Record-Route headers are all over the place, is there a way to group the Record-Route headers together followed by the via headers grouped together?
INVITE sip:22000017@81.21.42.184;uniq=DBFF66459C85D6171B30016D2422B SIP/2.0 Record-Route: sip:81.21.32.84;lr=on;ftag=as4c938f35;did=6da.a472 Record-Route: sip:81.21.38.34;lr=on;ftag=as4c938f35 Via: SIP/2.0/UDP 81.21.32.84;branch=z9hG4bK6a96.dc3413ac122b4d4b8fd61bf19d95b1cf.0 Via: SIP/2.0/UDP 81.21.38.34;branch=z9hG4bK6a96.c81d2c2ad30db0820f05268ea67896f7.0 Via: SIP/2.0/UDP 81.21.38.5:5060;branch=z9hG4bKterm-477861-22030313-22000017-74007 Record-Route: sip:81.21.38.5;lr=on;ftag=as4c938f35 Record-Route: sip:81.21.38.34;lr=on;ftag=as4c938f35;did=6da.0ff1 Via: SIP/2.0/UDP 81.21.38.34;branch=z9hG4bK6a96.5d12e421943fbaec75df9a6a8091d336.0 Via: SIP/2.0/UDP 192.168.10.189:5060;branch=z9hG4bK7e570efe;rport=5060 Max-Forwards: 16 From: sip:22030313@192.168.10.189;tag=as4c938f35 To: sip:22000017@81.21.38.34 Contact: sip:22030313@192.168.10.189:5060 Call-ID: 74d7379b710c82f956d7cb31615c2581@192.168.10.189:5060 CSeq: 102 INVITE User-Agent: FPBX-2.8.1(11.7.0) Date: Fri, 04 Apr 2014 11:33:34 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 257 P-hint: outbound P-hint: outbound
v=0 o=root 1396887739 1396887739 IN IP4 81.21.38.36 s=Asterisk PBX 11.7.0 c=IN IP4 81.21.38.36 t=0 0 m=audio 42746 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv
thanks in advance! Phillip