Greger,
Thank you for your response. I am using ser .9.6. I am not sure if I understand your method. Here I am sending more detailed sip header.
U 2007/05/08 19:16:29.968395 yyy.yyy.yyy.yyy:5060 -> xxx.xxx.xxx.xxx :5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK0oa4442090b19ds1c3s0.1.
Record-Route: <sip:yyy.yyy.yyy.yyy;ftag=SD9k6gf01-gK0b2292ba;lr=on>.
From: <sip:1234567890@xxx.xxx.xxx.xxx :5060;isup-oli=60;bing7302p801=Bing7302P801-lmjnreinq4hj2>;tag=SD9k6gf01-gK0b2292ba.
To: <sip:866xxxxxx@yyy.yyy.yyy.yyyy:5060>;tag=as4509af31.
Call-ID: SD9k6gf01-377bdf21aa5bcbea1b4510d554b9b3b4-v300050.
CSeq: 3941 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Contact: <sip:866xxxxxxx@yyy.yyy.yyy.ddd >. //p of our asterisk server
Content-Type: application/sdp.
Content-Length: 218.

I can see isup-oli in the from field. I have a feeling that should not be hard, but I have not idea how to do that. I already have tried from_uri but only capture the sip address of the sender.
Any Idea..
PLEASE
-Jai


On 5/8/07, Greger V. Teigre <greger@teigre.com> wrote:
If your gateway converts it to a SIP header, you can just address it using a @msg select (SER 2.0).
If not, your out of luck.
g-)

Jai Rangi wrote:
Hello,
Can some please tell me how can I capture isup-oli field from a incoming call. We need to capture that to recognize the incoming call from pay phone.


Thank you,
-Jai

_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers