[Asterisk-Users] Packet Testing

Joshua Colp jcolp at digium.com
Fri Apr 14 09:54:13 MST 2006


Kevin Smith wrote:
> Hi everyone,
> 
> On the Polycom 601 phones we are using, the forward feature works very 
> nicely for agents that are out on trips. I was wondering if there is a 
> way to test to see if they have the forward option enabled.
> 
> When it is enabled the call comes in and gets -- Got SIP response 302 
> "Moved Temporarily" response and then it uses the correct outbound macro 
> to forward the call to the number specified. I am wondering if I am able 
> to test for that SIP response or something in the SIP packet that I can 
> grab to test. From what I read online, I didn't see much that would 
> allow me to test for it, but  I may have just missed it.
> 
> Thanks,
> Kevin
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

You won't know that the phone is going to forward the call to an 
alternate number until you send the call to it. You could theoretically 
cache the information... but then it wouldn't be real time up to date 
with the phone's settings.

-- 
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
jcolp at digium.com



More information about the asterisk-users mailing list