<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body style="font-family: Calibri; font-size: 11pt;" 
bgcolor="#FFFFFF" text="#000000"><div style="font-size: 
11pt;font-family: Calibri;"><span style="font-family: Calibri;">Hi 
Andreas<br><br><br></span><span><span style="font-family: Calibri;">Thank
 you very much for your email.</span> </span><br><span 
style="font-family: Calibri;"><br>We also had a public holiday 
yesterday, but I was unaware it was in Europe as well.<br><br><br>I'll 
look into that.<br><br>Kind Regards<br>Deon<br></span><br><blockquote 
style="border: 0px none;" cite="mid:51821CAC.30302@sipwise.com" 
type="cite"><div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
 style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="agranig@sipwise.com" photoname="Andreas Granig" 
src="cid:part1.03070602.03090000@gmail.com" 
name="compose-unknown-contact.jpg" height="25px" width="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:agranig@sipwise.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Andreas Granig</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">May 2, 2013 8:58 
AM</span></font></div></div></div><div 
style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">Hi,
<br>
<br>On 05/02/2013 09:27 AM, Deon Vermeulen wrote:
<br><blockquote type="cite">I'm not sure if Jon is not in the office or 
too occupied at the moment.
<br></blockquote>
<br>Well, it's a community mailing-list with best effort support, and 
yesterday was public holiday in pretty much all of Europe...
<br>
<br><blockquote type="cite">Any possibility you could assist me in this 
matter?
<br></blockquote>
<br>If you want to change the To-header, there is no way to do it out of
 the 
box. And I'm always quite puzzled why on earth in 2013 SIP termination 
carriers still don't understand why they should leave the To header 
alone and just not check it. Anyways...
<br>
<br>Copy your proxy.cfg.tt2 to proxy.cfg.customtt.tt2 and search for 
"P-Called-Party-ID". This is the header we pass on to Sems, which in 
turn uses it to replace the To header with.
<br>
<br>So if you need the display part as well, you need to manually adapt 
the 
assignment of this header in your proxy configuration.
<br>
<br>Andreas
<br></div><div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
 style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="vermeulen.deon@gmail.com" photoname="Deon Vermeulen" 
src="cid:part2.05010405.00090800@gmail.com" name="postbox-contact.jpg" 
height="25px" width="25px"></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:vermeulen.deon@gmail.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Deon Vermeulen</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">May 2, 2013 8:27 
AM</span></font></div></div></div><div 
style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-size: 
11pt;font-family: Calibri;"><span style="font-family: Calibri;">Hi 
Andreas<br><br>I'm not sure if Jon is not in the office or too occupied 
at the moment.<br><br>Any possibility you could assist me in this 
matter?<br><br><br><br>Thanks<br><br><br>Kind Regards<br>Deon<br></span><br></div></div><div
 style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="vermeulen.deon@gmail.com" photoname="Deon Vermeulen" 
src="cid:part2.05010405.00090800@gmail.com" name="postbox-contact.jpg" 
height="25px" width="25px"></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:vermeulen.deon@gmail.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Deon Vermeulen</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">May 1, 2013 8:43 
AM</span></font></div></div></div><div 
style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-size: 
11pt;font-family: Calibri;"><span style="font-family: Calibri;">Hi Jon<br><br>The

 current INIVTE format is as follows:<br><br>Max-Forwards: 70<br>Record-Route:

 
<a moz-do-not-send="true" 
href="sip:10.222.0.250:6090;r2=on;lr=on;ftag=75669547-518052F2000CD143-E2039700;ngcplb=yes"
 class="moz-txt-link-rfc2396E"><sip:10.222.0.250:6090;r2=on;lr=on;ftag=75669547-518052F2000CD143-E2039700;ngcplb=yes></a><br>Record-Route:

 
<a moz-do-not-send="true" 
href="sip:127.0.0.1:6090;r2=on;lr=on;ftag=75669547-518052F2000CD143-E2039700;ngcplb=yes"
 class="moz-txt-link-rfc2396E"><sip:127.0.0.1:6090;r2=on;lr=on;ftag=75669547-518052F2000CD143-E2039700;ngcplb=yes></a><br>Via:

 SIP/2.0/UDP 
10.222.0.250:6090;branch=z9hG4bK12a4.4fd66e7061dd8a4bdfb0ee967839ab64.0<br>Via:

 SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK83MlJabZ;rport=5080<br>From: 
