I'm using OpenSER to connect to a Nortel CS1000M, and I'm having some
problems.
The way the Nortel works is that it has what they call a Network Routing
Service (redirect server, really), that issues either a 302 (if a single
SIP gateway exists on the CS1000) or a 300 (if multiple).
Here's a sample 300 from my system (IPs and domains changed to protect
the guilty):
U 10.1.1.3:5060 -> 10.0.1.1:5060
SIP/2.0 300 Multiple Choices.
Via: SIP/2.0/UDP
10.0.1.1;branch=z9hG4bKa66e.99fc1a25.1;received=10.0.1.1.
Via: SIP/2.0/UDP 10.1.3.114;branch=z9hG4bK7d42804867A25509.
From: "0004f2145263"
<sip:[EMAIL PROTECTED]>;tag=5F7CDD45-DDCE1F92.
To: <sip:[EMAIL PROTECTED];user=phone>;tag=34887.
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE.
Contact:
<sip:12345;[EMAIL PROTECTED]:5060;maddr=10.1.1.1;transport=ud
p;x-nt-redirect=redirect-server;x-nt-redirect=redirect-server>.
Contact:
<sip:12345;[EMAIL PROTECTED]:5060;maddr=10.1.1.2;transport=tc
p;x-nt-redirect=redirect-server;x-nt-redirect=redirect-server>.
Content-Length: 0.
The problem I have is that the Contacts have an maddr, and I need relay
to it. However, I can't seem to be able to use transformations to get
the maddr for relaying. Here are some log messages with comments
inline:
Jul 16 19:50:49 dtw-openser01 /usr/local/sbin/openser[4306]: Branches
are:
<sip:12345;[EMAIL PROTECTED]:5060;maddr=10.1.1.1;transport=ud
p;x-nt-redirect=redirect-server>;q=0.01
This is just an xlog of $bR, but I'm not sure where the q= value is
coming from (get_redirects?).
Jul 16 19:50:49 dtw-openser01 /usr/local/sbin/openser[4306]: ERROR:
parse_uri: bad uri, state 0 parsed: <<sip> (4) /
<<sip:12345;[EMAIL PROTECTED]:5060;maddr=10.1.1.1;transport=u
dp;x-nt-redirect=redirect-server>;q=0.01> (120)
Jul 16 19:50:49 dtw-openser01 /usr/local/sbin/openser[4306]:
tr_eval_uri: invalid uri
[<sip:12345;[EMAIL PROTECTED]:5060;maddr=10.1.1.1;transport=u
dp;x-nt-redirect=redirect-server>;q=0.01]
These are what I get as a result of trying to xlog $(bR{uri.maddr})
Anyway, I would be greatly appreciative of any help someone might offer
on the matter.
Regards,
- Brad
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose it
to anyone else. If you received it in error please notify us immediately and
then destroy it.
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users