|
Ok, it builds fine now. Thanks. Another problem. Back to the Contact: header issue I have been having. It appears something changed. My Contact headers for incoming handles are wrong again. Here is the whole issue in a nut-shell. I am trying to support multiple lines on one nua agent. Multiplexing on user-name. This works fine for any handles I create since I can set the Contact string with SIPTAG_CONTACT_STR() when I create the handle. On incoming INVITEs, the stack creates the handle, and I can not set the contact string. So in version 1.12.4 I would include NUTAG_M_USERNAME() in all my nua_respond() calls. This seemed to fix the Contact: header. This doesn't seem to work any longer. Now I get the default Contact: header which only includes the IP address. Here is an example trace of an incomming call, notice the Contact: header in the 180 ringing and 200 OK messages. Any ideas on how I can make this work ? ================================================================================= 19:24:37.135522 10.2.21.2.5060 > 10.1.64.123.5060: udp 474 (DF) INVITE sip:[EMAIL PROTECTED] SIP/2.0 Call-ID:gfebjdgafdfgbabb-ibihfdahbb CSeq:6001 INVITE Contact: sip:[EMAIL PROTECTED] From:.phone 1. <sip:[EMAIL PROTECTED]>;tag=fidafggafdfgbabb-ibihfdahbb To: sip:[EMAIL PROTECTED] Via:SIP/2.0/UDP 10.2.21.2:5060 Content-Length: 137 Content-Type:application/sdp Max-Forwards:70 v=0 o=ast12345sg 2118415746003979100 2862837926349621065 IN IP4 10.1.64.123 s=- c=IN IP4 10.1.64.123 t=0 0 m=audio 13058 RTP/AVP 0 ================================================================================= 19:24:37.155526 10.1.64.123.5060 > 10.2.21.2.5060: udp 270 (DF) [tos 0xb8] SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.21.2:5060 From: .phone 1. <sip:[EMAIL PROTECTED]>;tag=fidafggafdfgbabb-ibihfdahbb To: <sip:[EMAIL PROTECTED]> Call-ID: gfebjdgafdfgbabb-ibihfdahbb CSeq: 6001 INVITE User-Agent: sofia-sip/1.12.4work Content-Length: 0 ================================================================================= 19:24:37.175524 10.1.64.123.5060 > 10.2.21.2.5060: udp 439 (DF) [tos 0xb8] SIP/2.0 180 Ringing Via: SIP/2.0/UDP 10.2.21.2:5060 From: .phone 1. <sip:[EMAIL PROTECTED]>;tag=fidafggafdfgbabb-ibihfdahbb To: <sip:[EMAIL PROTECTED]>;tag=t8yZp90gK0yQK Call-ID: gfebjdgafdfgbabb-ibihfdahbb CSeq: 6001 INVITE Contact: <sip:10.1.64.123;transport=udp> User-Agent: sofia-sip/1.12.4work Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, UPDATE, NOTIFY Supported: timer Content-Length: 0 ================================================================================= 19:24:37.215525 10.2.21.2.5060 > 10.1.64.123.5060: udp 323 (DF) SIP/2.0 180 Ringing Call-ID:b21a67e1-2ccc-122a-9c9b-75d8ea89dc17 CSeq:100001001 INVITE Contact: sip:[EMAIL PROTECTED] From:"phone 1" <sip:[EMAIL PROTECTED]>;tag=1t844t89QQ5mH To:<sip:[EMAIL PROTECTED]>;tag=efhhbffhfdfgbabb-ibihfdahbb Via:SIP/2.0/UDP 10.1.64.123;branch=z9hG4bKB3UtB2X4j2Sap Content-Length: 0 ================================================================================= 19:24:40.175597 10.1.64.123.5060 > 10.2.21.2.5060: udp 650 (DF) [tos 0xb8] SIP/2.0 200 OK Via: SIP/2.0/UDP 10.2.21.2:5060 From: .phone 1. <sip:[EMAIL PROTECTED]>;tag=fidafggafdfgbabb-ibihfdahbb To: <sip:[EMAIL PROTECTED]>;tag=t8yZp90gK0yQK Call-ID: gfebjdgafdfgbabb-ibihfdahbb CSeq: 6001 INVITE Contact: <sip:10.1.64.123;transport=udp> User-Agent: sofia-sip/1.12.4work Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, REFER, UPDATE, NOTIFY Supported: timer Session-Expires: 1800;refresher=uas Min-SE: 120 Content-Type: application/sdp Content-Disposition: session Content-Length: 128 v=0 o=- 5780481952079897817 7460878766181335184 IN IP4 10.1.64.123 s=- c=IN IP4 10.1.64.123 t=0 0 m=audio 13062 RTP/AVP 0 Pekka Pessi wrote: On 2/1/07, Colin Whittaker <[EMAIL PROTECTED]> wrote: |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
