<!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.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hello friends, I have a problem when I call to
outside (9XXXXXXXX) from IPs Telephones.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the incomning calls are OK.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>in the console when I put "sip debug peer 101" I
have this lines:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2><FONT face="Courier New">*CLI> sip debug peer 101<BR>SIP
Debugging Enabled for IP: 10.0.0.9:5060<BR>*CLI><BR><-- SIP read from
10.0.0.9:5060:<BR>INVITE sip:943833473@101 SIP/2.0<BR>Via: SIP/2.0/UDP
10.0.0.9:5060;branch=z9hG4bK105582920839628744;rport<BR>From: 101
<sip:101@101>;tag=3159122210<BR>To: "943833473"
<sip:943833473@101><BR>Call-ID: </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">CSeq: 1 INVITE<BR>Contact:
<sip:101@10.0.0.9:5060><BR>max-forwards: 70<BR>supported:
100rel<BR>user-agent:<BR>Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER,
NOTIFY, SUBSCRIBE, PRACK, UPDATE<BR>Content-Type:
application/sdp<BR>Content-Length: 278</FONT></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>v=0<BR>o=sdp_admin 11288299 31318536 IN IP4
10.0.0.9<BR>s=A conversation<BR>c=IN IP4 10.0.0.9<BR>t=0 0<BR>m=audio 10010
RTP/AVP 18 4 4 8 0<BR>a=rtpmap:18 G729/8000<BR>a=fmtp:18 annexb=no<BR>a=rtpmap:4
G723/8000<BR>a=rtpmap:4 G723high/8000<BR>a=rtpmap:8 PCMA/8000<BR>a=rtpmap:0
PCMU/8000<BR>a=sendrecv</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT size=2><FONT face="Courier New">--- (13 headers 13 lines)
---<BR>Using INVITE request as basis request - </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">Sending to 10.0.0.9 : 5060 (NAT)<BR>Reliably Transmitting (no
NAT) to 10.0.0.9:5060:<BR>SIP/2.0 407 Proxy Authentication Required<BR>Via:
SIP/2.0/UDP
10.0.0.9:5060;branch=z9hG4bK105582920839628744;received=10.0.0.9;rport=5060<BR>From:
101 <sip:101@101>;tag=3159122210<BR>To: "943833473"
<sip:943833473@101>;tag=as705b7b72<BR>Call-ID: </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">CSeq: 1 INVITE<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE,
ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<BR>Proxy-Authenticate:
Digest algorithm=MD5, realm="asterisk", nonce="5a68d228"<BR>Content-Length:
0</FONT></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR><FONT face="Courier New">---<BR>Scheduling destruction of call
</FONT><A href="mailto:'2591723875-241385386@10.0.0.9'"><FONT
face="Courier New">'2591723875-241385386@10.0.0.9'</FONT></A><FONT
face="Courier New"> in 15000 ms<BR>Found user '101'</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"><-- SIP read from 10.0.0.9:5060:<BR>ACK
sip:943833473@101 SIP/2.0<BR>Via: SIP/2.0/UDP
10.0.0.9:5060;branch=z9hG4bK105582920839628744;rport<BR>From: 101
<sip:101@101>;tag=3159122210<BR>To: "943833473"
<sip:943833473@101>;tag=as705b7b72<BR>Call-ID: </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">CSeq: 1 ACK<BR>max-forwards: 70<BR>Content-Length:
0</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><BR><FONT face="Courier New">--- (8 headers 0 lines) ---</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"><-- SIP read from 10.0.0.9:5060:<BR>INVITE
sip:943833473@101 SIP/2.0<BR>Via: SIP/2.0/UDP
10.0.0.9:5060;branch=z9hG4bK22917179002522020113;rport<BR>From: 101
<sip:101@101>;tag=3159122210<BR>To: "943833473"
<sip:943833473@101><BR>Call-ID: </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">CSeq: 2 INVITE<BR>Contact:
<sip:101@10.0.0.9:5060><BR>Proxy-Authorization: Digest username="101",
realm="asterisk", nonce="5a68d228", uri="sip:943833473@101",
response="0fa2c9d246b54d137046e23743e1951c", algorithm=MD5<BR>max-forwards:
70<BR>supported: 100rel<BR>user-agent:<BR>Allow: INVITE, ACK, OPTIONS, BYE,
CANCEL, REFER, NOTIFY, SUBSCRIBE, PRACK, UPDATE<BR>Content-Type:
application/sdp<BR>Content-Length: 278</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">v=0<BR>o=sdp_admin 11288299 31318536 IN IP4
10.0.0.9<BR>s=A conversation<BR>c=IN IP4 10.0.0.9<BR>t=0 0<BR>m=audio 10010
RTP/AVP 18 4 4 8 0<BR>a=rtpmap:18 G729/8000<BR>a=fmtp:18 annexb=no<BR>a=rtpmap:4
G723/8000<BR>a=rtpmap:4 G723high/8000<BR>a=rtpmap:8 PCMA/8000<BR>a=rtpmap:0
PCMU/8000<BR>a=sendrecv</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">--- (14 headers 13 lines) ---<BR>Using INVITE
request as basis request - </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">Sending to 10.0.0.9 : 5060 (NAT)<BR>Found user '101'<BR>Found
RTP audio format 18<BR>Found RTP audio format 4<BR>Found RTP audio format
4<BR>Found RTP audio format 8<BR>Found RTP audio format 0<BR>Peer audio RTP is
at port 10.0.0.9:10010<BR>Found description format G729<BR>Found description
format G723<BR>Found description format G723high<BR>Found description format
PCMA<BR>Found description format PCMU<BR>Capabilities: us - 0x8000e
(gsm|ulaw|alaw|h263), peer - audio=0x10d (g723|ulaw|alaw|g729)/video=0x0
(nothing), combined - 0xc (ulaw|alaw)<BR>Non-codec capabilities: us - 0x1
(telephone-event), peer - 0x0 (nothing), combined - 0x0 (nothing)<BR>Looking for
943833473 in SOME (domain 101)<BR>Reliably Transmitting (no NAT) to
10.0.0.9:5060:<BR>SIP/2.0 404 Not Found<BR>Via: SIP/2.0/UDP
10.0.0.9:5060;branch=z9hG4bK22917179002522020113;received=10.0.0.9;rport=5060<BR>From:
101 <sip:101@101>;tag=3159122210<BR>To: "943833473"
<sip:943833473@101>;tag=as705b7b72<BR>Call-ID: </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">CSeq: 2 INVITE<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE,
ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<BR>Content-Length:
0</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><BR><FONT face="Courier New">---</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"><-- SIP read from 10.0.0.9:5060:<BR>ACK
sip:943833473@101 SIP/2.0<BR>Via: SIP/2.0/UDP
10.0.0.9:5060;branch=z9hG4bK22917179002522020113;rport<BR>From: 101
<sip:101@101>;tag=3159122210<BR>To: "943833473"
<sip:943833473@101>;tag=as705b7b72<BR>Call-ID: </FONT><A
href="mailto:2591723875-241385386@10.0.0.9"><FONT
face="Courier New">2591723875-241385386@10.0.0.9</FONT></A><BR><FONT
face="Courier New">CSeq: 2 ACK<BR>Proxy-Authorization: Digest username="101",
realm="asterisk", nonce="5a68d228", uri="sip:943833473@101",
response="0fa2c9d246b54d137046e23743e1951c", algorithm=MD5<BR>max-forwards:
70<BR>Content-Length: 0</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><BR><FONT face="Courier New">--- (9 headers 0 lines) ---<BR>Destroying call
</FONT><A href="mailto:'2591723875-241385386@10.0.0.9'"><FONT
face="Courier New">'2591723875-241385386@10.0.0.9'</FONT></A><BR><FONT
face="Courier New">Destroying call </FONT><A
href="mailto:'44721582-00111639@10.0.0.9'"><FONT
face="Courier New">'44721582-00111639@10.0.0.9'</FONT></A><BR><FONT
face="Courier New">12 headers, 0 lines<BR>Reliably Transmitting (no NAT) to
10.0.0.9:5060:<BR>OPTIONS sip:101@10.0.0.9:5060 SIP/2.0<BR>Via: SIP/2.0/UDP
10.0.0.7:5060;branch=z9hG4bK65c2f229;rport<BR>From: "asterisk"
<sip:asterisk@10.0.0.7>;tag=as0cc11f28<BR>To:
<sip:101@10.0.0.9:5060><BR>Contact:
<sip:asterisk@10.0.0.7><BR>Call-ID: </FONT><A
href="mailto:5e0885a1360422511624720e14422af0@10.0.0.7"><FONT
face="Courier New">5e0885a1360422511624720e14422af0@10.0.0.7</FONT></A><BR><FONT
face="Courier New">CSeq: 102 OPTIONS<BR>User-Agent: Asterisk
PBX<BR>Max-Forwards: 70<BR>Date: Tue, 08 May 2007 11:34:55 GMT<BR>Allow: INVITE,
ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<BR>Content-Length:
0</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><BR><FONT face="Courier New">---</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"><-- SIP read from 10.0.0.9:5060:<BR>SIP/2.0 200
OK<BR>Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK65c2f229;rport<BR>From:
"asterisk" <sip:asterisk@10.0.0.7>;tag=as0cc11f28<BR>To:
<sip:101@10.0.0.9:5060><BR>Call-ID: </FONT><A
href="mailto:5e0885a1360422511624720e14422af0@10.0.0.7"><FONT
face="Courier New">5e0885a1360422511624720e14422af0@10.0.0.7</FONT></A><BR><FONT
face="Courier New">CSeq: 102 OPTIONS<BR>Allow: INVITE, ACK, OPTIONS, BYE,
CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE<BR>Content-Length:
0</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><BR><FONT face="Courier New">--- (8 headers 0 lines) ---<BR>Destroying call
</FONT><A href="mailto:'5e0885a1360422511624720e14422af0@10.0.0.7'"><FONT
face="Courier New">'5e0885a1360422511624720e14422af0@10.0.0.7'</FONT></A></DIV>
<DIV> </DIV>
<DIV>I attached my configuration files.</DIV>
<DIV> </DIV>
<DIV>Thanks for all</FONT></DIV></BODY></HTML>