[OpenSER-Users] Checking Reply to INVITE

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Nov 13 16:06:32 CET 2007


Hi Doug,

why don't you use reply_route and is_method("INVITE") ?

regards,
bogdan

Douglas Garstang wrote:
> I need to be able to check the SIP response code to INVITE messages 
> only. I don't care about BYE, CANCEL or anything else.
> I tried putting a hint header in the INVITE when I sent it out, but 
> the replies came back from the upstream provider with the header removed.
> I tried setting a flag when an INVITE was received and using that. 
> Didn't work.
>
> How can I do this?
> Is there a way to see what method a response is for? If there is, I 
> could ignore everything that wasn't a response to an INVITE.
>
> Thanks,
> Doug.
>
>
> ------------------------------------------------------------------------
> Never miss a thing. Make Yahoo your homepage. 
> <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>   





More information about the sr-users mailing list