[asterisk-dev] Getting the source and destination in chan_sip.c

Fadil Sutomo fsutomo at gmail.com
Thu Jul 26 14:07:21 CDT 2007


Hi all,

I am a new member in this list.

I have a newbie question.
Is there anyway that I can get the source and destination in chan_sip.c ?

For example, if I am calling from GrandStream GXP 2000 to Xlite, then how
can I get:
"source:grandstream  and   destination:Xlite"

Or alternatively, since I know that I can do this in app_dial.c, is there
anyway that I can access sip_pvt member? note that struct sip_pvt is defined
in chan_sip.c ?

Thank You
Fadil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070726/6dd1b27e/attachment.htm 


More information about the asterisk-dev mailing list