한국어

소프트스위치

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


1.6.1.  Push Notification
We use notify_on_event to capture the events on new contact registrations for callee. Once the call is sent to callee, based on the notification (for new contacts) we inject the newly registered contacts as new branches in the ongoing transaction.

Schematics : when we send a call to a user, we subscribe to see any new contacts being registered by the user. On such a notification, we add the new contact as a new branch to the ongoing transaction (ringing) to user.

Example 1.3. Push Notification script

...
route[route_to_user] {

    # prepare transaction for branch injection; it is mandatory
    # to create the transaction before the subscription, otherwise
    # the EBR module will not pass the transaction ID into the
    # notification route
    t_newtran();

    # keep the transaction alive (even if all branches will 
    # terminate) until the FR INVITE timer hits (we want to wait
    # for new possible contacts being registered)
    t_wait_for_new_branches();

    # subscribe to new contact registration event,
    # but for our callee only
    $avp(filter) = "aor="+$rU;
    notify_on_event("E_UL_CONTACT_INSERT",$avp(filter),
        "fork_call", 20);

    # fetch already registered contacts and relay if any
    if (lookup("location"))
        route(relay);
    # if there were no contacts available (so no branches 
    # created so far), the created transaction will still be 
    # waiting for new branches due to the usage of the 
    # t_wait_for_new_branches() function

    exit;
}

route[fork_call]
{
    xlog("user $avp(aor) registered a new "
        "contact $avp(uri), injecting\n");
    # take the contact described by the E_UL_CONTACT_INSERT
    # event and inject it as a new branch into the original
    # transaction
    t_inject_branches("event");
}
...
조회 수 :
9147
등록일 :
2023.07.29
03:56:03 (*.128.253.243)
엮인글 :
http://webs.co.kr/index.php?document_srl=3349448&act=trackback&key=4c3
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3349448
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
142 Problem with presence_xml module Opensips 1.9 admin 2014-03-06 51148
141 How to install OpenSIPS on CentOS debian module add xcap admin 2014-03-06 49538
140 MediaProxy Installation Guide admin 2014-03-06 186658
139 rtpproxy Module admin 2014-03-06 42645
138 OpenSIPS Control Panel install guide admin 2014-03-06 100761
137 OpenSIPS Control Panel (OCP) Installation Guide admin 2014-03-06 284575
136 Installing RTPproxy Start RTPproxy in Bridged mode very good admin 2014-03-07 107673
135 Building Telephony Systems with OpenSIPS 1.6 RTPProxy + OpenSIPS 1.7 admin 2014-03-07 44185
134 RTPproxy Frequentry Asked Questions (FAQ) ¶ admin 2014-03-07 179980
133 Using the openSIPS Registrant Module admin 2014-03-09 55513
132 Kamailo OpenSIPs installation on Debian admin 2014-03-09 87305
131 opensips-1.10.0_src.tar.gz experimental source code documentation admin 2014-03-09 41226
130 Where to check OpenSIPS does not start? admin 2014-03-09 46841
129 book-opensips-101 / content / 3.2. SIP TLS Secure Calling.mediawiki admin 2014-03-12 45858
128 The Impact of TLS on SIP Server Performance file admin 2014-03-12 45763
127 OpenSIPS configuration for 2 or more FreeSWITCH installs admin 2014-03-12 78663
126 Conference Support in Kamailio (OpenSER) admin 2014-03-12 90973
125 SIP PBX - OpenSIPS and Asterisk configuration admin 2014-03-12 169591
124 telepresence: Open Source SIP Telepresence/MCU admin 2014-03-12 188844
123 Ekiga (formely known as GnomeMeeting) is an open source SoftPhone admin 2014-03-12 45678
122 SIPSorcery admin 2014-03-18 47545
121 Video conference server OpenMCU-ru - Introduction admin 2014-04-01 58372
120 2013 2012년 분야별 최고의 오픈소스 소프트웨어 124선 admin 2014-04-05 67178
119 SigIMS IMS Platform admin 2014-05-24 41328
118 opensips 1.11.2 install guide good 인스톨 가이드 admin 2014-08-09 45640
117 fusionPBX install debian wheezy admin 2014-08-09 39397
116 opensips 1.11.2 install Good Giide admin 2014-08-09 67843
115 Installation and configuration process record opensips 1.9.1 admin 2014-08-09 97855
114 OpenSIPS Installation Notes admin 2014-08-09 48677
113 Opensips Installation, How to. Good guide wiki page admin 2014-08-10 37661