[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeswitch-dev
Subject:    Re: [Freeswitch-dev] Connect to SIP Trunking
From:       Moises Silva <moises.silva () gmail ! com>
Date:       2013-12-02 6:32:24
Message-ID: CAA4nhyCzKj1-LEwdXy4DFDziWq4=rhO0M-ZFHODym6k4biOh8g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sun, Nov 24, 2013 at 7:31 AM, Roamer Roamer <roamer1006@gmail.com> wrote:

> Hi all, I'm new to freeswitch and want to learn SIP development, I have a
> question: what's protocol is using for the SIP PBX(freeswitch, asterisk,
> sipx) connect to SIP Trunking?  In freeswitch source code, which part
> source code is for connect to SIP trunking ?
> 

That would be mod_sofia in src/mod/endpoints/mod_sofia, particularly the
"gateway" sections in sofia.c or sofia_glue.c (gateway is a SIP trunk in
FreeSWITCH).



*Moises Silva**Manager, Software Engineering*

msilva@sangoma.com

Sangoma Technologies

100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada


t.   +1 800 388 2475 (N. America)

t.   +1 905 474 1990 x128

f.   +1 905 474 9223



<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>


Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
  | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
  | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
  | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
  | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
  | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
  | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`|
 | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>



[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Nov 24, 2013 \
at 7:31 AM, Roamer Roamer <span dir="ltr">&lt;<a href="mailto:roamer1006@gmail.com" \
target="_blank">roamer1006@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr">Hi all, I&#39;m new to freeswitch and want to learn SIP development, I have \
a question: what&#39;s protocol is using for the SIP PBX(freeswitch, asterisk, sipx) \
connect to SIP Trunking?   In freeswitch source code, which part source code is for \
connect to SIP trunking ?</div> </blockquote><div><br></div><div>That would be \
mod_sofia in src/mod/endpoints/mod_sofia, particularly the &quot;gateway&quot; \
sections in sofia.c or sofia_glue.c (gateway is a SIP trunk in FreeSWITCH).  \
</div><br class=""> <br clear="all"><div><table border="0" cellspacing="0" \
cellpadding="0" width="648" style="width:486.3pt;border-collapse:collapse"><tbody><tr \
style="height:60.55pt"><td style="border-style:dotted none \
none;border-top-color:rgb(128,176,214);border-top-width:1pt;padding:1.45pt \
5.75pt;height:60.55pt"> <p style="margin:0px;line-height:15px"><b><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)">Moises \
Silva<br></span></b><b><i><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Manager, \
Software Engineering</span></i></b><b><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)"></span></b></p>
 <p style="margin:0px;line-height:15px"><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)"><a \
href="mailto:msilva@sangoma.com" target="_blank">msilva@sangoma.com</a></span></p> <p \
style="margin:0px;line-height:15px"><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">Sangoma \
Technologies</span></p><p style="margin:0px;line-height:15px"><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">100 \
Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada</span><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(255,192,0)"></span></p>
 </td><td width="187" style="width:140.45pt;border-style:dotted none \
none;border-top-color:rgb(128,176,214);border-top-width:1pt;padding:1.45pt \
5.75pt;height:60.55pt"><p style="margin:0px;line-height:15px"><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)"><br>
 t.     +1 800 388 2475 (N. America)</span></p><p \
style="margin:0px;line-height:15px"><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">t. \
+1 905 474 1990 x128</span></p> <p style="margin:0px;line-height:15px"><span \
lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">f. \
+1 905 474 9223</span></p><p style="margin:0px;line-height:15px"><span lang="EN-CA" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(31,73,125)"> \
</span></p> </td><td width="149" rowspan="2" \
style="width:111.55pt;border-style:dotted \
none;border-top-color:rgb(128,176,214);border-top-width:1pt;border-bottom-color:rgb(128,176,214);border-bottom-width:1pt;padding:1.45pt \
5.75pt;height:60.55pt"> <p style="margin:0px;line-height:15px"><a \
href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email+signatures" \
target="_blank"><b><span style="color:rgb(31,73,125);text-decoration:none"><img \
border="0" width="96" height="15"></span></b></a><span \
style="color:rgb(31,73,125)"></span></p> </td></tr><tr><td width="500" colspan="2" \
style="width:374.75pt;border-style:none none \
dotted;border-bottom-color:rgb(128,176,214);border-bottom-width:1pt;padding:1.45pt \
5.75pt"><p style="margin:0px;line-height:15px"><a \
href="http://sangoma.com/products?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Products</span></a><span \
lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> \
|  </span><a href="http://sangoma.com/solutions?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Solutions</span></a><span \
lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> \
|  </span><a href="http://sangoma.com/about_us/events?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Events</span></a><span \
lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> \
|  </span><a href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Contact</span></a><span \
lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> \
|  </span><a href="http://wiki.sangoma.com/?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Wiki</span></a><span \
lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> \
|  </span><a href="http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Facebook</span></a><span \
lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> \
|  </span><a href="http://www.twitter.com/sangoma?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Twitter</span></a><span \
lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">`| \
|  </span><a href="http://www.youtube.com/sangomatechnologies?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" \
target="_blank"><span lang="PT-BR" \
style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">YouTube</span></a><span \
style="font-size:8pt;line-height:12px;color:rgb(31,73,125)"></span></p> \
</td></tr></tbody></table><p \
style="margin:0px"><br></p></div><br><br><div><br></div></div></div></div>



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic