Scanner Pattern...please help

Hi everybody....I?m new to Java and having some problems....
this is my Program ( I didn't finish all of it)
import java.util.Scanner;
public class Winkel
     //Attribute
     int grad;
     int minuten;
     double sekunden;
     //Konstruktoren
     public Winkel(int g,int m,double s)
          this.grad=g;
          this.minuten=m;
          this.sekunden=s;
     public Winkel(int g,int m)
          this.grad=g;
          this.minuten=m;
     public Winkel(int g)
          this.grad=g;
     public Winkel()
          this.grad=0;
     public Winkel(String str)
          Scanner s = new Scanner(str).useDelimiter("[◦ ?\"]");
          this.grad = s.nextInt();
          this.minuten = s.nextInt();
/*          this.sekunden=sc.nextDouble();*/
     public void setze(int g,int m,double s)
          grad=g;
          minuten=m;
          sekunden=s;
     public double alsDouble()
          return (double)this.grad;
     public static void main(String argv[])
          Winkel w=new Winkel("5? 7' 8\" ");
          System.out.println(w.alsDouble());
when I try to compile it i get this fehler
ymnrad@ymnrad:~/Desktop> java Winkel
Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:817)
at java.util.Scanner.next(Scanner.java:1431)
at java.util.Scanner.nextInt(Scanner.java:2040)
at java.util.Scanner.nextInt(Scanner.java:2000)
at Winkel.<init>(Winkel.java:36)
at Winkel.main(Winkel.java:56)
where is my mistake .......can u plz help me...

