[OpenSIPS-Users] Question about contact field of B2bUA module

Lei Tang lei.tlfly at gmail.com
Tue May 11 14:32:40 CEST 2010


Hi Anca, Thanks for your work, I'm looking forward to it.:-)

2010/5/11 Anca Vamanu <anca at opensips.org>

> Hi Lei,
>
> I will try to fix this, to use the socket where the request was received
> as the contact.
>
> Regards,
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>
>
> Lei Tang wrote:
> > Hi all, I'm trying to migrate my opensips script to  B2BUA module,
> > The question is: my opensips is listening on multi ip address and port
> > like 10.10.10.11:5060 <http://10.10.10.11:5060>, 10.10.10.12:5060
> > <http://10.10.10.12:5060>, 10.10.10.12:5062 <http://10.10.10.12:5062>,
> > each ip:port pair is used to communicate with some out-side sip
> > server,   but the b2b_entities module can set only one contact field,
> > Does some one known how to make b2b_entities send Contact header the
> > same with the ip and port which opensips received the sip request
> > message?
> >
> > For examples:
> > When A send INVITE to opensips 10.10.10.10:5060
> > <http://10.10.10.10:5060> port, the message should be
> > 1.  A --> opensips  INVITE 1000 at 10.10.10.10:5060
> > <http://1000@10.10.10.10:5060>
> > 2.  opensips --> B INVITE 1000 at B   Contact:2000 at 10.10.10.10:5060
> > <http://Contact:2000@10.10.10.10:5060>
> >
> > When A send INVITE to opensips 10.10.10.10:5080
> > <http://10.10.10.10:5080> port, the message should be
> > 1.  A --> opensips  INVITE 1000 at 10.10.10.10:5080
> > <http://1000@10.10.10.10:5080>
> > 2.  opensips --> B INVITE 1000 at B   Contact:2000 at 10.10.10.10:5080
> > <http://Contact:2000@10.10.10.10:5080>
> >
> >
> > --
> > Lei.Tang
> > lei.tlfly at gmail.com <mailto:lei.tlfly at gmail.com>
> > ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
Lei.Tang
lei.tlfly at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100511/5a3ab559/attachment.htm 


More information about the Users mailing list