I think the first one is only for registration.  The second one I forgot
about, I must have been caught at a moment of weakness to implement that =D


On Wed, Aug 13, 2008 at 10:02 AM, Simon Capper <[EMAIL PROTECTED]> wrote:

> There are two ways.
> 1 - define a gateway, the contact user will be taken from the gateway
> parameters.
> 2 - Set the channel variable "sip_contact_user" in your dialplan, the IP
> address part of the URL is still controlled by FS, but this will replace
> the
> mod_sofia username that appears today. This only works if you do not use a
> gateway in the sip profile
>
> Simon
>
>
> On 8/13/08 12:31 AM, "Craig Guy" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> >
> >
> > First, have been lurking for about a week and I feel Freeswitch is a
> great
> > project, coming from a non-programmer background and heavy familiarity
> with
> > Asterisk and Callweaver it's a bit of a learning curve to come to grips
> with
> > the XML but I'm slowly getting there J
> >
> >
> >
> > I'm currently doing some interop testing with Freeswitch and the provider
> > has come back to me stating that they require the Contact header to
> exhibit:
> >
> >
> >
> > a)      e.164 format
> >
> > b)      The From, RPID and Contact headers to match
> >
> >
> >
> > Try as I might I am seemingly unable to set the user portion of the
> Contact
> > header for the outbound leg to the termination provider.  The contact is
> > always mod_sofia@<ip:port>.  I have found the sip-force-contact setting
> > however it seems to have no effect on the contact header (and I might be
> > using it incorrectly in any case).  The ideal behaviour for me is for the
> > contact to take the form of callerid@<ip:port>
> >
> >
> >
> > For example if my sip profile is bound to 192.168.0.1:5060 and my
> handset
> > callerid is +13035555555 I would like to set the contact to
> > sip:[EMAIL PROTECTED]:5060
> >
> >
> >
> > Is there an ability within Freeswitch to set the Contact header based on
> > callerid?
> >
> >
> >
> > Craig
> >
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > [email protected]
> > 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
> [email protected]
> 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/

AIM: anthm
MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to