"+44837000000" 
<a moz-do-not-send="true" href="sip:+44837000000@192.168.0.250" 
class="moz-txt-link-rfc2396E"><sip:+44837000000@192.168.0.250></a>;tag=75669547-518052F2000CD143-E2039700<br>To:

 <a moz-do-not-send="true" href="sip:+44113001417@172.16.0.250" 
class="moz-txt-link-rfc2396E"><sip:+44113001417@172.16.0.250></a><br>CSeq:
 10 INVITE<br>Call-ID: 
00f190d0-2c90-1231-d390-68b5996c937e_b2b-1<br>Allow: INVITE, ACK, BYE, 
CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY<br>Supported: 
precondition, path, replaces<br>P-Asserted-Identity: 
<a moz-do-not-send="true" href="sip:+44837000000@192.168.0.250" 
class="moz-txt-link-rfc2396E"><sip:+44837000000@192.168.0.250></a><br>Content-Type:
 application/sdp<br>Content-Length:
 246<br>Contact: 
<a moz-do-not-send="true" 
href="sip:ngcp-lb@10.222.0.250:6090;ngcpct=%27sip:127.0.0.1:5080%27" 
class="moz-txt-link-rfc2396E"><sip:ngcp-lb@10.222.0.250:6090;ngcpct='sip:127.0.0.1:5080'></a><br><br><br><br>The

 required INVITE format should be:<br><br>INVITE 
<a moz-do-not-send="true" 
href="sip:+44113001417@172.16.0.250:5060;user=phone" 
class="moz-txt-link-freetext">sip:+44113001417@172.16.0.250:5060;user=phone</a>
 SIP/2.0</span><span><span style="font-family: Calibri;"></span></span><br><span
 style="font-family: Calibri;">Via: SIP/2.0/UDP </span><span><span><span
 style="font-family: Calibri;">192.168.0.250</span></span><span 
style="font-family: Calibri;"></span></span><span style="font-family: 
Calibri;">:6090;branch=z9hG4bKe2gvrn1008t0jnkjl2n0.1</span><span><span 
style="font-family: Calibri;"></span></span><br><span><span 
style="font-family: Calibri;">Call-ID: 
00f190d0-2c90-1231-d390-68b5996c937e_b2b-1</span></span><br><span 
style="font-family: Calibri;">From: "+</span><span><span 
style="font-family: Calibri;">44837000000</span></span><span><span 
style="font-family: Calibri;"></span>" </span><span style="font-family: 
Calibri;"><<a moz-do-not-send="true" href="sip:+" 
class="moz-txt-link-freetext">sip:+</a></span><span><span 
style="font-family: Calibri;">44837000000</span></span><span 
style="font-family: Calibri;">@172.16.0.250;user=phone>;tag=</span><span><span
 style="font-family: Calibri;">75669547-518052F2000CD143-E2039700</span></span><br><span
 style="font-family: Calibri;">To: "+</span><span><span 
style="font-family: Calibri;">44113001417</span>" </span><span 
style="font-family: Calibri;"><a moz-do-not-send="true" 
href="sip:+44113001417@172.16.0.250;user=phone" 
class="moz-txt-link-rfc2396E"><sip:+44113001417@172.16.0.250;user=phone></a><br>CSeq:

 1 INVITE<br>Contact: <<a moz-do-not-send="true" href="sip:+" 
class="moz-txt-link-freetext">sip:+</a></span><span><span 
style="font-family: 
Calibri;">44837000000</span></span><span style="font-family: Calibri;">@</span><span><span
 style="font-family: Calibri;">192.168.0.250</span></span><span 
style="font-family: Calibri;">:6090;transport=udp;user=phone><br>Allow:

 
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER<br>Supported:

 100rel<br></span><span><span style="font-family: Calibri;">P-Asserted-Identity:

 <a moz-do-not-send="true" 
href="mailto:tel:+44837000000@192.168.0.250:6090" 
class="moz-txt-link-rfc2396E"><tel:+44837000000@192.168.0.250:6090></a></span>
 </span><br><span style="font-family: Calibri;">Max-Forwards: 70<br>Content-Length:
 377<br>Content-Type:
 application/sdp<br></span><br><br>The current setup is as follows:<br><br>-
 Features/Services disabled<br>        * Asterisk Uninstalled, voice 
mail disabled.<br>        * rateomat<br>        * conference<br>        *
 vsc<br>        * Under ww_admin<br>            - billing_features: 0<br>   

         - conference_features: 0<br>            - vsc_features: 0<br>   

         - voicemail_features: 0<br>        * Under ww_csc<br>        
    - display_account_info: 0<br>            - main_menu - All are set 
