<br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 7:29 PM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Hi,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">day after I undertand a littlee more all these xml hell files
(not friendly to read ;)),</font></div></div></blockquote><div>Use a text editor that does syntax highlighting. :)<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">but to be a PERl developer since 1999 understand regex and
PERL language make life more easy...</font></div></div></blockquote><div>Hint: don't say PERL, say Perl or perl instead. People who say PERL are considered uneducated.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">However, I don't understand yet the concept of internal
exterenal.</font></div>
<div><font size="2">is it for phone registration AND outbound calls ?</font></div></div></blockquote><div>Internal and external are SIP profiles. Each SIP profile is a SIP user agent, or UA. For a more complete discussion on this topic check out <a href="http://en.wikipedia.org/wiki/User_agent">http://en.wikipedia.org/wiki/User_agent</a><br>
<br>In short, the internal profile is listening on a particular IP and port and usually it's to listen for registrations and calls from your telephones, as well as to send calls out to your telephones. The external profile is generally used just for outbound gateway registrations.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff">
<div><font size="2">for now I try to make an external call from 1000 ext
(registered on port 5060)</font></div>
<div><font size="2">so I added an extension in dialplan/default.xml </font></div>
<div><font size="2"></font> </div>
<div><font size="2"> <extension
name="outbound_europe"><br>
<condition field="destination_number"
expression="^00?(\d+)$"><br>
<action application="bridge"
data="sofia/gateway/myprovider_europe/00$1"/><br>
</condition><br> </extension><br></font></div>
<div><font size="2">so if call starts with "00" it redirects to my provider that
manage outbound calls, is it correct ?</font></div>
<div><font size="2">I put the myprovider.xml account into
sip_profiles/external/myprovider.xml.</font></div></div></blockquote><div>At first look this appears correct. You can make sure that the gateway is up by typing "sofia status" at the fs_cli prompt. If you are having trouble with making calls it is best to watch the debug output very carefully. It is a lot of information to look at but eventually you will learn to focus on the information that you need.<br>
<br>You're doing well! Just keep plugging away at it and you will figure it all out and soon you will be helping others. :)<br>-MC<br></div></div><br>