dial string for more than one sip-profile to locate user
Hello, i try to configure FreeSWITCH 1.2.23 with two external sip-profiles and add them to one sip-domain. The goal is that my sip-clients can use dns-srv records to get the ip of profile external1 or external2 (based on the dns-srv settings and the current client connection) for a more robust connectivity. At this time, my dialstring was* sofia/external1/username%${domain}* which didnt work of course if the user registered to the external2 profile. I also tried to change it to *username@${domain} *but that didnt work. Any hints to get the correct dialstring to locate the user on the right profile? -- Kind Regards *Karsten Horsmann*
Hello, Brian helps me a bit with that config issue. After some hints i figured out, that i misstyped the Dialstring. this didnt work: <action application="bridge" data="sofia_contact(*/${dialed_extension}@ ${domain_name})"/> but this works (attention on the Dollar Sign and the curly braces around the sofia_contact) <action application="bridge" data="${sofia_contact(*/${dialed_extension}@ ${domain_name})}"/> With * for all sip_profiles, like the wiki described it. An alternate could be the user/username dialstring, but i am happy with the sofia_contact. 2014-05-16 11:19 GMT+02:00 Karsten Horsmann <khorsmann@gmail.com>:
Hello,
i try to configure FreeSWITCH 1.2.23 with two external sip-profiles and add them to one sip-domain. The goal is that my sip-clients can use dns-srv records to get the ip of profile external1 or external2 (based on the dns-srv settings and the current client connection) for a more robust connectivity.
At this time, my dialstring was* sofia/external1/username%${domain}* which didnt work of course if the user registered to the external2 profile.
I also tried to change it to *username@${domain} *but that didnt work.
Any hints to get the correct dialstring to locate the user on the right profile?
-- Kind Regards *Karsten Horsmann*
-- Mit freundlichen Grüßen *Karsten Horsmann*
participants (1)
-
Karsten Horsmann