[OpenSER-Users] Does t_realy chooseTCP/UDP protocol if it's necessary?

Iñaki Baz Castillo ibc at aliax.net
Sun Mar 2 01:12:28 CET 2008


Hi, very strange:

- I call to OpenSer using a TCP client.

- The INVITE arrives via TCP to OpenSer.

- I do:
    $rd=ASTERISK_IP;
    t_relay();
    exit;

- Asterisk only speaks UDP of course.

- And OpenSer sends the INVITE to Asterisk by UDP.

WHY does it work??? I  hoped it would fail trying to forward the INVITE by TCP 
to Asterisk since I didn't force the outgoing socket, just the two lines 
above.

Thanks for any explanation.

-- 
Iñaki Baz Castillo




More information about the sr-users mailing list