<div>Hi,</div>
<div> Chan,how are you. Can u help me to understand the overall functionality of the asterisk, i have started reading the asterisk code but i do not understand which function is calling to which function. i know that there are channel drivers,and many .c files which contain all function definitions. Ok the program starts at
asterisk.c file, but after that what happens. suppose sipsoft phone A is registered to asterisk and another softphone B is also registered to asterisk.suppose now A calls to B, which function in asterisk receives the invite message sent by phone A, and what actually a channel driver does.
<br><br> </div>
<div><span class="gmail_quote">On 6/29/07, <b class="gmail_sendername">Chan Kwang Mien</b> <<a href="mailto:kwangmien@asgent-tech.com">kwangmien@asgent-tech.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I am trying to get peer information in chan_sip.c for the following<br>scenario :<br><br>Phone A -> Asterisk_1 -> Asterisk_2 -> Phone B
<br><br>Asterisk_1 is registered to Asterisk_2.<br><br>When Asterisk_1 receives INVITE from Phone A, Asterisk_1 sends the INVITE<br>to Asterisk_2. I understand that sip_call(...) is called when the INVITE<br>is sent at Asterisk_1.
<br><br>At the point in time when INVITE is sent by Asterisk_1, I would like to<br>find out who the originator of the INVITE is in sip_call(...).<br><br>Is there a way I could get this information, in this case, Phone A's
<br>extension in sip_call(...) ?<br><br>Thank you.<br><br>Regards,<br>Kwang Mien<br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br></blockquote></div><br>