Question

Cisco and Sip

Asked by: arahming

Wow I guess cisco and SIP are a sore subject here no one is answering anything I post. Anyways I have a setup like this

comcast --- asterisk box ----- LAN  ---- MY PC ---- Cisco 7971G-GE --- Qwest

I have it setup in DHCP that everything goes out through quest except my VOIP which is controlled trough the asterisk box using NAT.

my problem is either I have bad configs or I the stupid phone which no one really seems to like

MY SIP image is SIP 70.8-3-1S

here is my log I'M going to sleep been at this for days

To: <sip:2000@192.168.0.100>;tag=as1dd72ec1
Call-ID: 00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12
CSeq: 101 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7eef41bd"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12' in 32000 ms (Method: REGISTER)
elastix*CLI>
<--- SIP read from 192.168.0.12:49175 --->
REGISTER sip:192.168.0.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.12:5060;branch=z9hG4bKb89e2e2b
From: <sip:2000@192.168.0.100>;tag=00152bd202640002cee21c6c-cafccb93
To: <sip:2000@192.168.0.100>
Call-ID: 00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12
Max-Forwards: 70
Date: Fri, 04 May 2007 19:55:02 GMT
CSeq: 102 REGISTER
User-Agent: Cisco-CP7971G-GE/8.3.0
Contact: <sip:7b452e87-4496-4762-e11f-b26751a1884b@192.168.0.12:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-00152bd20264>";+u.sip!model.ccm.cisco.com="119"
Authorization: Digest username="2000",realm="asterisk",uri="sip:192.168.0.100",response="6c4093de66e1e49a0a25524307367e27",nonce="7eef41bd",algorithm=MD5
Supported: (null),X-cisco-xsi-6.0.1
Content-Length: 0
Expires: 3600


<------------->
--- (14 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.0.12 : 5060 (no NAT)

<--- Transmitting (no NAT) to 192.168.0.12:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.12:5060;branch=z9hG4bKb89e2e2b;received=192.168.0.12
From: <sip:2000@192.168.0.100>;tag=00152bd202640002cee21c6c-cafccb93
To: <sip:2000@192.168.0.100>
Call-ID: 00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


<------------>
elastix*CLI>
<--- Transmitting (no NAT) to 192.168.0.12:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.12:5060;branch=z9hG4bKb89e2e2b;received=192.168.0.12
From: <sip:2000@192.168.0.100>;tag=00152bd202640002cee21c6c-cafccb93
To: <sip:2000@192.168.0.100>;tag=as1dd72ec1
Call-ID: 00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: <sip:7b452e87-4496-4762-e11f-b26751a1884b@192.168.0.12:5060;transport=udp>;expires=3600
Date: Tue, 02 Jun 2009 02:46:59 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12' in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog '29717d5f084401263e0f09365f135f3d@192.168.0.100' in 32000 ms (Method: NOTIFY)
Reliably Transmitting (no NAT) to 192.168.0.12:5060:
NOTIFY sip:7b452e87-4496-4762-e11f-b26751a1884b@192.168.0.12:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.0.100:5060;branch=z9hG4bK144471ca;rport
From: "Unknown" <sip:Unknown@192.168.0.100>;tag=as12d953b9
To: <sip:7b452e87-4496-4762-e11f-b26751a1884b@192.168.0.12:5060;transport=udp>
Contact: <sip:Unknown@192.168.0.100>
Call-ID: 29717d5f084401263e0f09365f135f3d@192.168.0.100
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 88

Messages-Waiting: no
Message-Account: sip:*97@192.168.0.100
Voice-Message: 0/0 (0/0)

---
elastix*CLI>
<--- SIP read from 192.168.0.12:49183 --->
SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP 192.168.0.100:5060;branch=z9hG4bK144471ca;rport
From: "Unknown" <sip:Unknown@192.168.0.100>;tag=as12d953b9
To: <sip:7b452e87-4496-4762-e11f-b26751a1884b@192.168.0.12:5060;transport=udp>
Call-ID: 29717d5f084401263e0f09365f135f3d@192.168.0.100
Date: Fri, 04 May 2007 19:55:10 GMT
Warning: 399 Bad MWI NOTIFY
CSeq: 102 NOTIFY
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
    -- Got SIP response 400 "Bad Request" back from 192.168.0.12
Really destroying SIP dialog '29717d5f084401263e0f09365f135f3d@192.168.0.100' Method: NOTIFY
Really destroying SIP dialog '00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12' Method: REGISTER
Reliably Transmitting (NAT) to 209.249.3.59:5060:
OPTIONS sip:209.249.3.59 SIP/2.0
Via: SIP/2.0/UDP xxx.11.27.1xxx:5060;branch=z9hG4bK39bba087;rport
From: "Unknown" <sip:Unknown@xxx.11.27.1xxx>;tag=as47217107
To: <sip:209.249.3.59>
Contact: <sip:Unknown@xxx.11.27.1xxx>
Call-ID: 6035040551856d385a75ebf365fe216d@xxx.11.27.1xxx
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 02 Jun 2009 02:47:37 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


---
elastix*CLI>
<--- SIP read from 209.249.3.59:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxx.11.27.1xxx:5060;branch=z9hG4bK39bba087;rport
To: <sip:209.249.3.59>;tag=3452899551-425375
From: "Unknown" <sip:Unknown@xxx.11.27.1xxx>;tag=as47217107
Call-ID: 6035040551856d385a75ebf365fe216d@xxx.11.27.1xxx
CSeq: 102 OPTIONS
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Contact: <sip:209.249.3.59:5060>
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '6035040551856d385a75ebf365fe216d@xxx.11.27.1xxx' Method: OPTIONS
Reliably Transmitting (NAT) to 209.249.3.59:5060:
OPTIONS sip:209.249.3.59 SIP/2.0
Via: SIP/2.0/UDP xxx.11.27.1xxx:5060;branch=z9hG4bK6afdb9c3;rport
From: "Unknown" <sip:Unknown@xxx.11.27.1xxx>;tag=as40079fd2
To: <sip:209.249.3.59>
Contact: <sip:Unknown@xxx.11.27.1xxx>
Call-ID: 4b05409745a3073f5830ea292d11f190@xxx.11.27.1xxx
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 02 Jun 2009 02:48:38 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


---
elastix*CLI>
<--- SIP read from 209.249.3.59:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxx.11.27.1xxx:5060;branch=z9hG4bK6afdb9c3;rport
To: <sip:209.249.3.59>;tag=3452899611-484749
From: "Unknown" <sip:Unknown@xxx.11.27.1xxx>;tag=as40079fd2
Call-ID: 4b05409745a3073f5830ea292d11f190@xxx.11.27.1xxx
CSeq: 102 OPTIONS
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Contact: <sip:209.249.3.59:5060>
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '4b05409745a3073f5830ea292d11f190@xxx.11.27.1xxx' Method: OPTIONS
Reliably Transmitting (NAT) to 209.249.3.59:5060:
OPTIONS sip:209.249.3.59 SIP/2.0
Via: SIP/2.0/UDP xxx.11.27.1xxx:5060;branch=z9hG4bK4f8bb793;rport
From: "Unknown" <sip:Unknown@xxx.11.27.1xxx>;tag=as2fe9a568
To: <sip:209.249.3.59>
Contact: <sip:Unknown@xxx.11.27.1xxx>
Call-ID: 2ebf3ede51617e4e00dabdc90aa920e2@xxx.11.27.1xxx
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 02 Jun 2009 02:49:38 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


---
elastix*CLI>
<--- SIP read from 209.249.3.59:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxx.11.27.1xxx:5060;branch=z9hG4bK4f8bb793;rport
To: <sip:209.249.3.59>;tag=3452899671-547357
From: "Unknown" <sip:Unknown@xxx.11.27.1xxx>;tag=as2fe9a568
Call-ID: 2ebf3ede51617e4e00dabdc90aa920e2@xxx.11.27.1xxx
CSeq: 102 OPTIONS
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Contact: <sip:209.249.3.59:5060>
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '2ebf3ede51617e4e00dabdc90aa920e2@xxx.11.27.1xxx' Method: OPTIONS
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
elastix*CLI>

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-06-01 at 19:54:18ID24455388
Topics

Voice Over IP

,

Asterisk Open Source Telephony

,

Network Operations

Participating Experts
2
Points
500
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. asterisk / sip / nat
    I have a pix firewall and an asterisk computer behind it. I have 2 grandstream telephones outside of the pix and behind linksys firewalls. We can dial each other, but we can not hear each other. How do I setup this up to hear each other. Also I have to use qualify=2000 to...
  2. Asterisk VoIP server (SIP) behind ISA 2006 (NAT) s…
    Im running an AsteriskNOW server on my internal network (192.168.30.12) and an ISA 2006 server that provides the internet for the internal clients and servers (ISA internal: 192.168.30.10). Now I want to make it possible for external users (VoIP phones) to connect to my int...
  3. URI: <sip:Unknown
    Hi, Call sent to Asterisk that contains: URI: <sip:myname@192.168.1.5:5060> Is forwarded by Asterisk as: URI: <sip:Unknown@192.168.1.1> Why? How this can be fixed so the same "myname" URI is forwarded? Please help !
  4. Sip trunk
    How do I configure Sip trunk between Cisco Call manager express with shoretel system.
  5. SIP
    Looking to provide VOIP and data across three offices nationwide. I have the networking hardware (Cisco routers, Asterix servers, etc.) and a small IT staff. I would like to order SIP services but I would prefer to use my own gear and not "rent" the SIP provider's...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: feptiasPosted on 2009-06-02 at 06:36:34ID: 24526572

> "Wow I guess cisco and SIP are a sore subject here no one is answering anything I post."
Perhaps the problem is that people like me who know Asterisk, tend not to know Cisco. Those who know Cisco, probably don't know Asterisk. They are products on opposite ends of the cost spectrum and reflecting totally different commercial philosophies.

As for your question, you don't actually say what the problem is. The SIP trace shows:
1. A registration that is successful
2. Asterisk sending a MWI NOTIFY that is rejected with "400 Bad Request"/"399 Bad MWI NOTIFY"
3. Some OPTIONS requests being sent to the Internet and getting 200 OK returned

Are we to assume that the problem is the MWI notification? Perhaps it is because the Cisco 7971G does not recognise the message account: "Message-Account: sip:*97@192.168.0.100".

 

by: arahmingPosted on 2009-06-02 at 09:49:37ID: 24528834

Sorry the Phone will not register with the asterisk box. I have gotten a softphone to register and make outbound calls fine.

 

by: feptiasPosted on 2009-06-03 at 03:02:28ID: 24534745

...but your SIP trace shows that the Cisco phone is registering ok:

<--- Transmitting (no NAT) to 192.168.0.12:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.12:5060;branch=z9hG4bKb89e2e2b;received=192.168.0.12
From: <sip:2000@192.168.0.100>;tag=00152bd202640002cee21c6c-cafccb93
To: <sip:2000@192.168.0.100>;tag=as1dd72ec1
Call-ID: 00152bd2-02640002-0fcf0e0e-f4b9bbbd@192.168.0.12
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: <sip:7b452e87-4496-4762-e11f-b26751a1884b@192.168.0.12:5060;transport=udp>;expires=3600
Date: Tue, 02 Jun 2009 02:46:59 GMT
Content-Length: 0

 

by: arahmingPosted on 2009-06-03 at 11:49:39ID: 24539836

I was on the phone with broadvox and realized that my softphone could dial out from the pbx but not in. however the outside calls will route to the asterisk pbx but not into the LAN(tested by setting up voice mail which picked up). I assume its routing caused by the configuration of my network I have two network cards in the PBX the WAN interface is connected directly to the NIC via 172.12.23.143 the internal LAN is connected via 192.168.2.100. I assume I need to create a static route telling the box any VOIP calls from 172.12.23.143 need to be routed to 192.168.2.0/255.255.255.0

 

by: arahmingPosted on 2009-06-03 at 11:50:35ID: 24539844

Sorry wrong place to post my Cisco phone still doesn't register though

 

by: feptiasPosted on 2009-06-03 at 12:12:04ID: 24540074

Your Cisco phone appears to be on 192.168.0.12 so if your 2nd NIC is on 192.168.2.100 then yes you will need to add a static route. However, the SIP trace you've posted here shows Asterisk is on 192.168.0.100 so your information is confusing.

 

by: koszegiPosted on 2009-06-03 at 14:09:33ID: 24541393

You maybe having a vlan issue base on my knowlegde of Cisco phones and asterisk.  You question is confusing.  You don't really state the nature of the problem.  Are you having IP communication problem with the phone.  Verify you can ping the phone on the network.  Verify that you can ping the phone from you asterisk box.  What is the purpose of the qwest link and the comcast link?  Please provide more info so we can help.  

The cisco phone uses a voice vlan when the get on the network.  If you do not have a voice vlan define it may not take to anything on your network.  You can configure it without the voice vlan, but that would require you to setup the switch to put both the data vlan and voice vlan on the same number.  It is a slightly tricky setup.  

You seem to be having more problems than you can explain. See my profile and contact me and I will help you.  

 

by: arahmingPosted on 2009-06-03 at 15:26:50ID: 24541975

I was told by one of the experts in a previous link that asterisk could be install as follows

I asterisk box two nic cards --  the first card eth0 is plugged into a switch in the lan
the second nic is plugged into the Comcast router with a static ip

I can successfully make calls out using a sip phone when I try to make calls in the get stuck at the box

and display this log

--- (10 headers 0 lines) ---
173-11-27-133-oregon*CLI>
<--- SIP read from UDP://209.249.3.59:5060 --->
INVITE sip:9713454107@172.23.217.145:5060;transport=udp SIP/2.0
Max-Forwards: 69
Session-Expires: 3600;refresher=uac
Supported: timer, 100rel
To: <sip:9713454107@209.249.3.56:5060>
From: "My Name  " <sip:5037234567@209.249.3.59>;tag=3453053515-752135
P-Asserted-Identity:"My Name  "<sip:5037234567@64.152.60.74:5060>
Call-ID: 5108895-3453053515-752092@NXT02.broadvox.net
CSeq: 1 INVITE
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Via: SIP/2.0/UDP 209.249.3.59:5060;branch=z9hG4bKeb469130d6618a50676a899df6534177
Contact: <sip:5037234567@209.249.3.59:5060>
Call-Info: <sip:209.249.3.59>;method="NOTIFY;Event=telephone-event;Duration=1000"
Content-Type: application/sdp
Content-Length: 249

v=0
o=NXT02 6744 21046 IN IP4 209.249.3.59
s=sip call
c=IN IP4 209.249.3.60
t=0 0
m=audio 18764 RTP/AVP 0 18 101
a=rtpmap:0 PCMU/8000
a=sendrecv
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

<------------->
--- (15 headers 12 lines) ---
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
Sending to 209.249.3.59 : 5060 (NAT)
Using INVITE request as basis request - 5108895-3453053515-752092@NXT02.broadvox.net
Found peer 'Broadvox' for '5037234567' from 209.249.3.59:5060
Found RTP audio format 0
Found RTP audio format 18
Found RTP audio format 101
Peer audio RTP is at port 209.249.3.60:18764
Found audio description format PCMU for ID 0
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - 0x104 (ulaw|g729), peer - audio=0x104 (ulaw|g729)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x104 (ulaw|g729)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 209.249.3.60:18764
Looking for 9713454107 in from-trunk (domain 172.23.217.145)
list_route: hop: <sip:5037234567@209.249.3.59:5060>

<--- Transmitting (NAT) to 209.249.3.59:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 209.249.3.59:5060;branch=z9hG4bKeb469130d6618a50676a899df6534177;received=209.249.3.59
From: "My Name  " <sip:5037234567@209.249.3.59>;tag=3453053515-752135
To: <sip:9713454107@209.249.3.56:5060>
Call-ID: 5108895-3453053515-752092@NXT02.broadvox.net
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.1.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Contact: <sip:9713454107@172.23.217.145>
Content-Length: 0


<------------>
    -- Executing [9713454107@from-trunk:1] Set("SIP/Broadvox-09daedc0", "__FROM_DID=9713454107") in new stack
    -- Executing [9713454107@from-trunk:2] Gosub("SIP/Broadvox-09daedc0", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/Broadvox-09daedc0", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Return("SIP/Broadvox-09daedc0", "") in new stack
    -- Executing [9713454107@from-trunk:3] ExecIf("SIP/Broadvox-09daedc0", "0 ?Set(CALLERID(name)=5037234567)") in new stack
    -- Executing [9713454107@from-trunk:4] Set("SIP/Broadvox-09daedc0", "FAX_RX=disabled") in new stack
    -- Executing [9713454107@from-trunk:5] Set("SIP/Broadvox-09daedc0", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [9713454107@from-trunk:6] Set("SIP/Broadvox-09daedc0", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [9713454107@from-trunk:7] Goto("SIP/Broadvox-09daedc0", "from-did-direct,2000,1") in new stack
    -- Goto (from-did-direct,2000,1)
    -- Executing [2000@from-did-direct:1] Set("SIP/Broadvox-09daedc0", "__RINGTIMER=5") in new stack
    -- Executing [2000@from-did-direct:2] Macro("SIP/Broadvox-09daedc0", "exten-vm,2000,2000") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/Broadvox-09daedc0", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/Broadvox-09daedc0", "AMPUSER=5037234567") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/Broadvox-09daedc0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/Broadvox-09daedc0", "1?Set(REALCALLERIDNUM=5037234567)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/Broadvox-09daedc0", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/Broadvox-09daedc0", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Broadvox-09daedc0", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/Broadvox-09daedc0", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/Broadvox-09daedc0", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/Broadvox-09daedc0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/Broadvox-09daedc0", "Using CallerID "My Name  " <5037234567>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/Broadvox-09daedc0", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/Broadvox-09daedc0", "VMBOX=2000") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/Broadvox-09daedc0", "EXTTOCALL=2000") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/Broadvox-09daedc0", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("SIP/Broadvox-09daedc0", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("SIP/Broadvox-09daedc0", "RT=5") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("SIP/Broadvox-09daedc0", "record-enable,2000,IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/Broadvox-09daedc0", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/Broadvox-09daedc0", "recordingcheck,20090603-143348,1244064828.32") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
 recordingcheck,20090603-143348,1244064828.32: Failed to execute '/var/lib/asterisk/agi-bin/recordingcheck': Permission denied
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/Broadvox-09daedc0", "") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("SIP/Broadvox-09daedc0", "dial,5,tr,2000") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/Broadvox-09daedc0", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/Broadvox-09daedc0", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 dialparties.agi: Failed to execute '/var/lib/asterisk/agi-bin/dialparties.agi': Permission denied
    -- Executing [s@macro-dial:4] NoOp("SIP/Broadvox-09daedc0", "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack
    -- Executing [s@macro-exten-vm:10] GotoIf("SIP/Broadvox-09daedc0", "0?exit,return") in new stack
    -- Executing [s@macro-exten-vm:11] Set("SIP/Broadvox-09daedc0", "SV_DIALSTATUS=") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("SIP/Broadvox-09daedc0", "0?docfu,1") in new stack
    -- Executing [s@macro-exten-vm:13] GosubIf("SIP/Broadvox-09daedc0", "0?docfb,1") in new stack
    -- Executing [s@macro-exten-vm:14] Set("SIP/Broadvox-09daedc0", "DIALSTATUS=") in new stack
    -- Executing [s@macro-exten-vm:15] NoOp("SIP/Broadvox-09daedc0", "Voicemail is '2000'") in new stack
    -- Executing [s@macro-exten-vm:16] GotoIf("SIP/Broadvox-09daedc0", "0?s-,1") in new stack
    -- Executing [s@macro-exten-vm:17] NoOp("SIP/Broadvox-09daedc0", "Sending to Voicemail box 2000") in new stack
    -- Executing [s@macro-exten-vm:18] Macro("SIP/Broadvox-09daedc0", "vm,2000,,") in new stack
    -- Executing [s@macro-vm:1] Macro("SIP/Broadvox-09daedc0", "user-callerid,SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/Broadvox-09daedc0", "AMPUSER=5037234567") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/Broadvox-09daedc0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/Broadvox-09daedc0", "0?Set(REALCALLERIDNUM=5037234567)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/Broadvox-09daedc0", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/Broadvox-09daedc0", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Broadvox-09daedc0", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/Broadvox-09daedc0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/Broadvox-09daedc0", "Using CallerID "My Name  " <5037234567>") in new stack
    -- Executing [s@macro-vm:2] Set("SIP/Broadvox-09daedc0", "VMGAIN=""") in new stack
    -- Executing [s@macro-vm:3] GotoIf("SIP/Broadvox-09daedc0", "1?vmx,1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] GotoIf("SIP/Broadvox-09daedc0", "0?s-,1") in new stack
    -- Executing [vmx@macro-vm:2] Set("SIP/Broadvox-09daedc0", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:3] GotoIf("SIP/Broadvox-09daedc0", "1?notdirect") in new stack
    -- Goto (macro-vm,vmx,5)
    -- Executing [vmx@macro-vm:5] NoOp("SIP/Broadvox-09daedc0", "Checking if ext 2000 is enabled: ") in new stack
    -- Executing [vmx@macro-vm:6] GotoIf("SIP/Broadvox-09daedc0", "1?s-,1") in new stack
    -- Goto (macro-vm,s-,1)
    -- Executing [2000@from-did-direct:3] Goto("SIP/Broadvox-09daedc0", "vmret,1") in new stack
    -- Goto (from-did-direct,vmret,1)
    -- Executing [vmret@from-did-direct:1] GotoIf("SIP/Broadvox-09daedc0", "0?playret") in new stack
    -- Executing [vmret@from-did-direct:2] Hangup("SIP/Broadvox-09daedc0", "") in new stack
  == Spawn extension (from-did-direct, vmret, 2) exited non-zero on 'SIP/Broadvox-09daedc0'
Scheduling destruction of SIP dialog '5108895-3453053515-752092@NXT02.broadvox.net' in 6400 ms (Method: INVITE)
173-11-27-133-oregon*CLI>
<--- Reliably Transmitting (NAT) to 209.249.3.59:5060 --->
SIP/2.0 603 Declined
Via: SIP/2.0/UDP 209.249.3.59:5060;branch=z9hG4bKeb469130d6618a50676a899df6534177;received=209.249.3.59
From: "My Name  " <sip:5037234567@209.249.3.59>;tag=3453053515-752135
To: <sip:9713454107@209.249.3.56:5060>;tag=as7b278e03
Call-ID: 5108895-3453053515-752092@NXT02.broadvox.net
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.1.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0


<------------>
173-11-27-133-oregon*CLI>
<--- SIP read from UDP://209.249.3.59:5060 --->
ACK sip:9713454107@172.23.217.145:5060;transport=udp SIP/2.0
Max-Forwards: 70
To: <sip:9713454107@209.249.3.56:5060>;tag=as7b278e03
From: "My Name  " <sip:5037234567@209.249.3.59>;tag=3453053515-752135
Call-ID: 5108895-3453053515-752092@NXT02.broadvox.net
CSeq: 1 ACK
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Via: SIP/2.0/UDP 209.249.3.59:5060;branch=z9hG4bKeb469130d6618a50676a899df6534177
Contact: <sip:5037234567@209.249.3.59:5060>
Content-Length: 0


<------------->
--- (10 headers 0 lines) ---
Really destroying SIP dialog '5108890-3453053514-777640@NXT02.broadvox.net' Method: ACK
Really destroying SIP dialog '5108892-3453053514-995261@NXT02.broadvox.net' Method: ACK
Really destroying SIP dialog '5108893-3453053515-232559@NXT02.broadvox.net' Method: ACK
Really destroying SIP dialog '5108895-3453053515-752092@NXT02.broadvox.net' Method: ACK
Reliably Transmitting (NAT) to 209.249.3.59:5060:
OPTIONS sip:209.249.3.59 SIP/2.0
Via: SIP/2.0/UDP 172.23.217.145:5060;branch=z9hG4bK546a9b67;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.23.217.145>;tag=as46ac15a0
To: <sip:209.249.3.59>
Contact: <sip:Unknown@172.23.217.145>
Call-ID: 363e13ba05cfcdce23feabbc267c9df9@172.23.217.145
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.6.1.0
Date: Wed, 03 Jun 2009 21:33:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0


---
173-11-27-133-oregon*CLI>
<--- SIP read from UDP://209.249.3.59:5060 --->
SIP/2.0 200 OK
Session-Expires: 3600
Require: timer
Via: SIP/2.0/UDP 172.23.217.145:5060;branch=z9hG4bK546a9b67;rport
To: <sip:209.249.3.59>;tag=3453053526-53403
From: "Unknown" <sip:Unknown@172.23.217.145>;tag=as46ac15a0
Call-ID: 363e13ba05cfcdce23feabbc267c9df9@172.23.217.145
CSeq: 102 OPTIONS
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Contact: <sip:209.249.3.59:5060>
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '363e13ba05cfcdce23feabbc267c9df9@172.23.217.145' Method: OPTIONS
Reliably Transmitting (NAT) to 209.249.3.59:5060:
OPTIONS sip:209.249.3.59 SIP/2.0
Via: SIP/2.0/UDP 172.23.217.145:5060;branch=z9hG4bK27de4b98;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.23.217.145>;tag=as070193bd
To: <sip:209.249.3.59>
Contact: <sip:Unknown@172.23.217.145>
Call-ID: 2b121cbb61d5b8bb1a2bc7491efa93db@172.23.217.145
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.6.1.0
Date: Wed, 03 Jun 2009 21:33:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0


---
173-11-27-133-oregon*CLI>
<--- SIP read from UDP://209.249.3.59:5060 --->
SIP/2.0 200 OK
Session-Expires: 3600
Require: timer
Via: SIP/2.0/UDP 172.23.217.145:5060;branch=z9hG4bK27de4b98;rport
To: <sip:209.249.3.59>;tag=3453053526-350827
From: "Unknown" <sip:Unknown@172.23.217.145>;tag=as070193bd
Call-ID: 2b121cbb61d5b8bb1a2bc7491efa93db@172.23.217.145
CSeq: 102 OPTIONS
Allow: INVITE, BYE, OPTIONS, CANCEL, ACK, REGISTER, NOTIFY, INFO, REFER, SUBSCRIBE, PRACK, UPDATE
Contact: <sip:209.249.3.59:5060>
Content-Length: 0


<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '2b121cbb61d5b8bb1a2bc7491efa93db@172.23.217.145' Method: OPTIONS
173-11-27-133-oregon*CLI>

 

by: arahmingPosted on 2009-06-03 at 22:03:45ID: 24543687

Fixed this was permissions so um back to the phone

 

by: feptiasPosted on 2009-06-04 at 00:50:29ID: 24544398

As I said before, it appears that the phone is registering ok based on the SIP messages. Is the display on the phone showing not registered? What does Asterisk show for that phone if you type this command at the CLI:
sip show peers

Please can you also explain about your LAN because you have mentioned two different private subnets - 192.168.0.x and 192.168.2.x - but not explained which one is correct (or if you have both, then which one is Asterisk using and which one is the phone using and how are they linked)? Also, the questions asked by koszeqi are relevant and you have not answered them. We cannot help if you don't provide information when requested by experts.

 

by: arahmingPosted on 2009-06-04 at 12:20:43ID: 24550452

It is showing on the phone as registering I have given up on the SIP for the phone and am testing  using the SCCP protocol can you point me in a good direction of how to set it up. I have alreadt instralled the drivers but am still get the registering message for SCCP. If this doesn't work I am going to find a more friendly phone to work with and return this one

 

by: koszegiPosted on 2009-06-04 at 14:50:26ID: 24551753

that is awhole different ball game.  You want to enable and configure the Skinny protocol on your Asterisk box.

checkout http://www.voip-info.org and do a search for "configuring skinny on asterisk" and "setup sccp phone on asterisk"

Good luck.

 

by: koszegiPosted on 2009-06-04 at 14:52:38ID: 24551763

I think I know you. Are you in the Miami-FLL area. if so checkout my profile and give me a call.

 

by: koszegiPosted on 2009-06-04 at 14:56:29ID: 24551779

Here's how to configure skinny "sccp" on asterisk box.
http://www.voip-info.org/wiki/view/SCCP-HOWTO2

Have fun.

 

by: arahmingPosted on 2009-06-04 at 22:02:03ID: 24553483

I give up going to send this phone back

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...