[asterisk-dev] chan_sip.c: how to get phone source and destination

Fadil Sutomo fsutomo at gmail.com
Sat Jul 28 23:53:48 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070729/b0109e39/attachment.htm 


More information about the asterisk-dev mailing list