User GuidePorta SIP®PORTAONE®www.portaone.comMaintenance Release1010
Porta SIPSystem Concepts The called party is not online SIP phone AUnified MessagingSIP phone BOffline orNot Answering167823 45Porta SIPPorta UMPorta
Porta SIPSystem Concepts • The SIP server performs a number lookup in the billing (2). It finds that this number does not belong to any SIP accounts
Porta SIPSystem Concepts • After the call is completed, the B2BUA sends accounting information for the call to the billing. Terminating SIP calls to
Porta SIPSystem Concepts carries other useful information – for example, through which telephony port the call was terminated. PSTN -> SIP PSTNSI
Porta SIPSystem Concepts NOTE: The gateway cannot make this call “on behalf” of A, since even if we know A’s account ID, we do not know A’s password;
Porta SIPSystem Concepts • C wishes to call A. So he dials A’s phone number (since C is in the US, he dials it using the North American format, 2027
Porta SIPSystem Concepts Service announcements via the media server A customer might be unable to make a call not only due to network problems, but a
Porta SIPSystem Concepts Understanding SIP Call Routing When the PortaSIP server has to establish an outgoing call, it must find out where the call i
Porta SIPSystem Concepts This allows you to easily manage both termination costs and routing from a single location on the web interface. Thus, when
Porta SIPSystem Concepts • This list will be sorted according to routing plan, routing preference and cost; entries after the first huntstop will be
Porta SIPPortaSIP User Guide Copyright notice & disclaimers Copyright (c) 2000-2006 PortaOne, Inc. All rights reserved. PortaSIP User Guide V.1.
Porta SIPSystem Concepts a. 4202, Cheap, 7, 0.04 b. 420, Default, 5, 0.06 c. 420, Cheap, 6, 0.03 d. 420, Cheap, 6, 0.025 e. 420, Expensive, 5, 0
Porta SIPSystem Concepts number for local calls. Customer-based translation rules allow you to convert a number from a format specific to this partic
Porta SIPSystem Concepts Porta Billing100Porta SIPLOOKUP004202123456742021234567ROUTING42021234567Carrier A;IP address 1.2.3.401142021234567Number in
Porta SIPSystem Concepts Routing of SIP On-net Calls The SIP server automatically maintains information about all currently registered SIP user agen
Porta SIPSystem Concepts information to and receive it from hosts on the WAN. This is done with the help of the NAT server, which is connected to the
Porta SIPSystem Concepts will be established without difficulty. Unfortunately, there are no formal rules that can be applied to ensure correct opera
Porta SIPSystem Concepts IP that it identifies as the source of the SIP message, or a client that is aware of its external mapped address and port an
Porta SIPSystem Concepts to another, there is no such simple and universal NAT traversal solution. There are 3 ways of dealing with this problem: 1.
Porta SIPSystem Concepts servers (AKA routers) which always try to preserve the original source port number when forwarding traffic from the external
Porta SIPSetting up SIP Services 2 SIP Interface PDF file: www.portaone.com/resources/documentation/ for detailed instructions on h
Porta SIPPortaSIP User Guide Table of Contents Preface...
Porta SIPSetting up SIP Services Initial Configuration of PortaBilling The following steps are normally performed only once, after the system is inst
Porta SIPSetting up SIP Services requires different types of prefixes, so please check the data in the file before uploading. Creating destinations “
Porta SIPSetting up SIP Services 3. Open this file in Microsoft Excel or any other suitable program. Edit the data if necessary. 4. Save the file a
Porta SIPSetting up SIP Services Create Nodes Now you have to enter your SIP server (and, optionally, other gateways) as nodes. PortaBilling requires
Porta SIPSetting up SIP Services 1. In the management section of the Admin-Index page, choose Nodes. 2. In the Node management window, click the
Porta SIPSetting up SIP Services 5. Repeat steps 2-4 for any additional gateways you may have. Use VOIP-GW as the node type. NOTE: There is some pro
Porta SIPSetting up SIP Services 1. In the Management section of the Admin-Index page, choose Tariffs. 2. On the Tariff Management page, choose
Porta SIPSetting up SIP Services o Off-Peak Description – a description of the off-peak period, automatically filled in by the off-peak period wizar
Porta SIPSetting up SIP Services 1. On the Tariff Management page you will see a list of the available tariffs. Click the Rates icon next to th
Porta SIPSetting up SIP Services o Off-peak Price Next – per minute price for next interval for off-peak time NOTE: Off-peak fields appear only if a
Porta SIPPortaSIP User Guide Preface This document provides PortaBilling100 users with the most common examples and guidelines for setting up a VoIP
Porta SIPSetting up SIP Services 2. In the Edit Tariff window, move the mouse over the Download button and hold it there until a popup menu appears.
Porta SIPSetting up SIP Services 10. Close the file in Excel. If you performed step 6, then disregard the message “Do you want to save the changes yo
Porta SIPSetting up SIP Services Create Product Accounts for accessing your SIP services will be issued for a specific product. Products are a power
Porta SIPSetting up SIP Services In the Management section of the Admin-Index page, choose Products. 1. On the Product Management page, click the
Porta SIPSetting up SIP Services 1. In the Management sec2. On the Vendor Managetion of the admin interface, choose Vendors. ment page, choose Add
Porta SIPSetting up SIP Services o Time zone – time zone, which vendor uses for his billing period. Statistics will be split between the periods in
Porta SIPSetting up SIP Services . Choose the type of connection (PSTN to Vendor, VoIP to Vendor, etc.) by clicking on the corresponding tab. 4.
Porta SIPSetting up SIP Services Addo : t y] inclusive, sent on the 1st; - Monthly – [1-last day] inclusive, sent on the 1st of the Paymeo s cus
Porta SIPSetting up SIP Services 4. Click Ss 1. G tcust ave&Close. Create Accounto o the Customers screen (the one containing the list of o
Porta SIPSetting up SIP Services o Credit limit – For a credit account, specify the credit limit. If you leave this field empty, it means there is n
Porta SIPPortaSIP User Guide Hardware and Software Requirements Server System Recommendations One UNIX Server. A minimum of 40 GB of available
Porta SIPSetting up SIP Services Se(op ioIt co form . VoIP as easy as possible, he requires that his users should be able to dial e phone number in
Porta SIPSetting up SIP Services Set Up Abbreviated Dialing for the Custom(optional) er If your customer has multiple SIP accounts, and plans to make
Porta SIPSetting up SIP Services Configure Cisco ATA Using ATA Expert (optional) Cisco ATA could be configured from the web interface accessi
Porta SIPSetting up SIP Services However, this complicated way of entering the parameters makes it virtually impossible for end-users to employ. F
Porta SIPSetting up SIP Services 4. Press Save to save the new configuration to the ATA. 2. Configure your SIP user agent with the account ID
Porta SIPSetting up SIP Services o Go to the account info page for this account, and check that the User Agent and Contact fields contain some val
Porta SIPSetting up SIP Services a=rtpmap:2 G726-32/8000 a=rtpmap:97 G726-24/8000 a=rtpmap:98 G726-16/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:1
Porta SIPSetting up SIP Services 11 Mar 07:50:10/[email protected]/ser: got complete number I :10/GLOBAL/ser: SENT message to 216.232.84
Porta SIPSetting up SIP Services RADIUS server replies with the authorization confirmation 11 Mar 07:50:10/[email protected]/b2bua: AAA
Porta SIPSetting up SIP Services Vendor's gateway sends another provisional response, informing that the in-band alerting (usually a ring-back t
Porta SIPSystem Concepts 1 System Concepts .(c) 2000-2006 PortaOne, Inc. All rights reserved. www.portaone.com 5
Porta SIPSetting up SIP Services Record-Route: <sip:[email protected];lr> Contact: <sip:[email protected]: app
Porta SIPSetting up SIP Services Authorization: Digest username="160452152773",realm="216.232.84.32",nonce="40508bdd65e380a6
Porta SIPSetting up SIP Services h323-call-origin = 'answer' h23-session-protocol = 'sipv2' h323-conf-id
Porta SIPSetting up SIP Services PortaBilling receives the LOOKUP request Thu 11 07:50:10: Processing request: NAS-IP-Address = '216.2
Porta SIPSetting up SIP Services Thu 11 07:50:10: Result routes for 380675028490: 'Apollo via SIP' - VoIP to the remote GW 76.104.1
Porta SIPSetting up SIP Services 64h323-disconnect-cause = '10' h323-voice-quality = '0' h323-conf-id = &apos
Porta SIPSetting up SIP Services Login with the account’s web access login and password. After that, you e a list of calls, and press r fees, will
Porta SIPSetting up SIP Services Click Trace a Call. The advantage of this method: you may view all the call attempts, including unsuccessful cal
Porta SIPHow to ... 3. How to ... (c) 2000-2006 PortaOne, Inc. All rights reserved. www.portaone.com 67
Porta SIPHow to ... … configure my Cisco gateway to accept incoming SIP calls and terminate them to a telephony network? onfiguration of the Cisco ga
Porta SIPSystem Concepts PortaSIP’s Role in Your VoIP Network SIP phoneSIP phoneRouterATA186SoftPhoneSoftPhoneRouterNATITSP'sNetworkNATRadius, A
Porta SIPHow to ... Note that this gateway provides no authentication of incoming SIP calls, so that potentially anyone could route calls to you from
Porta SIPHow to ... session target sip-server ! You probably will need an application on the incoming telephony dial-… support incoming H323 and SI
Porta SIPHow to ... account ID identical to the IP address of his gateway. Authentication and ing will be done in the same way as IP-based billing us
Porta SIPHow to ... • IP address of the SIP proxy - IP address or hostname of the PortaSIP server. • CID (Caller Identification). n your network wi
Porta SIPHow to ... • Install a PSTN2SIP application on your Cisco gateway which handles incoming PSTN calls. ith the desired rates. For example, if
Porta SIPTroubleshooting/FAQ 4. Troubleshooting/FAQ (c) 2000-2006 PortaOne, Inc. All rights reserved. www.portaone.com 74
Porta SIPTroubleshooting/FAQ Common Problems o or one-way audio during SIP Phone – SIP Phone calls his problem usually means that one or both phones
Porta SIPTroubleshooting/FAQ problem, the ID of the account being used for testing, and the f the sip.log and porta-billing.log FAQ Since 3-way calli
Porta SIPTroubleshooting/FAQ Yes, thi operatin only covers PortaSIP/FreeBSD installation to a clean server using the CD provided by Porta. Once you
Porta SIPTroubleshooting/FAQ In Appendix E, there are details on how to configure Cisco IOS and Cisco ATA 186; for other SIP phones or gateways, chec
Porta SIPSystem Concepts PortaSIP Components Back-To-Back User Agent (B2BUA Vovida)SIP Express Router (SER)PortaRTPProxyMediaServerRADIUSClientRADIUS
Porta SIPTroubleshooting/FAQ parameters of the Radius stack used by the Proxy to communicate witthe billing engine. The following parameters can be
Porta SIPTroubleshooting/FAQ $ sudo /usr/local/erc/rc.d/sip.sh start above runn NOTE: Please always make sure that you have stopped service
Porta SIPAppendices 5. Appendices (c) 2000-2006 PortaOne, Inc. All rights reserved. www.portaone.com 81
Porta SIPAppendices APPENDIX A. Tested Routers and NAT Software ommodity routers and NAT software bundled with popular operating stems, which attempt
Porta SIPAppendices GkId . UseSIP 1 SIPRegInterval 180 MaxRedirect 5 SIPRegOn 1 NATIP 0.0.0.0 SIPPort 5060 MediaPort [D THE SETUP GUIDELINES] IFFERE
Porta SIPAppendices 1. Start Windows Messenger, and select “Options…” from the “Tools” menu 2. Check the “My contacts include users of a SIP Co
Porta SIPAppendices r io 3. Click the “Configure settings” radio button and enter the “Servename of IP address” using either the IP address of th
Porta SIPAppendices account as the “User Name” and the appropriate account password as the “Password”, then click OK. You should now see your status
Porta SIPAppendices APPENDIX E. Setting up back-to-back T1/E1 connection Hardware Setup In order to make one or more back-to-back connections, you wi
Porta SIPAppendices Software Configuration You also have to configure the T1/E1 interfaces. The sample 1; adjust the time slots for E1: isdn switch-t
Porta SIPSystem Concepts Call Process / Supported Services SIP UA <--> SIP UA An example: a customer purchases our VoIP services, and two of hi
Comentarios a estos manuales