[Freeswitch-users] Routing DIDs to Dynamically Registered SIP User
David Ponzone
david.ponzone at ipeva.fr
Mon Oct 11 23:24:15 PDT 2010
I really don't think it is as:
1/ i was not able to find a parameter to alter the INVITE URI
2/ FS itself has a parameter to change the behaviour and use the SIP
To instead of the INVITE URI as the destination_number, so it would
tend to prove that it's the other party's job to use the right field.
David (Allen, I am not talking to myself :) ), can you give us some
examples of PBXs who rely only on the INVITE URI ?
Are you sure they don't have a parameter to change that ?
David Ponzone Direction Technique
email: david.ponzone at ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis
à l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autorisée est interdite. Tout message électronique est
susceptible d'altération. IPeva décline toute responsabilité au titre
de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes
pas destinataire de ce message, merci de le détruire immédiatement et
d'avertir l'expéditeur.
Le 12/10/2010 à 07:18, Michael Collins a écrit :
> Ah, I was reading too much into that.
>
> If I understand correctly you need to send the INVITE to the actual
> endpoint, but you need the target URI be the same as the URI in the
> To: field? Is that even legal in SIP? (Not that legal matters since
> vendors do whatever they want anyway...)
>
> -MC
>
> On Mon, Oct 11, 2010 at 3:59 PM, David Allen <thedjallen at gmail.com>
> wrote:
> Hi Michael,
>
> Its a SIP UA that registers locally to Freeswitch.
>
> Regards,
> David
>
> On Tue, Oct 12, 2010 at 9:51 AM, Michael Collins
> <msc at freeswitch.org> wrote:
> > What is a "dynamically registered SIP user"?
> > -MC
> >
> > On Thu, Oct 7, 2010 at 10:32 PM, David Allen
> <thedjallen at gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I'm trying to send multiple Direct Indial Numbers down to a
> dynamically
> >> registered SIP User. I need to ensure that both the To and Target
> URI
> >> contain the direct Indial number. I'm able to modify the SIP TO
> Header
> >> of a call that is sent to them like below:
> >>
> >> <action application="bridge"
> >> data="sofia/external/56778977%${domain}^61390009000"/>
> >>
> >> which sends the request as:
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >> INVITE sip:56778977 at 192.168.22.2:5061 SIP/2.0
> >>
> >> Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j
> >>
> >> Max-Forwards: 69
> >>
> >> From: "0390001000" <sip:
> 0390001000 at 192.168.2.200>;tag=K4HHaZ9v1H07Q
> >>
> >> To: <sip:61390009000 at 192.168.2.200>
> >>
> >> But in order to maintain compatability with a number of PBX's/VoIP
> >> devices on the market, I need to be able to send the invite to the
> >> dynamically registered SIP user, however have it set the Target
> URI and
> >> To as the same contact number like below:
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >> INVITE sip:61390009000 at 192.168.22.2:5061 SIP/2.0
> >>
> >> Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j
> >>
> >> Max-Forwards: 69
> >>
> >> From: "0390001000" <sip:
> 0390001000 at 192.168.2.200>;tag=K4HHaZ9v1H07Q
> >>
> >> To: <sip:61390009000 at 192.168.22.2:5061>
> >>
> >> Is there a way to do this setting via variables? I can't seem to
> find
> >> any details for it.
> >>
> >> Thanks
> >>
> >> David
> >>
> >> _______________________________________________
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101012/27385e32/attachment.html
More information about the FreeSWITCH-users
mailing list