Hi All,

Good day, I'm new to this mailing list :-)

I've setup an OpenSER server with TLS implementation, so far I tested everything works fine, but there's strange problem for "BYE" request, from the openser's log it always complaint: "Aug 19 22:58:40 ser /sbin/openser[16171]: WARNING:get_send_socket: protocol/port mismatch"

Here's my implementation:
UA -> OpenSER -> Asterisk (as RTP) -> OpenSER -> UA
On OpenSER I've two port opened which is Udp 5060 and TCP 5061 (TLS).
My UA is Eyebeam v1.5 and the CA certificate (self-signed) already installed into IE "Trusted RootCA Certificates". So far I've tested p2p and pstn calls (and call to playback balance/asterisk), but the problem is unless UA disconnect the call (initiate BYE), otherwise if remote party (p2p/pstn/asterisk) initiate BYE request, my UA will forever stay connected until I disconnect the call manually.

So far I've identified the BYE request from remote party will go into Loose Route, and I've place a xlog to display the R-Uri.. here's the log from openser: (notes: if UA dial '001' will playback his/her balance from asterisk)
-------------------------------------------------------------------------------------------------------------
Aug 19 22:58:31 ser /sbin/openser[16189]: DBG: INVITE from client sip:[EMAIL PROTECTED] (%UA_IP%) - p2p call Aug 19 22:58:31 ser /sbin/openser[16189]: DBG: INVITE F-[sip:[EMAIL PROTECTED] T-[sip:[EMAIL PROTECTED] IP-[%UA_IP%] SUCCESSFUL Aug 19 22:58:32 ser /sbin/openser[16189]: DBG: INVITE from client sip:[EMAIL PROTECTED] (%UA_IP%) Aug 19 22:58:32 ser /sbin/openser[16189]: DBG: INVITE from client sip:[EMAIL PROTECTED] (%UA_IP%) - p2p call Aug 19 22:58:32 ser /sbin/openser[16189]: DBG: INVITE F-[sip:[EMAIL PROTECTED] T-[sip:[EMAIL PROTECTED] IP-[%UA_IP%] SUCCESSFUL Aug 19 22:58:32 ser /sbin/openser[16189]: DBG: [sip:[EMAIL PROTECTED](%UA_IP%) ACK [sip:[EMAIL PROTECTED] relayed LOOSE ROUTE Aug 19 22:58:32 ser /sbin/openser[16189]: DBG: ruri [sip:[EMAIL PROTECTED] relayed LOOSE ROUTE Aug 19 22:58:40 ser /sbin/openser[16171]: DBG: [sip:[EMAIL PROTECTED](%Asterisk_IP%) BYE [sip:[EMAIL PROTECTED] relayed LOOSE ROUTE Aug 19 22:58:40 ser /sbin/openser[16171]: DBG: ruri [sip:[EMAIL PROTECTED]:%UA_Port%] relayed LOOSE ROUTE Aug 19 22:58:40 ser /sbin/openser[16171]: WARNING:get_send_socket: protocol/port mismatch <<<============= Aug 19 22:58:41 ser /sbin/openser[16177]: DBG: [sip:[EMAIL PROTECTED](%Asterisk_IP%) BYE [sip:[EMAIL PROTECTED] relayed LOOSE ROUTE Aug 19 22:58:41 ser /sbin/openser[16177]: DBG: ruri [sip:[EMAIL PROTECTED]:%UA_Port%] relayed LOOSE ROUTE Aug 19 22:58:42 ser /sbin/openser[16181]: DBG: [sip:[EMAIL PROTECTED](%Asterisk_IP%) BYE [sip:[EMAIL PROTECTED] relayed LOOSE ROUTE Aug 19 22:58:42 ser /sbin/openser[16181]: DBG: ruri [sip:[EMAIL PROTECTED]:%UA_Port%] relayed LOOSE ROUTE
....... (repeat the last 4 lines N times )
-------------------------------------------------------------------------------------------------------------
Below is my openser.cfg, loose route section
-------------------------------------------------------------------------------------------------------------
      ###############
       # Loose route #
       ###############
   if(loose_route()) {
       if(has_totag() && (is_method("INVITE") || is_method("ACK"))) {
           if(nat_uac_test("19") || search("^Route:.*;nat=yes")) {
               fix_nated_contact();
           }
       }

       xlog("L_INFO", "DBG: [$fu]($si) $rm [$tu] relayed LOOSE ROUTE");
       xlog("L_INFO", "DBG: ruri [$ru] relayed LOOSE ROUTE");
       t_relay();

       exit;
   }
-------------------------------------------------------------------------------------------------------------

Had anyone encountered the same problems before ? Do you mind to share your experience with me ?
Your help are greatly appreciated, thanks in advance.

Regards,
David Loh


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to