Two things come to mind:
1. Is your UA setup to use your openser as an outbound proxy? That tends
to help with these kinds of problems.
2. You're using record-route in your openser.cfg. Check the Route and
Record-Route headers in your SIP trace. It sounds like your UA may be
ignoring them, which I've seen some UA's do. It's also quite likely that
Asterisk screwed it up.
3. Try different combinations of UA or firmware for your UA. I've seen
these kinds of problems with some of our equipment, and sometimes
upgrading or downgrading firmware helps.
----Nathan
Edgar Barbosa wrote:
Hi all,
I'm trying to setup an openser using an asterisk as a pstn gw and voicemail
server.
Everything seems to be working fine except when a call is redirected to
voicemail by timeout (using failure_route).
In this situation, asterisk is asking for proxy auth to openser that
redirects the request to the calling ua. But when the ua responds to
openser, this latest sends the invitation to the destination ua and not to
asterisk, as he should.
I can't figure out a way of accomplishing this... any idea?
The sip trace diagram and the full openser.cfg are in attachment.
The wrong invite is represented as "F19 INVITE" in the diagram...
Thanks,
Edgar
------------------------------------------------------------------------
Phone1 OpenSer
Asterisk Phone2
| |
| |
<Call><PFrame><Time>
| |
| |
| F1 INVITE (sdp) |
| |
|>------------------------------------------------>|
| | 1 PF:1
16:09:17.8310
| |
| |
| trying -- your call is important to us 100 F2 |
| |
|<------------------------------------------------<|
| | 1 PF:2
16:09:17.8313
| |
| |
| | F3 INVITE (sdp)
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:3 16:09:17.8314
| |
| |
| | F4 INVITE (sdp)
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:4 16:09:17.8784
| |
| |
| |
| Trying 100 F5 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:5 16:09:18.1351
| |
| |
| |
| Trying 100 F6 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:6 16:09:18.2805
| |
| |
| |
| Ringing 180 F7 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:7 16:09:18.4531
| |
| |
| Ringing 180 F8 |
| |
|<------------------------------------------------<|
| | 1 PF:8
16:09:18.4531
| |
| |
| F9 (sip incomplete) >>> |
| |
|>------------------------------------------------>|
| | 1 PF:9
16:09:23.9775
| |
| |
| |
| <<< (sip incomplete) F10 |
|
|<---------------------------------------------------------------------------------------------------<|
2 PF:10 16:09:26.7349
| |
| |
| | F11 INVITE (sdp)
| |
|
|>------------------------------------------------>|
| 1 PF:11 16:09:32.9069
| |
| |
| | F12 CANCEL
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:12 16:09:32.9069
| |
| |
| | Proxy Authentication
Required 407 F13 | |
|
|<------------------------------------------------<|
| 1 PF:13 16:09:32.9071
| |
| |
| | F14 ACK
| |
|
|>------------------------------------------------>|
| 1 PF:14 16:09:32.9072
| |
| |
| Proxy Authentication Required 407 F15 |
| |
|<------------------------------------------------<|
| | 1 PF:15
16:09:32.9072
| |
| |
| F16 ACK |
| |
|>------------------------------------------------>|
| | 1 PF:16
16:09:33.0940
| |
| |
| F17 INVITE (sdp) |
| |
|>------------------------------------------------>|
| | 1 PF:17
16:09:33.3866
| |
| |
| trying -- your call is important to us 100 F18 |
| |
|<------------------------------------------------<|
| | 1 PF:18
16:09:33.3869
| |
| |
| | F19 INVITE (sdp)
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:19 16:09:33.3869
| |
| |
| |
| OK 200 F20 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:20 16:09:33.5315
| |
| |
| |
| Request Terminated 487 F21 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:21 16:09:33.6770
| |
| |
| | F22 ACK
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:22 16:09:33.6771
| |
| |
| |
| Request Terminated 487 F23 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:23 16:09:33.9060
| |
| |
| | F24 ACK
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:24 16:09:33.9061
| |
| |
| | F25 INVITE (sdp)
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:25 16:09:33.9085
| |
| |
| |
| Trying 100 F26 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:26 16:09:34.0484
| |
| |
| |
| Ringing 180 F27 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:27 16:09:34.2206
| |
| |
| Ringing 180 F28 |
| |
|<------------------------------------------------<|
| | 1 PF:28
16:09:34.2206
| |
| |
| |
| Ringing 180 F29 |
|
|<---------------------------------------------------------------------------------------------------<|
1 PF:29 16:09:34.4196
| |
| |
| Ringing 180 F30 |
| |
|<------------------------------------------------<|
| | 1 PF:30
16:09:34.4196
| |
| |
| F31 (sip fragment) >>> |
| |
|>------------------------------------------------>|
| | 1 PF:31
16:09:43.9851
| |
| |
| | F32 INVITE (sdp)
| |
|
|>------------------------------------------------>|
| 1 PF:33 16:09:48.9373
| |
| |
| | F33 CANCEL
| |
|
|>--------------------------------------------------------------------------------------------------->|
1 PF:34 16:09:48.9373
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users