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

Lei Tang lei.tlfly at gmail.com
Tue May 11 07:24:50 CEST 2010


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, 10.10.10.12:5060, 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 port, the message should be
1.  A --> opensips  INVITE 1000 at 10.10.10.10:5060
2.  opensips --> B INVITE 1000 at B   Contact:2000 at 10.10.10.10:5060

When A send INVITE to opensips 10.10.10.10:5080 port, the message should be
1.  A --> opensips  INVITE 1000 at 10.10.10.10:5080
2.  opensips --> B INVITE 1000 at B   Contact:2000 at 10.10.10.10:5080


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


More information about the Users mailing list