I would:
{presence_id=${dialed_user}@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_user}@${dialed_domain}),sofia/other_profile/${dialed_user}}
You could toy with that a bit. The dialstring is really just an origination string that is generated by the user/<extension> ...
Hope that clears it up a bit.
Regards,
Joćo Mesquita
Hello Anthony,
I really tried to understand this, but
>add on a , then another dial string to reflect the other profile too
can you give me an example?
Best regards
Peter
Anthony Minessale schrieb:
> add on a , then another dial string to reflect the other profile too
>
> On Thu, Feb 18, 2010 at 3:14 PM, Peter P GMX <Prometheus001@gmx.net
> <mailto:Prometheus001@gmx.net>> wrote:> > <mailto:Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>>>
>
> Any idea how to do this?
>
> currently I have
> {presence_id=${dialed_user}@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_user}@${dialed_domain})}
>
>
> Best regards
> Peter
>
> Anthony Minessale schrieb:
> > edit the dial-string for that user in the directory xml to try the
> > extension on both profile at once
> >
> > On Thu, Feb 18, 2010 at 1:27 PM, Peter P GMX
> <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>
> <mailto:MSN%253Aanthony_minessale@hotmail.com>>> wrote:
> >
> > Hello,
> >
> > in the standard setup - if a phone is registering to port
> 5060 - it is
> > bound to the "internal" profile. And I can dial it via
> > sofia/user/xxxx then.
> >
> > However due to NAT issues I would like to have to 2 seperate
> profiles
> > for SIP phones. For example I have a "local" profile for all
> devices
> > inside the LAN (e.g. Pattons und in future: local phones)
> and another
> > "internal" profile which allows also external phones via
> > external-xxx-ip. That way I would like to ensure that local
> phones
> > have
> > nothing to do with natted adresses and that external phones can
> > register
> > via external IPs.
> >
> > Question How do I manage that I can register a phone to the
> "local"
> > profile and being able to dial that phone via sofia/user/xxxxx?
> >
> > Or do I think too complicated and there is simply nothing
> special
> > to do?
> >
> > Best regards
> > Peter
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users@lists.freeswitch.org
> <mailto:FreeSWITCH-users@lists.freeswitch.org>
> > <mailto:FreeSWITCH-users@lists.freeswitch.org
> <mailto:FreeSWITCH-users@lists.freeswitch.org>>
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
> >
> >
> > --
> > Anthony Minessale II
> >
> > FreeSWITCH http://www.freeswitch.org/
> > ClueCon http://www.cluecon.com/
> > Twitter: http://twitter.com/FreeSWITCH_wire
> >
> > AIM: anthm
> > MSN:anthony_minessale@hotmail.com
> <mailto:MSN%3Aanthony_minessale@hotmail.com>
> > <mailto:MSN%3Aanthony_minessale@hotmail.com
> > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com> <mailto:PAYPAL%253Aanthony.minessale@gmail.com>>
> <mailto:PAYPAL%3Aanthony.minessale@gmail.com>
> > <mailto:PAYPAL%3Aanthony.minessale@gmail.com
> > IRC: irc.freenode.net <http://irc.freenode.net>> <mailto:sip%253A888@conference.freeswitch.org>>
> <http://irc.freenode.net> #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888@conference.freeswitch.org
> <mailto:sip%3A888@conference.freeswitch.org>
> > <mailto:sip%3A888@conference.freeswitch.org
> > iax:guest@conference.freeswitch.org/888> <mailto:googletalk%253Aconf%252B888@conference.freeswitch.org>>
> <http://iax:guest@conference.freeswitch.org/888>
> > <http://iax:guest@conference.freeswitch.org/888>
> > googletalk:conf+888@conference.freeswitch.org
> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org>
> > <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org
> > pstn:+19193869900
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users@lists.freeswitch.org
> <mailto:FreeSWITCH-users@lists.freeswitch.org>
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> <mailto:FreeSWITCH-users@lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale@hotmail.com
> <mailto:MSN%3Aanthony_minessale@hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
> <mailto:PAYPAL%3Aanthony.minessale@gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888@conference.freeswitch.org
> <mailto:sip%3A888@conference.freeswitch.org>
> iax:guest@conference.freeswitch.org/888
> <http://iax:guest@conference.freeswitch.org/888>
> googletalk:conf+888@conference.freeswitch.org
> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org>
> pstn:+19193869900
> ------------------------------------------------------------------------
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org