to 0<br>            - payment_features: 0<br>            - Removed all 
language options and set default_language: en<br>            - 
default_uri: ''<br> <br>- SEMS<br>        * sbc:<br>            - 
calltimer_enable: 'yes'<br>            - session_timer:<br>            
    - enable: 'yes'<br><br>-    PROXY<br>             - 
allow_peer_relay: 'yes'<br><br><br>- PEERINGS:<br>          * From 
Wholesale:<br>              - force_outbound_calls_to_peer: 'yes'<br>   
       * To Carrier:<br><span>              - 
force_outbound_calls_to_peer: 'yes'<br>              - sst_enable: 'yes'<br>   

           - sst_expires: 300<br>              - sst_min_timer: 90<br>   

           - sst_max_timer: 7200<br>              - outbound_from_user: 
User-Provided-Number<br>              - outbound_from_display: 
Network-provided-Number<br>              - outbound_pai_user: </span><span><span>Network-provided-Number</span></span><br><br><br>I've

 looked all over kamailio/sems configurations but can't find what I'm 
looking for to "fix" the INVITE format especially the Session timer 
type.<br><br>I keep getting a 500 from the upstream carrier.<br><br><br>Any

 assistance with this will be appreciated.<br><br><br>Thank you very 
much<br><br>Kind Regards<br>Deon<br><br><br><br></div></div><div 
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="jbonilla@sipwise.com" photoname="Jon Bonilla (Manwe)" 
src="cid:part4.03070507.00090503@gmail.com" name="postbox-contact.jpg" 
height="25px" width="25px"></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:jbonilla@sipwise.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Jon Bonilla (Manwe)</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">April 26, 2013 
3:04 PM</span></font></div></div></div><div 
style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div>El Fri, 26 Apr 2013 
14:54:56 +0100<br></div><div><!----><br><br><br><br>What's the To header
 you get and what's the one you want to achieve? And what's<br>exactly 
your carrier's requirement? <br></div><div>_______________________________________________<br>Spce-user
 mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a><br></div></div><div
 style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="vermeulen.deon@gmail.com" photoname="Deon Vermeulen" 
src="cid:part2.05010405.00090800@gmail.com" name="postbox-contact.jpg" 
height="25px" width="25px"></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:vermeulen.deon@gmail.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Deon Vermeulen</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">April 26, 2013 
2:54 PM</span></font></div></div></div><div 
style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<div style="font-size: 11pt;font-family: Calibri;"><span 
style="font-family: Calibri;">Hi How can I go about to format the SIP 
TO: Header in the INVITE as follows.<br><br><br></span><p 
class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">INVITE

 <a moz-do-not-send="true" 
href="sip:1234567890@192.168.200.153;user=phone" 
class="moz-txt-link-freetext">sip:1234567890@192.168.200.153;user=phone</a>
 SIP/2.0<o:p></o:p></span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Via:


 SIP/2.0/UDP 
192.168.200.130:5070;branch=z9hG4bK75b28f842f76d9c9e299a80c0;rport;X-DispCookie=1013;X-HwTRC=259446;X-DptMsg=1405<o:p></o:p></span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Route:

 <a moz-do-not-send="true" 
href="sip:192.168.200.153:5060;transport=udp;lr" 
class="moz-txt-link-rfc2396E"><sip:192.168.200.153:5060;transport=udp;lr></a><o:p></o:p></span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Call-ID:

 <a moz-do-not-send="true" 
href="mailto:bb4bcb34ec7041237fbfc1e63f687744@10.222.0.250" 
class="moz-txt-link-abbreviated">bb4bcb34ec7041237fbfc1e63f687744@10.222.0.250</a><o:p></o:p></span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">From:

 
"0987654321"<a moz-do-not-send="true" 
href="sip:0987654321@192.168.200.130;transport=udp;user=phone" 
class="moz-txt-link-rfc2396E"><sip:0987654321@192.168.200.130;transport=udp;user=phone></a>;tag=fd64e901-CC-1013-TRC-259446<o:p></o:p></span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">To:<span
 style="font-weight: bold; text-decoration: underline;"> "1234567890"</span><a
 moz-do-not-send="true" 
href="sip:1234567890@192.168.200.153;transport=udp;user=phone" 
class="moz-txt-link-rfc2396E"><sip:1234567890@192.168.200.153;transport=udp;user=phone></a></span></p><span
 style="font-family: Calibri;"><br>This is a requirement by upstream 
carrier.<br><br><br>Thanks again<br><br><br>Kind Regards<br>Deon<br></span></div>
</div></blockquote></div></body></html>