[SR-Users] TOPOS uid in contact param instead of username

Thomas Weber thomas.weber at pascom.net
Tue Jun 25 15:04:09 CEST 2019


Hello,

we're using topos/redis since some time and it's working quite well for most situations. It's used to route asterisk traffic to sip providers.
Some providers, however, are validating the contact header strictly against i.e. the accounts username and so we have to disable topos by using event_route[topos:msg-sending].

Now i'm wondering if it would be useful to other people to add a mode to topos where the topos uid is not forwarded as contact username but instead added as a contact uri param.
So instead of e.g. Contact: <sip:btpsh-5abcdef5-374-1 at x.x.x.x:5060;transport=tcp> it would use Contact: <sip:+49...... at x.x.x.x:5060;transport=tcp;line=btpsh-5abcdef5-374-1>.

What do you think? Would it make sense? Is it a lot of effort? 


Cheers,

Thomas



More information about the sr-users mailing list