News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old October 25th, 2005, 03:08 PM
ncherry ncherry is offline
Member
 
Join Date: Jun 2005
Posts: 32
ncherry
Default Asterisk & Callpacket

I'm very confused by what I'm seeing with my Asterisk server. I have the following configuration:

Code:
register => cp09876543:065432@voip.callpacket.com:5060/18585551212

[callpacket-out]
  type          = peer
  username      = cp09876543
  secret        = 065432
  port          = 5060
  fromuser      = "Neil Cherry"
  host          = voip.callpacket.com
  dtmfmode      = inband 
; dtmfmode      = rfc2833
  insecure      = very ; To allow registered hosts to call without re-authenticating 
  canreinvite   = no
  disallow      = all
  allow         = ulaw,gsm
; nat           = yes


[callpacket-in]
  type          = friend
  host          = voip.callpacket.com
  dtmfmode      = rfc2833
; context       = from-callpacket
  context       = from-sip-pstn
  insecure      = very ; To allow registered hosts to call without re-authenticating 
; nat           = yes
And my extension has the following:
Code:
[to-callpacket]
  exten => _396.,1,SetCallerId("Neil Cherry" <18585551212>)
  exten => _396.,2,Dial(SIP/${EXTEN:3}@voip.callpacket.com)
  exten => _396.,3,Congestion
When I dial 396xxxxxxxxxxxx I get (via the sniffer) a 407 Proxy Authentication required. The weirdest part is that I never see Asterisk register with voip.callpacket.com.

Anyone see anything obviously wrong?
__________________
Linux Home Automation Neil Cherry
http://home.comcast.net/~ncherry/
http://linuxha.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old October 25th, 2005, 04:47 PM
ncherry ncherry is offline
Member
 
Join Date: Jun 2005
Posts: 32
ncherry
Default RE: Asterisk & Callpacket

Ah, found out why registration wasn't working, it's in an #include file. Needs to be in the sip.conf file. That's one step closer. Now I'm seeing stuff from pinger@telepacket.com (???) and I saw some MD5 stuff. My login page knows it an Asterisk server!
Code:
Sip Proxy :             voip.callpacket.com
Sip Username :          cp09876543
Sip Password :          065432
Call Packet Soft Phone: Offline
Asterisk PBX:           Online
Phone Number:           +18585551212
TFTP Server:            67.43.156.90
More work to do!
__________________
Linux Home Automation Neil Cherry
http://home.comcast.net/~ncherry/
http://linuxha.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old October 25th, 2005, 05:30 PM
chandave chandave is offline
Senior Member
 
Join Date: Jul 2005
Posts: 362
chandave is an unknown quantity at this point
Send a message via MSN to chandave
Default RE: Asterisk & Callpacket

Don't try to change your outgoing CID information. You can't influence the outbound CID info. Callpacket controls your outbound CID at their Call switch. You can only change the CID info by using their Callpacket dashboard. Changing what you present to Callpacket for CID info screws up the validation of your SIP INVITE. The fromuser should reflect your SIP Username.

See ya...

d.c.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old October 25th, 2005, 06:44 PM
ncherry ncherry is offline
Member
 
Join Date: Jun 2005
Posts: 32
ncherry
Default RE: Asterisk & Callpacket

Thanks that seemed help with the incoming call (I made a couple of changes at the same time). I've removed the SetCallerId from the extension. I've changed the fromuser to my cpxxxxxxxxxx id. I've saved the files, restarted the sniffer and Asterisk. The first registration is 401 the second 200 (don't know why I see that). When I attempt to call out I get a 407 (proxy auth). When I call my 858 number I see a now see 200 (possibly seeing "Got 200 OK on REGISTER that isn't a register") and it goes to 'all circuits are busy now' I have no idea what's going on there (my Asterisk or Callpacket). So I have some more work to do. Considering I have no clue as to what I'm doing I'm making good progress ;-)
__________________
Linux Home Automation Neil Cherry
http://home.comcast.net/~ncherry/
http://linuxha.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old October 25th, 2005, 08:18 PM
ncherry ncherry is offline
Member
 
Join Date: Jun 2005
Posts: 32
ncherry
Default RE: Asterisk & Callpacket

Well I really am confused, the context I used only had exten => s, (1-4, 102-104 etc) but jumped into my extension section where _1 was defined (I think I had 2 contexts, I forgot to comment the second one out). So it was dialing out the PSTN (from Callpacket -> Asterisk -> SPA3000 -> PSTN). Anyway I've corrected that now and I can properly receive call from Callpacket. I still haven't resolved the 407 issue and I'm not sure how to yet. I wouldn't be surprised if I had someting else screwed up, anyway more digging.
__________________
Linux Home Automation Neil Cherry
http://home.comcast.net/~ncherry/
http://linuxha.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old October 25th, 2005, 08:18 PM
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Asterisk & Callpacket
Thread Thread Starter Forum Replies Last Post
Someone with Callpacket help please markosjal Other Providers 2 December 6th, 2005 06:22 AM
Callpacket.com harry48 Other Providers 51 November 8th, 2005 05:35 PM
Callpacket timed out thameema Asterisk Support Forum 3 October 27th, 2005 03:55 PM
Callpacket.com skarz Other Providers 3 August 31st, 2005 07:42 PM
Broadvoice & DID Route & Asterisk@Home buddhake BroadVoice Support Forum 3 July 27th, 2005 06:39 AM



All times are GMT. The time now is 10:58 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.