[OpenSIPS-Users] [OPENSIPS] How to route calls out Openser to Voicemail GW with Right RURI

oso che bol ndlgroup1 at gmail.com
Wed Apr 8 16:42:33 CEST 2009


Dear All,

Platform:
- Opensip 1.4.5
- RTPPROXY: 1.2.0
- MySQL: 5.0
- Asterisk 1.4.24

Asterisk acts as a VoiceMail system when Users on Opensips Do Not answer or
Busy, so call will route to Asterisk to leave Voicemail.
Voicemail system works properly.

The problem is: "When call route out of Opensips Server to Asterisk, Request
URI use IP of Opensips to request Asterisk".

So, Asterisk will return to wrong IP of UA Client, and of course, no voice
from Asterisk to UA Client.

Expected Results:1. "I want to use 1000 at IP_OF_UACLient to request Asterisk
for leave voicemail?" or "If it uses 1000 at IP_OF_OPENSIPS to request Asterisk
for Voicemail, UA Client should hear Voice".

Bellow is my Configuration Files and Log File of OpenSIPs.

Thanks and Regards,
-LN

===========CONFIGURATION============
#04072009
#tm timeout for voicemail params
modparam("tm", "fr_timer", 3)
modparam("tm", "fr_inv_timer", 20)

####### Routing Logic ########
#Follow: http://www.mail-archive.com/users@openser.org/msg01991.html &&
ser.cfg
route {
    log(1,
"----------------------------------------------------------------------------------");
    log(1, "HTK: ENTER MAIN LOOP\n");
    log(1,
"----------------------------------------------------------------------------------");
    #---------
    #Sanity Check
    #-------------
    if (!mf_process_maxfwd_header("10")) {
        sl_send_reply("483","Too Many Hops");
        exit;
    };
    if ( msg:len >= max_len ) {
        sl_send_reply("513", "Message too big");
        exit;
    }

    #--------------------------------------
    #Record-Route all messages
    #-- to make sure subsequent messages will go through our proxy
    #--------------------------------------
    if (method!="REGISTER") {
        record_route();
    }
    #-------------------------------
    # Loose-Route
    #-------------------------------
    if (loose_route()) {
        append_hf("P-hint: HTK: rr-enforced\r\n");
        route(1);
        exit;
    }
    #--------------------------------
    # uri != myself
    #--------------------------------------
    if (uri!=myself) {
        append_hf("P-hint: HTK: Outbound\r\n");
        route(1); #NATHELPER
        exit;
    }
    #----------------------------------
    # uri==myself
    #--------------------------------
    if (uri==myself) {
        if (method=="REGISTER") {
            if (nat_uac_test("19")) {
                setbflag(6);
                force_rport();
                fix_nated_register();

            }
            sl_send_reply("100", "HTK: Trying\r\n");
            #AUTHENTICATE
            if(!www_authorize("OPENSIPSIP", "subscriber")) {
                www_challenge("OPENSIPSIP", "0");
                exit;
            }
            consume_credentials();

            save("location");
            exit;

        }
        lookup("aliases");
        #if (is_user_in("Request-URI", "voicemail")) {
        #    log(1, "HTK: callee user is in Voicemail Group ...\r\n");
        #    setbflag(4);
        #}

        if (!lookup("location")) {
        #    if(isflagset(2)) {
        #        # route to Asterisk Media Server
        #        rewritehostport("ASTERISKIP:5060");
        #        route(1);
        #    }
            route(2);
            exit;
        }

    } #End uri==myself

    #
    #
    #
    if (method=="INVITE") {
        t_on_failure("1");
    } else if (method=="BYE" || method=="CANCEL") {
        unforce_rtp_proxy();
    }

    #---------------------------------------------------------------------
    # LOOSE_ROUTE - INVITE - FORCE_RTP_PROXY
    #-----------------------------------------------------------------------
    if (loose_route()) {
        if (method=="INVITE" || method=="ACK") {
            append_hf("P-hint: HTK - LOOSE ROUTE - Relay re-INVITE +
FORCE_RTP_PROXY\r\n");
            force_rtp_proxy();
        }
        # t-relay()
        t_relay();
        exit;
    }

    #-----------------------------------------------------------------------
    #NAT - fix_nated_contact()

#------------------------------------------------------------------------
    if (nat_uac_test("19") && !search("^Record-Route:")) {
        append_hf("P-hint: HTK: Fix nated contact\r\n");
        force_rport();
        fix_nated_contact();
    }

    if (method=="INVITE") {
        append_hf("P-hint: HTK: INVITE go to on_reply_route[1]\r\n");
        t_on_reply("1");
    }

    if (method=="INVITE" || method=="ACK") {
        append_hf("P-hint: INVITE||ACK + FORCE_RTP_PROXY\r\n");
        force_rtp_proxy();
    }

    if (!t_relay()) {
        append_hf("P-hint: INVITE||ACK - UNFORCE_RTP_PROXY\r\n");
        if (method=="INVITE" || method=="ACK") {
            unforce_rtp_proxy();
        }
        sl_reply_error();
    }

    #04072009
    #if(is_method("INVITE") && !has_totag() && uri=~"sip:\*9") {
    #    append_hf("P-hint: HTK: Dial to listening to VM ... \r\n");
    #    route(2);
    #    exit;
    #}
    #End 04072009


    append_hf("P-hint: HTK: usrloc applied\r\n");


}

route[1] {
    append_hf("P-hint: Route[1] Processing\r\n");

    #04082009
    if (method=="INVITE") {
        t_on_failure("1");
    }
    #04082009

    if (!t_relay()) {
        sl_reply_error();
    }
}

onreply_route[1] {
    append_hf("P-hint: HTK: On_reply_route[1] processing\r\n");
    if (status=~"(180)|(183)|2[0-9][0-9]") {
        if (nat_uac_test("1")) {
            fix_nated_contact();
        }
        force_rtp_proxy();
    }
}

#-------------------------------
# Route 2 use to handle Unavailable user
#------------------------------
route[2] {
    if (!isbflagset(4) && method!="OPTIONS" && method!="ACK" &&
method!="BYE") {
        sl_send_reply("404", "HTK - no Voicemail Turn on ... \r\n");
        exit;
    }
    #forward to VoiceMail
    rewritehostport("ASTERISKIP:5060");
    route(1);
}
failure_route[1] {
    unforce_rtp_proxy();
    #No Answer
    if (t_check_status("408")) {
        append_hf("P-hint: HTK - 408 and route to VM ... \r\n");
        revert_uri();
        $ru = $avp(i:10);
        rewritehostport("ASTERISKIP:5060");
        xlog("HTK: Ruri=$ru\n");
        append_branch();
        log(1, "HTK: CALL TO VOICEMAIL ...");
        t_relay();
        #route(1);
        exit;
    #Busy
    } else if (t_check_status("486")) {
        append_hf("P-hint: HTK - 486 and route to VM ... \r\n");
        revert_uri();
        $ru = $avp(i:10);
        rewritehostport("ASTERISKIP:5060");
        append_branch();
        t_relay();
        #route(1);
        exit;
    }
}

===============LOGFILE OF OPENSIPS===============
interface: eth0 (174.132.45.16/255.255.255.248)
filter: (ip) and ( port 5060 )

U 118.69.139.66:21538 -> OPENSIPS_IP:5060
INVITE sip:3000 at OPENSIPS_IP SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:6000 at 118.69.139.66:21538>.
To: "3000"<sip:3000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 425.
.
v=0.
o=- 6 2 IN IP4 192.168.1.150.
s=CounterPath X-Lite 3.0.
c=IN IP4 192.168.1.150.
t=0 0.
m=audio 48192 RTP/AVP 107 119 100 106 0 105 98 8 3 101.
a=alt:1 1 : gbVHmzwd FPodLTLD 192.168.1.150 48192.
a=fmtp:101 0-15.
a=rtpmap:107 BV32/16000.
a=rtpmap:119 BV32-FEC/16000.
a=rtpmap:100 SPEEX/16000.
a=rtpmap:106 SPEEX-FEC/16000.
a=rtpmap:105 SPEEX-FEC/8000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:101 telephone-event/8000.
a=sendrecv.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 100 Giving a try.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538;received=118.69.139.66.
To: "3000"<sip:3000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
Server: OpenSIPS (1.4.5-notls (i386/linux)).
Content-Length: 0.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21198
INVITE sip:3000 at 118.69.139.66:21198;rinstance=cde698603c5f417a SIP/2.0.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Max-Forwards: 69.
Contact: <sip:6000 at 118.69.139.66:21538>.
To: "3000"<sip:3000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 443.
P-hint: HTK: Fix nated contact.
P-hint: HTK: INVITE go to on_reply_route[1].
P-hint: INVITE||ACK + FORCE_RTP_PROXY.
.
v=0.
o=- 6 2 IN IP4 192.168.1.150.
s=CounterPath X-Lite 3.0.
c=IN IP4 174.132.45.26.
t=0 0.
m=audio 41790 RTP/AVP 107 119 100 106 0 105 98 8 3 101.
a=alt:1 1 : gbVHmzwd FPodLTLD 192.168.1.150 48192.
a=fmtp:101 0-15.
a=rtpmap:107 BV32/16000.
a=rtpmap:119 BV32-FEC/16000.
a=rtpmap:100 SPEEX/16000.
a=rtpmap:106 SPEEX-FEC/16000.
a=rtpmap:105 SPEEX-FEC/8000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:101 telephone-event/8000.
a=sendrecv.
a=nortpproxy:yes.


U 118.69.139.66:21198 -> OPENSIPS_IP:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
To: "3000"<sip:3000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
Content-Length: 0.
.


U 118.69.139.66:21198 -> OPENSIPS_IP:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.
Contact: <sip:3000 at 118.69.139.66:21198;rinstance=cde698603c5f417a>.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=4b7c2d11.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 0.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.
Contact: <sip:3000 at 118.69.139.66:21198;rinstance=cde698603c5f417a>.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=4b7c2d11.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 0.
P-hint: HTK: On_reply_route[1] processing.
.


U 118.69.139.66:21538 -> OPENSIPS_IP:5060
REGISTER sip:OPENSIPS_IP SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-481184409d2d215f-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:6000 at 118.69.139.66:21538;rinstance=78ac80247e1fbe33>.
To: "6000"<sip:6000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=e145987e.
Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..
CSeq: 5 REGISTER.
Expires: 3600.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
User-Agent: X-Lite release 1100l stamp 47546.
Authorization: Digest
username="6000",realm="OPENSIPS_IP",nonce="49dc7b82000000003b87402cb8e806fb6d9e1c59ea461b93",uri="sip:OPENSIPS_IP",response="49d182024912dbdea882ea5f444baed5",algorithm=MD5.
Content-Length: 0.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 100 HTK: Trying.
.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-481184409d2d215f-1---d8754z-;rport=21538;received=118.69.139.66.
To: "6000"<sip:6000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=e145987e.
Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..
CSeq: 5 REGISTER.
Server: OpenSIPS (1.4.5-notls (i386/linux)).
Content-Length: 0.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-481184409d2d215f-1---d8754z-;rport=21538;received=118.69.139.66.
To: "6000"<sip:6000 at OPENSIPS_IP>;tag=8ed58e8cfe509175e1a2ba62a5c99654.da31.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=e145987e.
Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..
CSeq: 5 REGISTER.
WWW-Authenticate: Digest realm="OPENSIPS_IP",
nonce="49dc882c0000000003ba0866bfdec34bcbac7b42c7cd91a3", stale=true.
Server: OpenSIPS (1.4.5-notls (i386/linux)).
Content-Length: 0.
.


U 118.69.139.66:21538 -> OPENSIPS_IP:5060
REGISTER sip:OPENSIPS_IP SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-9c6efc773332742e-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:6000 at 118.69.139.66:21538;rinstance=78ac80247e1fbe33>.
To: "6000"<sip:6000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=e145987e.
Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..
CSeq: 6 REGISTER.
Expires: 3600.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
User-Agent: X-Lite release 1100l stamp 47546.
Authorization: Digest
username="6000",realm="OPENSIPS_IP",nonce="49dc882c0000000003ba0866bfdec34bcbac7b42c7cd91a3",uri="sip:OPENSIPS_IP",response="3f19e5c021794fd9dcca8d4b7875f455",algorithm=MD5.
Content-Length: 0.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 100 HTK: Trying.
.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-9c6efc773332742e-1---d8754z-;rport=21538;received=118.69.139.66.
To: "6000"<sip:6000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=e145987e.
Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..
CSeq: 6 REGISTER.
Server: OpenSIPS (1.4.5-notls (i386/linux)).
Content-Length: 0.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-9c6efc773332742e-1---d8754z-;rport=21538;received=118.69.139.66.
To: "6000"<sip:6000 at OPENSIPS_IP>;tag=8ed58e8cfe509175e1a2ba62a5c99654.df45.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=e145987e.
Call-ID: ODZhMjQ5OWNmYmNjYWU1OWM1NjE1YTcyODNkYTExMjU..
CSeq: 6 REGISTER.
Contact: <sip:6000 at 118.69.139.66:21538
;rinstance=78ac80247e1fbe33>;expires=3600;received="sip:118.69.139.66:21538
".
Server: OpenSIPS (1.4.5-notls (i386/linux)).
Content-Length: 0.
.


U 118.69.139.66:21198 -> OPENSIPS_IP:5060
.
.
..............

U 118.69.139.66:21538 -> OPENSIPS_IP:5060
.
.
..............

U OPENSIPS_IP:5060 -> ASTERISK_IP:5060
INVITE sip:3000 at ASTERISK_IP:5060 SIP/2.0.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Max-Forwards: 69.
Contact: <sip:6000 at 118.69.139.66:21538>.
To: "3000"<sip:3000 at OPENSIPS_IP>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 443.
P-hint: HTK: Fix nated contact.
P-hint: HTK: INVITE go to on_reply_route[1].
P-hint: INVITE||ACK + FORCE_RTP_PROXY.
P-hint: HTK - 408 and route to VM ... .
.
v=0.
o=- 6 2 IN IP4 192.168.1.150.
s=CounterPath X-Lite 3.0.
c=IN IP4 174.132.45.26.
t=0 0.
m=audio 41790 RTP/AVP 107 119 100 106 0 105 98 8 3 101.
a=alt:1 1 : gbVHmzwd FPodLTLD 192.168.1.150 48192.
a=fmtp:101 0-15.
a=rtpmap:107 BV32/16000.
a=rtpmap:119 BV32-FEC/16000.
a=rtpmap:100 SPEEX/16000.
a=rtpmap:106 SPEEX-FEC/16000.
a=rtpmap:105 SPEEX-FEC/8000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:101 telephone-event/8000.
a=sendrecv.
a=nortpproxy:yes.


U OPENSIPS_IP:5060 -> 118.69.139.66:21198
CANCEL sip:3000 at 118.69.139.66:21198;rinstance=cde698603c5f417a SIP/2.0.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
To: "3000"<sip:3000 at OPENSIPS_IP>.
CSeq: 1 CANCEL.
Max-Forwards: 70.
User-Agent: OpenSIPS (1.4.5-notls (i386/linux)).
Content-Length: 0.
.


U ASTERISK_IP:5060 -> OPENSIPS_IP:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP
OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
To: "3000"<sip:3000 at OPENSIPS_IP>.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:3000 at ASTERISK_IP>.
Content-Length: 0.
.


U ASTERISK_IP:5060 -> OPENSIPS_IP:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP
OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:3000 at ASTERISK_IP>.
Content-Length: 0.
.


U ASTERISK_IP:5060 -> OPENSIPS_IP:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:3000 at ASTERISK_IP>.
Content-Type: application/sdp.
Content-Length: 289.
.
v=0.
o=root 7049 7049 IN IP4 ASTERISK_IP.
s=session.
c=IN IP4 ASTERISK_IP.
t=0 0.
m=audio 19922 RTP/AVP 3 0 8 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:3000 at ASTERISK_IP>.
Content-Length: 0.
P-hint: HTK: On_reply_route[1] processing.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:3000 at ASTERISK_IP>.
Content-Type: application/sdp.
Content-Length: 289.
P-hint: HTK: On_reply_route[1] processing.
.
v=0.
o=root 7049 7049 IN IP4 ASTERISK_IP.
s=session.
c=IN IP4 ASTERISK_IP.
t=0 0.
m=audio 19922 RTP/AVP 3 0 8 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U 118.69.139.66:21198 -> OPENSIPS_IP:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.
Contact: <sip:3000 at 118.69.139.66:21198;rinstance=cde698603c5f417a>.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=4b7c2d11.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 CANCEL.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 0.
.


U 118.69.139.66:21198 -> OPENSIPS_IP:5060
SIP/2.0 487 Request Terminated.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=4b7c2d11.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 0.
.


U OPENSIPS_IP:5060 -> 118.69.139.66:21198
ACK sip:3000 at 118.69.139.66:21198;rinstance=cde698603c5f417a SIP/2.0.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.0.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=4b7c2d11.
CSeq: 1 ACK.
Max-Forwards: 70.
User-Agent: OpenSIPS (1.4.5-notls (i386/linux)).
Content-Length: 0.
.


U ASTERISK_IP:5060 -> OPENSIPS_IP:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.1;received=OPENSIPS_IP.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:3000 at ASTERISK_IP>.
Content-Type: application/sdp.
Content-Length: 289.
.
v=0.
o=root 7049 7049 IN IP4 ASTERISK_IP.
s=session.
c=IN IP4 ASTERISK_IP.
t=0 0.
m=audio 19922 RTP/AVP 3 0 8 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U OPENSIPS_IP:5060 -> 118.69.139.66:21538
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-7824577bf642b972-1---d8754z-;rport=21538.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:3000 at ASTERISK_IP>.
Content-Type: application/sdp.
Content-Length: 289.
P-hint: HTK: On_reply_route[1] processing.
.
v=0.
o=root 7049 7049 IN IP4 ASTERISK_IP.
s=session.
c=IN IP4 ASTERISK_IP.
t=0 0.
m=audio 19922 RTP/AVP 3 0 8 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U 118.69.139.66:21538 -> OPENSIPS_IP:5060
ACK sip:3000 at ASTERISK_IP SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.150:38192
;branch=z9hG4bK-d8754z-d73e644df657cb55-1---d8754z-;rport.
Max-Forwards: 70.
Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.
Contact: <sip:6000 at 118.69.139.66:21538>.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 ACK.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 0.
.

*
U OPENSIPS_IP:5060 -> ASTERISK_IP:5060
ACK sip:3000 at ASTERISK_IP SIP/2.0.
Record-Route: <sip:OPENSIPS_IP;lr=on;ftag=4d457d11>.
Via: SIP/2.0/UDP OPENSIPS_IP;branch=z9hG4bKe633.8cbbe42.3.
Via: SIP/2.0/UDP 192.168.1.150:38192
;received=118.69.139.66;branch=z9hG4bK-d8754z-d73e644df657cb55-1---d8754z-;rport=21538.
Max-Forwards: 69.
Route: <sip:OPENSIPS_IP;lr;ftag=4d457d11>.
Contact: <sip:6000 at 118.69.139.66:21538>.
To: "3000"<sip:3000 at OPENSIPS_IP>;tag=as4ed290a8.
From: "6000"<sip:6000 at OPENSIPS_IP>;tag=4d457d11.
Call-ID: MGYxMWViNzg0YzAwN2Y0YTBhYWQ2MjkwZDcxZTFiN2Q..
CSeq: 1 ACK.
User-Agent: X-Lite release 1100l stamp 47546.
Content-Length: 0.
P-hint: HTK: Outbound.
P-hint: Route[1] Processing.
.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090408/ae912c13/attachment-0001.htm 


More information about the Users mailing list