[asterisk-dev] new changes for realtime with new field ipsvr (chan_sip.c)

Germán Aracil Boned german at tecnoxarxa.com
Tue Feb 13 20:11:47 MST 2007


I think, make more changes on chan_sip.c for add automatic redirection 
to sip peer registered server. I think make when asterisk read from 
database peer info. At this momment, check local ip's server, compare 
with ipsvr value, and change destination for invite to correctly server 
(where sip peer was send register).

I don't know where can put it in chan_sip.c, can you help me ? What 
function ? I think add to struct sip_peer: char ipsvr[20] for write when 
read from db peer info. And compare, before send invite to sip peer, for 
change destination ip if it is necesary.

where is these in chan_sip.c file for add ?

And .. I think .. Have interes for add this change to version 1.2 or 1.4 ?

Thk


More information about the asterisk-dev mailing list