<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>We have setup a Lucent TNT as a SIP gateway
connecting our 3 PRIs. Currently, when our callers make calls out on the
PSTN, the caller-id is being rejected by our service provider because the Lucent
is setting the type of number in the PRI message to international instead of
national. I did some checking and it has to do with the way the phone
number is formatted in the outgoing SIP message. The Lucent is looking for
the country code as part of the from header to determine whether not the call is
a national call or an international call. When the Lucent unit only sees
the 10 digit caller id (example below), it does not see that it is a national
call and sets the wrong type of number.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>From: Shawn Lawrence
<sip:7805555555@host.terracecomm.com></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there anyone out there who has come across the
same problem? If so, how did you take care of it? Is there a way I
can make asterisk add the country code on the front of the sip
header?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Shawn Lawrence</FONT></DIV>
<DIV><FONT face=Arial size=2>Terrace Communications</FONT></DIV></BODY></HTML>