Hi Olle!
On 18.01.2013 09:08, Olle E. Johansson wrote:
17 jan 2013 kl. 18:07 skrev "Scott, Matt" <mscott@homeadvisor.com mailto:mscott@homeadvisor.com>:
Pstn->Kamailio->dispatcher->asterisk When calls come in, they are sent to asterisk, and the peer is negotiated as Kamailio. How can I have different peer settings, for example dtmf?
I have an Asterisk branch that separates peers beyond the proxy (pinetree-1.4) based on the via received headers. I have it in production for Asterisk 1.4 in multiple places, but don't know the current state in relationship to latest source code.
If you ever port it to Asterisk trunk, I think it would be nice to have it also using a configured header for peer detection, eg: X-Asterisk-Peer: 1.2.3.4:5080.
Then it could be even more generic and used in more scenarios (e.g. with multiple proxies).
regards Klaus