Re: [asterisk-users] Call forwarding from Phones and getting the referrer IP

2014-10-28 Thread Ishfaq Malik
On 24 October 2014 16:51, Ishfaq Malik i...@pack-net.co.uk wrote: Hi I'm using asterisk 1.8 but I'm sure this applies to other versions. If someone puts a call divert on a handset such as a Snom phone I get this type of SIP message on receipt of an inbound call: Got SIP response 302 Moved

Re: [asterisk-users] Call forwarding from Phones and getting the referrer IP

2014-10-28 Thread Scott Griepentrog
After a quick perusal of the chan_sip.c code (from svn trunk), I'm not seeing where the address (p-sa) logged in that message is passed to the redirecting functions handling the 302, thus it is unlikely there is a way to obtain it other than reading the log. It wouldn't be hard to set a channel

[asterisk-users] Call forwarding from Phones and getting the referrer IP

2014-10-24 Thread Ishfaq Malik
Hi I'm using asterisk 1.8 but I'm sure this applies to other versions. If someone puts a call divert on a handset such as a Snom phone I get this type of SIP message on receipt of an inbound call: Got SIP response 302 Moved Temporarily back from xxx.xxx.xxx.xxx:x Which then triggers a