Hi, I cannot establish a call, Can someone pls help to identify the problem?
This is the log.. XX.XX.XX.243=>Bria XX.XX.XX8.250=>opensips U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 INVITE sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjkX1h2zP7jg3VQFpH2M5OeYz.sYXk1tjq. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Contact: "4457675066" <sip:[email protected]:41485;ob>. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 INVITE. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Supported: replaces, 100rel, timer, norefersub. User-Agent: Bria Android 3.0.2. Content-Type: application/sdp. Content-Length: 315. . v=0. o=- 3601639408 3601639408 IN IP4 XX.XX.XX.243. s=cpc_med. c=IN IP4 XX.XX.XX.243. t=0 0. m=audio 4004 RTP/AVP 3 18 8 0 101. a=sendrecv. a=rtpmap:3 GSM/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:20. U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjkX1h2zP 7jg3VQFpH2M5OeYz.sYXk1tjq. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b77f. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 INVITE. Proxy-Authenticate: Digest realm="XX.XX.XX8.250", nonce="52f83b070000000a516fa9ae3bd8e965e6ef9e1d7552df86". Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 INVITE sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjkX1h2zP7jg3VQFpH2M5OeYz.sYXk1tjq. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Contact: "4457675066" <sip:[email protected]:41485;ob>. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 INVITE. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Supported: replaces, 100rel, timer, norefersub. User-Agent: Bria Android 3.0.2. Content-Type: application/sdp. Content-Length: 315. . v=0. o=- 3601639408 3601639408 IN IP4 XX.XX.XX.243. s=cpc_med. c=IN IP4 XX.XX.XX.243. t=0 0. m=audio 4004 RTP/AVP 3 18 8 0 101. a=sendrecv. a=rtpmap:3 GSM/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:20. U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjkX1h2zP 7jg3VQFpH2M5OeYz.sYXk1tjq. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b77f. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 INVITE. Proxy-Authenticate: Digest realm="XX.XX.XX8.250", nonce="52f83b070000000b8d78328f27a7f9dbc9dbdcdd8522f3dc". Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 INVITE sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjkX1h2zP7jg3VQFpH2M5OeYz.sYXk1tjq. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Contact: "4457675066" <sip:[email protected]:41485;ob>. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 INVITE. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Supported: replaces, 100rel, timer, norefersub. User-Agent: Bria Android 3.0.2. Content-Type: application/sdp. Content-Length: 315. . v=0. o=- 3601639408 3601639408 IN IP4 XX.XX.XX.243. s=cpc_med. c=IN IP4 XX.XX.XX.243. t=0 0. m=audio 4004 RTP/AVP 3 18 8 0 101. a=sendrecv. a=rtpmap:3 GSM/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:20. U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 . ................ U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjkX1h2zP 7jg3VQFpH2M5OeYz.sYXk1tjq. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b77f. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 INVITE. Proxy-Authenticate: Digest realm="XX.XX.XX8.250", nonce="52f83b070000000c27dd0be027283dfba6f0d82341fcda92". Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 ACK sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjkX1h2zP7jg3VQFpH2M5OeYz.sYXk1tjq. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b77f. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 ACK. Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 INVITE sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjlUy8xdvrCERdqI.F-T95xr74NkvavYCA. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Contact: "4457675066" <sip:[email protected]:41485;ob>. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5399 INVITE. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Supported: replaces, 100rel, timer, norefersub. User-Agent: Bria Android 3.0.2. Proxy-Authorization: Digest username="4457675066", realm="XX.XX.XX8.250", nonce="52f83b070000000a516fa9ae3bd8e965e6ef9e1d7552df86", uri="sip:[email protected]", response="c5adc68eb9796be647189e913d36f5c3". Content-Type: application/sdp. Content-Length: 315. . v=0. o=- 3601639408 3601639408 IN IP4 XX.XX.XX.243. s=cpc_med. c=IN IP4 XX.XX.XX.243. t=0 0. m=audio 4004 RTP/AVP 3 18 8 0 101. a=sendrecv. a=rtpmap:3 GSM/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:20. U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjlUy8xdv rCERdqI.F-T95xr74NkvavYCA. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5399 INVITE. Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjlUy8xdv rCERdqI.F-T95xr74NkvavYCA. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.3786. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5399 INVITE. Proxy-Authenticate: Digest realm="XX.XX.XX8.250", nonce="52f83b070000000da0c9b65fdf4a32a115a26c350f734979". Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 ACK sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjkX1h2zP7jg3VQFpH2M5OeYz.sYXk1tjq. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b77f. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 ACK. Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 ACK sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjkX1h2zP7jg3VQFpH2M5OeYz.sYXk1tjq. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b77f. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5398 ACK. Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 ACK sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjlUy8xdvrCERdqI.F-T95xr74NkvavYCA. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.3786. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5399 ACK. Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 INVITE sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjKHlxKJsHA5xmVv04pTc.Mew6TGPzxJi3. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Contact: "4457675066" <sip:[email protected]:41485;ob>. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5400 INVITE. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Supported: replaces, 100rel, timer, norefersub. User-Agent: Bria Android 3.0.2. Proxy-Authorization: Digest username="4457675066", realm="XX.XX.XX8.250", nonce="52f83b070000000da0c9b65fdf4a32a115a26c350f734979", uri="sip:[email protected]", response="75dc8fbb4f308fc30f472a22ca306a66". Content-Type: application/sdp. Content-Length: 315. . v=0. o=- 3601639408 3601639408 IN IP4 XX.XX.XX.243. s=cpc_med. c=IN IP4 XX.XX.XX.243. t=0 0. m=audio 4004 RTP/AVP 3 18 8 0 101. a=sendrecv. a=rtpmap:3 GSM/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:20. U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjKHlxKJs HA5xmVv04pTc.Mew6TGPzxJi3. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5400 INVITE. Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjKHlxKJs HA5xmVv04pTc.Mew6TGPzxJi3. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.9fe5. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5400 INVITE. Proxy-Authenticate: Digest realm="XX.XX.XX8.250", nonce="52f83b080000000e8bb1a13b68d9b21bb3f1f89bb9cf3ebb". Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 ACK sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjKHlxKJsHA5xmVv04pTc.Mew6TGPzxJi3. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.9fe5. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5400 ACK. Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 INVITE sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjCOgwSSs.zWq6pcyQtA.76jYZn2mXB8HX. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Contact: "4457675066" <sip:[email protected]:41485;ob>. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5401 INVITE. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Supported: replaces, 100rel, timer, norefersub. User-Agent: Bria Android 3.0.2. Proxy-Authorization: Digest username="4457675066", realm="XX.XX.XX8.250", nonce="52f83b080000000e8bb1a13b68d9b21bb3f1f89bb9cf3ebb", uri="sip:[email protected]", response="e131e24c21eb9538e2d7a2adf77f8b1c". Content-Type: application/sdp. Content-Length: 315. . v=0. o=- 3601639408 3601639408 IN IP4 XX.XX.XX.243. s=cpc_med. c=IN IP4 XX.XX.XX.243. t=0 0. m=audio 4004 RTP/AVP 3 18 8 0 101. a=sendrecv. a=rtpmap:3 GSM/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:20. U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 100 Giving a try. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjCOgwSSs .zWq6pcyQtA.76jYZn2mXB8HX. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected]. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5401 INVITE. Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX8.250:5060 -> XX.XX.XX.243:41485 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP XX.XX.XX.243:41485;received=XX.XX.XX.243;rport=41485;branch=z9hG4bKPjCOgwSSs .zWq6pcyQtA.76jYZn2mXB8HX. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b603. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5401 INVITE. Proxy-Authenticate: Digest realm="XX.XX.XX8.250", nonce="52f83b080000000fc4be161af1fdbd51fa70b3fc4fd211ce". Server: OpenSIPS (1.11.0dev-notls (x86_64/linux)). Content-Length: 0. . U XX.XX.XX.243:41485 -> XX.XX.XX8.250:5060 ACK sip:[email protected] SIP/2.0. Via: SIP/2.0/UDP XX.XX.XX.243:41485;rport;branch=z9hG4bKPjCOgwSSs.zWq6pcyQtA.76jYZn2mXB8HX. Max-Forwards: 70. From: "4457675066" <sip:[email protected]>;tag=.btzkWF2ELYjfFGj0rlE1aHH5bu.9LQv. To: sip:[email protected];tag=f0b4f841c180728ee357d262d8a5cefc.b603. Call-ID: bqOk1trJJW1FZGjXv-Ubua4FtVp3Cas9. CSeq: 5401 ACK. Content-Length: 0. . -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Saturday, February 15, 2014 4:30 PM To: [email protected] Subject: Users Digest, Vol 67, Issue 45 Send Users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.opensips.org/cgi-bin/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. Re: Setting do_routing (Nick Cameo) 2. Pre-load different routes after DNS NAPTR/SRV lookup (Leon de Rooij) 3. $ru build and set (Hiers, David) ---------------------------------------------------------------------- Message: 1 Date: Fri, 14 Feb 2014 10:20:41 -0500 From: Nick Cameo <[email protected]> Subject: Re: [OpenSIPS-Users] Setting do_routing To: Bogdan-Andrei Iancu <[email protected]> Cc: OpenSIPS users mailling list <[email protected]> Message-ID: <CAGWRaZbBOAjtbp1C6QE=0chgtdceg5c8rvvwtgthbffzsnh...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Well. I could be wrong but I think it's for the better? If you can accept a comma separated list, you can also pass a single item/ID? Thanks Bogdan! N. ------------------------------ Message: 2 Date: Fri, 14 Feb 2014 16:37:14 +0100 From: Leon de Rooij <[email protected]> Subject: [OpenSIPS-Users] Pre-load different routes after DNS NAPTR/SRV lookup To: [email protected] Message-ID: <CAESdRj=bvouwhkodut+d9rshsbhfn3-fcm1q8dnevj5jfu6...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi all, I'd like to route a call to a domain, perform NAPTR,SRV,A lookups and in each serial failure_route, use the resolved destination IP to set a custom pre-loaded route. I've been trying to fix it like this: * put fqdn in ruri * t_on_failure("1") * t_on_branch("1") * t_relay() Should I then be able to get the resolved destination IP address in the branch_route[1] ? How should I then get the second, third, etc ip adress ? I tried to put another t_on_branch("1") in the failure_route but that results in an ERROR:tm:t_forward_nonack: failure to add branches Anybody know how this should work ? Thanks & best regards, Leon de Rooij -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.opensips.org/pipermail/users/attachments/20140214/1c61a096/att achment-0001.htm> ------------------------------ Message: 3 Date: Fri, 14 Feb 2014 22:07:42 +0000 From: "Hiers, David" <[email protected]> Subject: [OpenSIPS-Users] $ru build and set To: OpenSIPS users mailling list <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Hi folks, I'm running 1.10 and building a script variable by concatenating the values that I find in $ru as I run through a use_next_gw() loop. Roughly, the code looks like this: $var(ds) = $ru; while(use_next_gw()) { $var(ds) = $var(ds) + "," + $ru; } $ru = $var(ds); It runs along pretty well, and I actually get the contact list that I want in the 302 that I send, but I'm logging some errors. Here's my debug log that covers the statement $ru = $var(ds): Xlog statement showing the value of $var(ds) and $ru before executing $ru = $var(ds): : ACTION: ru is now 'sip:[email protected]', var(ds) is now 'sip:[email protected],sip:[email protected],sip:9712258888@ 172.16.250.134' Log output from assignment statement: : ERROR:core:parse_uri: bad port in uri (error at char @ in state 8) parsed: <sip:[email protected],sip:9712258888>(44) /<sip:[email protected],sip:[email protected],sip:9712258888 @172.16.250.134> (89) : ERROR:core:parse_sip_msg_uri: bad uri <sip:[email protected],sip:[email protected],sip:9712258888@ 172.16.250.134> : DBG:core:set_err_info: ec: 1, el: 3, ei: 'error parsing r-uri' : ERROR:core:pv_get_ruri: failed to parse the R-URI Xlog statement showing the value of $var(ds) and $ru: : ACTION: ru is now '<null>', var(ds) is now 'sip:[email protected],sip:[email protected],sip:9712258888@ 172.16.250.134' Even though the log show that $ru is empty, I send a 302 with the desired 3 contacts in the correct order: SIP/2.0 302 moved Via: SIP/2.0/UDP 172.16.250.133:5060;branch=z9hG4bK-1134-1-0 From: USER X2092002222X <sip:[email protected]:5060>;tag=1 To: IPNS-TEST CALL<sip:[email protected]:5060>;tag=f9fce5da52de3d8ea163745714675c4 0.4b2d Call-ID: [email protected] CSeq: 1 INVITE Contact: <sip:[email protected],sip:[email protected],sip:9712258888@ 172.16.250.134> Server: OpenSIPS (1.10.0-notls (x86_64/linux)) Content-Length: 0 If I remove the $ru = $var(ds) statement, my 302 has just the last (.134) URI in the contact list and no errors are logged, so it is pretty clear that this statement is the one that is building the final ru and causing all the fuss in the log. What am I doing wrong? David This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.opensips.org/pipermail/users/attachments/20140214/50da45f8/att achment-0001.htm> ------------------------------ _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users End of Users Digest, Vol 67, Issue 45 ************************************* _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