Ymnrad wrote:
Ok, I tried what u said but the answer I got was the first element ( 5) and I didnt get the next one??
Scanner s = new Scanner("5? 7' 8\" ").useDelimiter("[\\D]+");
while(s.hasNextInt()) System.out.println(s.nextInt());
{code}
Details:
[http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Scanner unreachable please help me!! :-)

    Hello,
    I have a Windows 8 system and HP LaserJet 200 Color MPF M276 printer. All of a sudden the printer will not scan documents, but it will print and copy documents just fine. This is the error message I get when trying to print:
    "Scanner communication cannot be established. Ensure your product is powered on, check the connection, and ensure your networkis functioning properly. If these conditions are correct, restart the product and try scanning again.
    If you installed this printer by IP address, then you might need to update the UP address. Use the Update IP Address item in the Start menue entry for this printer.
    If you are running firewall software, it may be blocking scan communication. Please visit .... to congigure your firewall."
    Please help! Thank you so much!

    Hi @ashneedshphelp ,
    I see that you are getting a communication error when trying to scan. I will certainly do my best to help you.
    You can always restore your computer back to a earlier time when everything was working properly.
    How to refresh, reset, or restore your PC on Windows 8.
    If you would prefer not to do the System Restore, download and run the Print and Scan Doctor. It will diagnose the issue and might automatically resolve it. Find and fix common printer problems using HP diagnostic tools for Windows?
    Check the Windows Image Acquisition (WIA) services:
    Click the Windows icon (), type services.msc in the Search programs and files box, and then click the services.msc link under Programs. If prompted, click Yes.
    In the Services window, right-click Windows Image Acquisition (WIA) service, and then click Properties.
    Click the Dependencies tab.
    Make sure that Remote Procedure Call (RPC) and Shell Hardware Detection are listed, and then close the Properties window.
    In the main Services window, make sure that Remote Procedure Call (RPC) and Shell Hardware Detection show as Started in the Status column. If they do not, continue to the next step to start the service.
    In the Services window, right-click Windows Image Acquisition.
    If the option to start the service is available, click Start.
    If the option to stop the service is available, click Stop. When the service stops, right-click Windows Image Acquisition (WIA) again, and then start the service.
    Close the Services window.
    You might have to configure the firewall.
    Configuring a Firewall to Allow a Connection with the All-in-One in Windows.
    Try and scan again.
    What were the results when you ran the Print and Scan Doctor? (did it print or scan, any error messages)
    How is the printer connected? (USB/Ethernet/Wireless)
    If you need further assistance, just let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Scanner Unreachable PLEASE HELP

    I am trying to scan something but he gives me this error :
    "Scanner communication cannot be established.  Ensure your product is powered on, check the connection, and ensure your network is functioning properly.  If these conditions are correct, restart the product and try scanning again.
    If you installed this printed by IP address, then you might need to update the IP address.  Use the Update IP Address item in the Start menu entry for this printer.
    If you are running firewall software, it may be blocking scan communication.  Please visitwww.hp.com/go/wirelessprinting for help configuring your firewall."
    I have windows 8.1 64 bit and that link hp.com/go/wirelessprinting is broken and also the print and scan doctor is broken.
    Before this,the scan function was working fine and now is not working too, I can only use the print function  wich is working good.I do not have problems with the cables or something else, i`ve checked an re-checked all the wires and restarted the printer several times, I want to say that I am not using and I never used the wireless connection.
    Thanks!

    Hi @RazvanE39,
    Welcome to the HP Forums!
    I noticed that you are getting the "scanner communication cannot be established," error with your HP Deskjet 2050 running on Windows 8.1. I am sorry to hear this, but happy to help!  
    I would recommend to go through the steps indicated in this guide, HP Scan Software Does Not Open or Scan on a Printer Using a USB Connection in Windows. You can also get the HP Print and Scan Doctor at this link. HP Print and Scan Doctor for Windows.
    Hope this helps, and have a great day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Problem with horizontal scroll navigation pattern, please help

    Hello,
    I am trying to create navigation pattern for portfolio website which features horizontal scroll.
    Here is a draft of what im trying to achieve:
    Home
    As you can see it's built based on containers - in every one there will be three photos and as you scroll down the page, the containers go left and you experience horizontal scrolling
    The problem I am currently facing is this:
    On a 1920x1200 resolution when you are scrolling down (starting from the top of the page), the first container (in the beginning) is in fact going left as I want it to, but at certain point (when it's just a little bit behind page margin) it just disappears. I would like to have the effect of container "traveling" out of view area naturally, so that when u are looking at a second container you could still see the first one and the third one.
    In other words I would like these containers to leave the screen in the same way they appear - smooth motion, not the sudden disappear...
    What am I doing wrong ?
    If I recreate same draft but without using muse widgets for containers (instead I use for example single image) it works OK.
    Also I noticed, that if the container is more narrow, the effect doesnt occur - like last conatiner in the exaple, it travels the way I want it to.
    Thank you for any advice.
    Filip

    Please help, still no solution found...

  • Xerox Phaser 6121MFP: Can not set up scanner..Please help

    Hi
    I am trying to set up scan function from Xerox Phaser 6121MFP to iMac runing Lion 10.7.2. I have managed to set up the printing but just cant set up the scan funtions. I have downloaded and installed drivers for 10.7 from xerox website.
    I have downloaded vuescan and that says no scanner connected when I open it and Image capture says no device connected.
    I am new to iMac so please be gentle with the instructions!
    Thanks in advance.

    Hi
    I am trying to set up scan function from Xerox Phaser 6121MFP to iMac runing Lion 10.7.2. I have managed to set up the printing but just cant set up the scan funtions. I have downloaded and installed drivers for 10.7 from xerox website.
    I have downloaded vuescan and that says no scanner connected when I open it and Image capture says no device connected.
    I am new to iMac so please be gentle with the instructions!
    Thanks in advance.

  • Need driver for canon mg 5250 as scanner is not working with version 10.7. Can you please help me to find the driver so scanner works with WIFI?

    need driver for canon mg 5250 as scanner is not working with version 10.7. Lion. Can you please help me to find the driver so scanner works with WIFI?

    Try with the latest Apple driver package for Canon (released 15th Feb):
    http://support.apple.com/kb/DL899
    This solved my problem with the printing.

  • Please help me install Pattern Maker?

    Hi,
    At this url:
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=4687&fileID=4377
    I am trying to download the plugin:
    CS5_Optional_PlugIns_Installer.dmg
    The files included are:
    CS5 Optional Extension Plug-Ins.mxp
    and
    CS5 Optional Plugins.mxp
    When I attempt to install either of these two files, I get the following error message:
    I’m attempting to place the installs into the Applications> Photoshop CS5 > Plugins > Optional Plugins
    I'm on a Mac OS 10.6.5
    What am I doing wrong?
    Thank you so much in advance.
    Linda

    Hi Linda,
    Sorry if I confused, but I just want to make sure that you don't have all the Optional Extensions installed and enabled (as fallout from trying to get Pattern Maker working). There are two .mxp files and you mentioned trying to install both of them. I haven't seen the actual error you get, so to be safe, I'm suggesting that you make sure to disable all the Optional Extensions (and likely all the optional plug-ins that you don't need too). The installers are/were all or nothing (I'm not sure if the installer .mxp for Optional Extensions has been removed yet).
    The quickest way to uninstall is using the CS5 Service Manager application (IF it is working correctly). The quickest way to tell if they are installed is probably to look in this folder: Adobe Photoshop CS5/Plug-Ins/Extensions.
    There should only be 5 there by default: Enable Async IO, FastCore, MMXCore, MultiProcessor Support, and ScriptingSupport.
    Let me know if you still have  questions,
    regards,
    steve
    Linda1234567 wrote:
    Okay, now I have no idea what you're talking about!  pattern maker is working.  Can't I just leave well enough alone?:-)Linda
    Date: Wed, 29 Dec 2010 17:37:09 -0700
    From: [email protected]
    To: [email protected]
    Subject: Photoshop Macintosh Please help me install Pattern Maker?
    Hi Linda,
    If you installed the Optional Extensions Plug-Ins.mxp you'll want to uninstall all of them (or disable them and only enable individual ones that are needed). To uninstall, use the CS5 Extension Manager. To disable them, individually rename each with a tilde(~) as the first character.
    regards,
    steve
    >

  • Hp PSC 2355 scanner wont work on MacBook Pro!! Please help!!

    I have an Hp PSC 2355 printer, copier and scanner. I can print and copy however i cannot scan anything. Even though i installed the CD, my computer refuses to find the printer. I've tried connecting the USB and then scanning for the USB but it doesnt work. Please help !!!thanks

    this happened to mine also. i have an HP Photosmart C4280 and it did everything but scan. Kappy is right. i had to go to the HP website and download the updated drivers. just find your type of scanner on their site and there should be updated drivers to download.

  • Hi.Since I upgraded to Maverick my scanner which is Fuji Xerox Docuprint CM205 fw could not be used for scanning as mac wouldn't find the scanner.Can anyone help please?

    Hi.Since I upgraded to Maverick my scanner which is Fuji Xerox Docuprint CM205 fw could not be used for scanning as mac wouldn't find the scanner.Can anyone help please?

    There's an alternative ...
    Using Image Capture as a scanner:
    Connect the scanner to your Mac whether Wi-Fi or USB.
    Launch Image Capture.
    Click the very small black box bottom right side of the Image Capture window.
    You'll see this pop up menu:   Connecting this (device) opens:
    You can select a default app to scan (Image Capture) and select a folder from the Imort To pop up menu on the right to save scanned files to.

  • The Scripted Pattern Fill for "Tree" is missing - the others are there.  What happened?  Please help.

    When I go to Edit > Fill and choose "Pattern".  I check the "Script: box and click the drop-down arrow.  The following display:  Brick Fill / Cross Weave / Place Along Path / Random Fill / Spiral /
    Symmetry Fill ------ but NOT Tree.
    What is wrong?  I've reset everything - still no Tree.
    Please help.
    Thank you

    Silkrooster - you did the job !   Thank you so very much.
    Of course, this brings me to another question if you don't mind answering.  Is there some place I can look when updates come up in Cloud for me to "update" that I can read about each change?  I see this sort of situation happens often for me and I would like to be able to try to find answers on my own instead of asking each time.  (This way, I'd help myself learn the program too.)  I know you have an online manual - but the content is not alphabetized which makes it very time-consuming to sift through. 
    I am seriously deficient in "tech" type stuff and a simple, alphabetized content somewhere would be so very much help.  Maybe you have it and I just don't know where to look.
    Thanks again for telling me about the Tree pattern being moved.  YEAH !!

  • When I try to create pdf from scanner, Acrobat shuts down, please help!!

    When I try to create pdf from scanner, Acrobat shuts down, please help!!

    Hi miketayber,
    We would love to help, but need to know a bit more to get to the root of the problem. Please tell us:
    What version of Acrobat are you using
    What operating system you're on
    Whether you've been able to scan previously
    What you're scanning to (do you have the latest drivers?)
    Is there an error message or number associated with the crash?
    We look forward to hearing back from you.
    Best,
    Sara

  • When I connect my iphone 3gs to my desktop it is not charging and showing nothing. The computer is not giving any signal that I've connected my iphone to it. Please help me out how to fix it. I did the scanner and camera wizard but its of no use.

    Please help me out and give me best solution to this weird problem

    bubblesblom wrote:
    Okay, so my friends think it is funny to change the passcode on my iPhone.
    Maybe you should get new friends.
    I'm not sure that recovery mode works when you have to trust the computer, but did you try it?
    If you can't update or restore your iOS device - Apple Support
    If that won't work, perhaps you can use Find my iPhone from a computer in your iCloud.com account to erase the device.
    iCloud: Erase your device - Apple Support
    This has nothing to do with the Find my iPhone app being installed on the phone, but you do have to have Find my iPhone activated in the iCloud settings on the phone.

  • 5 days old iPhone 5 iOS 6.1.4 battery life please help

    My phone is 5 days old and i am so fed up with battery life. I disabled all data settings and location services and i have nothing in notification center for any push notification. But still i lost 40% of the battery in half a day with just 5 mins of voice call and 15 mins of texting. Phone was idle the rest of the time and when i used i had brightness at around just 10-15% this is my first iPhone and totally disappointed as i saw battery to last a full day of normal usage in the internet. I am totally fed up with apple. What should i do now ? I am a student and invested an year's savings of mine to get this phone. I am totally fed up. Someone please help me.

    You have to tell us what your usage pattern is like, what your reception/signal strength is, and what network type you are using (E/3G/4G/LTE)
    To note, the more the screen is on (in long intervals 2+ minutes) the shorter the battery life is.
    Streaming music over 3G will last 6 hours if the screen stays off for most of that time.
    Email, messages, web browsing will last most of the day.
    Since you have GSM, your phone should last 10 hours with light usage.

  • Please help with SIP configuration on 2801 router

    Hi All.
    Please help me to setup a SIP account. I’m already struggling to do that for a few days, and can’t find out how to finish that. We have 2xISDN lines running, so I need to add a SIP trunk to existing config.
    The information from our SIP provider:
    We have issued the following DDI range: 018877000 – 99
    There is no need to register the DDI’s as these will be offered to your PABX IP address provided to in the completed SIP trunking form.
    Configuration details are as follows:
    Our Primary Proxy:-        99.234.56.78
    Codec supported:-             G711Alaw, G729 (G711Alaw is the preferred codec)
    Fax Support:-                     T38 and G711Alaw
    DTMF:-                                 RFC2833 and INFO
    CLI Method:-                     Remote-Party-ID
    Trunk doesn’t require registration; you just need to send Invite. In cisco this is done through Dial-peer session-target command. We are authenticating your IP address for outgoing calls and incoming calls we then forward to the IP mentioned in the sip form.
    This is a SIP configuration on Cisco2801 router (I used outgoing calls only):
    translation-rule 10
    Rule 0 ^90 0
    Rule 1 ^91 1
    Rule 2 ^92 2
    Rule 3 ^93 3
    Rule 4 ^94 4
    Rule 5 ^95 5
    Rule 6 ^96 6
    Rule 7 ^97 7
    Rule 8 ^98 8
    Rule 9 ^99 9
    interface FastEthernet0/0.1
    description ***DATA VLAN***
    encapsulation dot1Q 1 native
    ip address 10.1.1.101 255.255.255.0
    interface FastEthernet0/0.2
    description ***VOICE VLAN***
    encapsulation dot1Q 2
    ip address 192.168.22.1 255.255.255.0
    voice service voip
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    supplementary-service h450.12
    h323
      call start slow
    sip
      bind control source-interface FastEthernet0/0.2
      bind media source-interface FastEthernet0/0.2
      registrar server expires max 36000 min 600
    voice class codec 1
    codec preference 1 g729r8
    codec preference 2 g711ulaw
    codec preference 3 g711alaw
    dial-peer voice 1 pots
    description ### External Dialling via BRI ###
    preference 7
    destination-pattern 9T
    translate-outgoing called 10
    direct-inward-dial
    port 0/0/0
    forward-digits all
    dial-peer voice 2 pots
    description ### External Dialling via BRI ###
    preference 2
    destination-pattern 9T
    translate-outgoing called 10
    direct-inward-dial
    port 0/0/1
    forward-digits all
    dial-peer voice 9000 voip
    description ** Outgoing calls to SIP **
    preference 1
    destination-pattern 9T
    voice-class sip dtmf-relay force rtp-nte
    session protocol sipv2
    session target ipv4:99.234.56.78:5060
    dtmf-relay rtp-nte
    codec g711alaw
    no vad
    sip-ua
    timers connect 100
    sip-server ipv4:99.234.56.78
    I used debugging commands to troubleshoot the calls.
    2801(config-dial-peer)#
    094509: Jan 24 09:27:06.204: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=211, Called Number=, Voice-Interface=0x65FA35B4,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    094510: Jan 24 09:27:06.204: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20018
    094511: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9, Peer Info Type=DIALPEER_INFO_SPEECH
    094512: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9
    094513: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094514: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094515: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90, Peer Info Type=DIALPEER_INFO_SPEECH
    094516: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90
    094517: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094518: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094519: Jan 24 09:27:06.912: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=908, Peer Info Type=DIALPEER_INFO_SPEECH
    094520: Jan 24 09:27:06.912: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=908
    094521: Jan 24 09:27:06.916: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094522: Jan 24 09:27:06.916: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094523: Jan 24 09:27:07.012: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9086, Peer Info Type=DIALPEER_INFO_SPEECH
    094524: Jan 24 09:27:07.012: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9086
    094525: Jan 24 09:27:07.016: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094526: Jan 24 09:27:07.016: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094527: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862, Peer Info Type=DIALPEER_INFO_SPEECH
    094528: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862
    094529: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094530: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094531: Jan 24 09:27:07.212: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=908621, Peer Info Type=DIALPEER_INFO_SPEECH
    094532: Jan 24 09:27:07.212: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=908621
    094533: Jan 24 09:27:07.216: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094534: Jan 24 09:27:07.216: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094535: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9086215, Peer Info Type=DIALPEER_INFO_SPEECH
    094536: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9086215
    094537: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094538: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094539: Jan 24 09:27:07.412: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157, Peer Info Type=DIALPEER_INFO_SPEECH
    094540: Jan 24 09:27:07.412: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157
    094541: Jan 24 09:27:07.416: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094542: Jan 24 09:27:07.416: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094543: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=908621577, Peer Info Type=DIALPEER_INFO_SPEECH
    094544: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=908621577
    094545: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094546: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094547: Jan 24 09:27:07.612: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9086215777, Peer Info Type=DIALPEER_INFO_SPEECH
    094548: Jan 24 09:27:07.612: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9086215777
    094549: Jan 24 09:27:07.616: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094550: Jan 24 09:27:07.616: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094551: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    094552: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    094553: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094554: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094555: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774T, Peer Info Type=DIALPEER_INFO_SPEECH
    094556: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774T
    094557: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    094558: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    094559: Jan 24 09:27:10.711: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=90862157774, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    094560: Jan 24 09:27:10.711: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    094561: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    094562: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    094563: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=90862157774, Called Number=, Voice-Interface=0x0,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    094564: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=9000
    094565: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    094566: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    094567: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    094568: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    094569: Jan 24 09:27:10.719: fb_get_reject_cause_code: ERROR cause_code NULL
    094570: Jan 24 09:27:10.727: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam " <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam " <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:10 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397230
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    094571: Jan 24 09:27:11.227: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam" <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam " <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:11 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397231
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    094572: Jan 24 09:27:12.227: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam " <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam " <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:12 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397232
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    094573: Jan 24 09:27:14.227: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam" <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam" <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:14 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397234
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    I made some changes in the router configuration.
    I removed FA0/0.2 Voice interface from Voice service voip configuration (bind control source-interface FastEthernet0/0.2 and bind media source-interface FastEthernet0/0.2). And now it’s using ip address 10.1.1.101 (data ip).
    The debugging is changed now. I can send and receive a respond from SIP server. But  It shows an error: SIP/2.0 404 Not Found
    Then it moves to ISDN line, and use this line to make a call.
    102988: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774T, Peer Info Type=DIALPEER_INFO_SPEECH
    102989: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774T
    102990: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    102991: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    102992: Jan 24 14:45:47.290: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=90862157774, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    102993: Jan 24 14:45:47.290: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    102994: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    102995: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    102996: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=90862157774, Called Number=, Voice-Interface=0x0,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    102997: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=9000
    102998: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    102999: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    103000: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    103001: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    103002: Jan 24 14:45:47.298: fb_get_reject_cause_code: ERROR cause_code NULL
    103003: Jan 24 14:45:47.310: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK4875CB9
    Remote-Party-ID: "Sam" <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Seam" <sip:[email protected]>;tag=CEF37490-172C
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 14:45:47 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 3989446920-1171263969-2466545983-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327416347
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 2438 9821 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 19412 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    103004: Jan 24 14:45:47.354: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 404 Not Found
    From: "Sam "<sip:[email protected]>;tag=CEF37490-172C
    To: <sip:[email protected]>;tag=7fad61f03708-100007f-13c4-55013-a0142-10fd12c8-a0142
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Via: SIP/2.0/UDP 10.1.1.101:5060;received=88.99.77.44;branch=z9hG4bK4875CB9
    Content-Length: 0
    103005: Jan 24 14:45:47.362: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK4875CB9
    From: "Sam " <sip:[email protected]>;tag=CEF37490-172C
    To: <sip:[email protected]>;tag=7fad61f03708-100007f-13c4-55013-a0142-10fd12c8-a0142
    Date: Tue, 24 Jan 2012 14:45:47 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    103006: Jan 24 14:45:47.374: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0/0/1, TEI 96 changed to up
    103007: Jan 24 14:45:51.313: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=211, Peer Info Type=DIALPEER_INFO_SPEECH
    103008: Jan 24 14:45:51.313: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=211
    103009: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    103010: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=20018
    103011: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=0862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    103012: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=0862157774
    103013: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
    103014: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
       Result=NO_MATCH(-1)
    103015: Jan 24 14:46:08.815: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0/0/1, TEI 96 changed to down
    2801(config-dial-peer)#
    Then I removed SIP-UA as I was told there is no registration necessary, only Dial-peer configuration.
    But it didn’t affect anything.
    Then I add translate-outgoing called 10 command to dial-peer 9000, nothing happened.
    Really stuck and don't know where to look at.
    Any help will be highly appreciated.
    Thanks.

    Hi Dan.
    Yes, I saw that RTP debugging, but what can I change there? Maybe I need to open more ports on ASA for RTP like 19412?
    I use Cisco ASDM for ASA to make changes.
    There are static NAT rules for: Server source IPs(10.1.1.100) to Outside(translated IPs, 88.99.77.44)  for a few ports.
    Also I added Security policy access rules for LAN: Any to SIP, and Outside: SIP to any.
    For NAT:
    I can't add this: for LAN: STATIC ROUTER IP 10.1.1.101 (AS SOURCE) UDP 5060 TO OUTSIDE IP 88.99.77.44
    (AS TRANSLATED) UDP 5060
    Because there is already translation for the Server.
    Debugging looks like that now. There is no Received: SIP/2.0, but I can make an outside call with no audio.
    116013: Jan 25 15:28:25.584: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=90862157774, Called Number=, Voice-Interface=0x0,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    116014: Jan 25 15:28:25.584: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=9000
    116015: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    116016: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    116017: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    116018: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    116019: Jan 25 15:28:25.588: fb_get_reject_cause_code: ERROR cause_code NULL
    116020: Jan 25 15:28:25.600: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam " ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:25 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505305
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    116021: Jan 25 15:28:26.096: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam " ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:26 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505306
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    116022: Jan 25 15:28:27.096: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam " ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:27 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505307
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    116026: Jan 25 15:28:57.092: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam" ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:57 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389preference 1771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505337
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    I'll add Incoming dial-peer now.
    Not sure what kind of NAT rule should I put into ASA to allow in and out sip traffic.
    Appretiate your help.
    Thanks a mill.

  • I am having a problem with pop pups and small windows with ads constantly opening up on my safari?? Thought that macs didn't get virus? this looks like one- any experts around? please help me fix it with your instructions? really don't know what to do...

    Hi everyone,
    I am having a problem with my Mac OS X 10.7.5 mac book air , there are constant pop pups and small windows with ads blinking constantly opening up on my safari in front of everything?? it is constantly interupting me and makes me mistakingly click on it then another new windows open behind the one im using..
    I am not too sure if thats a virus or trojan.. I always thought that macs didn't get virus? this looks like one to me… any experts around? please help me fix it with your instructions? really don't know what to do... thanks

    Those are not viruses. You have probably installed some malware:
    The Safe Mac » Adware Removal Guide
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • Help java vendingMachine code runs doesn't work Why please help

    import java.util.*;
    public class Vend
         double costALL = 40.00;
         int invALL = 3;
         String nameALL = "ALLURE OF DARKNESS";
         double costJUD = 90.75;
         int invJUD = 2;
         String nameJUD = "JUDGMENT DRAGON ";
         double costCHA = 75.50;
         int invCHA = 3;
         String nameCHA = "CHARGE OF THE LIGHT BIRGADE";
         double costCRU = 399.99;
         int invCRU = 1;
         String nameCRU = "CRUSH CARD)";
         double costGORZ = 245.29;
         int invGORZ = 1;
         String nameGORZ = "GORZ THE EMISSARY OF DARKNESS";
         double costDAD = 220.00;
         int invDAD = 2;
         String nameDAD = "DARK ARMED DRAGON";
         double savedDeckpts = 100.00;
         double input = 0.00;
         double change = 0;
         int choice = 0;
         public static void main(String[] args)
              Vend machine = new Vend();
         public Vend()
              System.out.println(" Hello Duelist, my name is Yusie Fudo.This is the one and only Specific Rare Yu-Gi-Oh! card vending.Each card in this vending machine is sealed in a special card container.These cards are up to date with the currnet ban list and pack release's.");
              System.out.println(" in order to get cards, you will be asked to pay using your Deck Points, which are stored on your Acadmey Duel Disc");
              System.out.println("Please insert Deck Points equal to the card(s) you would like to purchase or just insert 1,703.87 Deck points");
              Scanner input = new Scanner(System.in);
              double insert = input.nextDouble();
              savedDeckpts = savedDeckpts + insert;
              change = insert - change;
              while(choice != 7 && insert > 0)
                   System.out.println(" You still have " + change + " Deck Points");
                   System.out.println("Press 1 if you would like the card ALLURE OF DARKNESS from the PhanTom of DarkNess booster pack(40.00 Dp)");
                   System.out.println("Press 2 if you would like the card JUDGMENT DRAGON from the Light Of DesTruction booster pack(90.75 Dp)");
                   System.out.println("Press 3 if you would like the card CHARGE OF THE LIGHT BIRGADE from The DuelistGeneSis booster pack(75.50 Dp)");
                   System.out.println("Press 4 if you would like the card CRUSH CARD from the limited edition GoLD series booster pack(399.99 Dp)");
                   System.out.println("Press 5 if you would like the card GORZ THE EMISSARY OF DARKNESS from the Dark LeGends booster pack(245.29 Dp)");
                   System.out.println("Press 6 if you would like the card DARK ARMED DRAGON from the PhanTom of DarkNess booster pack(220.00 Dp)");
                   System.out.println("Press 7 if you would like to have your Deck points added back to your Duel Disc");
                   System.out.println("Press 8 if you would like to check how many cards are left in the machine");
                   System.out.println("(*note you need exodius the ulitimate forbbiden one's card code inorder to use option 8)");
                   choice = input.nextInt();
                   if(choice == 1 && choice <= 8 && choice >= 1 && insert >= 40.00)
                        System.out.println("Congrats Duelist you have chosen to buy the card ALLURE OF DARKNESS from the PhanTom of DarkNess booster pack");
                        invALL = invALL - 1;
                        change = change - costALL;      
                   else if(insert < 40.00 && choice == 1)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 2 && choice <= 8 && choice >= 1 && insert >= 90.75)
                        System.out.println("Congrats Duelist you have chosen to buy the card JUDGMENT DRAGON from the Light Of DesTruction booster pack");
                        invJUD = invJUD - 1;
                        change = change - costJUD;      
                   else if(insert < 40.00 && choice == 2)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 3 && choice <= 8 && choice >= 1 && insert >= 75.50)
                        System.out.println("Congrats Duelist you have chosen to buy the card CHARGE OF THE LIGHT BIRGADE from The DuelistGeneSis booster pack");
                        invCHA = invCHA - 1;
                        change = change - costCHA;      
                   else if(insert < 40.00 && choice == 3)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 4 && choice <= 8 && choice >= 1 && insert >= 399.99)
                        System.out.println("Congrats Duelist you have chosen to buy the card CRUSH CARD from the limited edition GoLD series booster pack");
                        invCRU = invCRU - 1;
                        change = change - costCRU;      
                   else if(insert < 40.00 && choice == 4)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 5 && choice <= 8 && choice >= 1 && insert >= 245.29)
                        System.out.println("Congrats Duelist you have chosen to buy the card GORZ THE EMISSARY OF DARKNESS from the Dark LeGends booster pack");
                        invGORZ = invGORZ - 1;
                        change = change - costGORZ;      
                   else if(insert < 40.00 && choice == 5)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 6 && choice <= 8 && choice >= 1 && insert >= 220.00)
                        System.out.println("Congrats Duelist you have chosen to buy the DARK ARMED DRAGON from the PhanTom of DarkNess booster pack");
                        invDAD = invDAD - 1;
                        change = change - costDAD;      
                   else if(insert < 40.00 && choice == 6)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                   if(choice == 7 && choice <= 8 && choice >= 1 )
                        System.out.println(" You have chosen to have your Deck Points added back to your Duel Disc");
                        System.out.println("You have revceived " + change + " Deck Points back");
                        change = change * 0;
                   if(choice == 8 && choice <= 8 && choice >= 1)
                        System.out.println("You have selected to see how many of what cards are left");
                        password();
              public void password()
              System.out.println("Please input ExodiusCardCode at this time");
              Scanner pass = new Scanner(System.in);
              String password = pass.next();
              if(password.equals("blackout"))
                   System.out.println("There are " + invALL + "ALLURE OF DARKNESS ");
                   System.out.println("There are " + invJUD + "JUDGMENT DRAGON ");
                   System.out.println("There are " + invCHA + "CHARGE OF THE LIGHT BIRGADE ");
                   System.out.println("There are " + invCRU + "CRUSH CARD ");
                   System.out.println("There are " + invGORZ + "GORZ THE EMISSARY OF DARKNESS ");
                   System.out.println("There are " + invDAD + "DARK ARMED DRAGON ");
                   System.out.println("The machine has DP" + savedDeckpts + " Inside");
    }

    hi my name is exodiamaster3.14 my code runs but when it runs it tells me
    System.out.println(" Hello Duelist, my name is Yusie Fudo.This is the one and only Specific Rare Yu-Gi-Oh! card vending.Each card in this vending machine is sealed in a special card container.These cards are up to date with the currnet ban list and pack release's.");
              System.out.println(" in order to get cards, you will be asked to pay using your Deck Points, which are stored on your Acadmey Duel Disc");
              System.out.println("Please insert Deck Points equal to the card(s) you would like to purchase or just insert 1,703.87 Deck points");
    say i type in 500 it then gives me all my choices of what to buy. when you press 1-6 it just repeats it self on what you can chose.it does subtract the money but won't show that you bought it. and when you chose option 8 it does not show what is left in the machine. this is my problem please help b/c i am very stuck. thanks again.

Maybe you are looking for