Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: freePBX Asterisk problem

  1. #1
    Join Date
    Feb 2007
    Posts
    28

    Question freePBX Asterisk problem

    I have had my VOIPo residential test account setup on my Asterisk freePBX box and has worked fine up to a couple of weeks ago. Incoming still works fine, but out going calls receive this error: WARNING[2331] chan_sip.c: Forbidden - wrong password on authentication for INVITE to '"305777xxxx". Here are my settings:

    Outgoing Settings
    host=codeblue.voipo.com
    insecure=invite
    qualify=yes
    secret=password
    type=peer
    username=305777xxxx

    Incoming Settings
    context=from-sip-external
    host=codeblue.voipo.com
    secret=password
    type=user

    It has been working fine in the past using the settings and the device shows registered in vpanel.

    Any suggestions on what needs to be changed?

  2. #2
    Join Date
    Mar 2007
    Posts
    478

    Default Re: freePBX Asterisk problem

    Guessing someone changed something wrt your account?

  3. #3
    VOIPoDanielC Guest

    Default Re: freePBX Asterisk problem

    Outgoing calls via my asterisk box also have the same problems.

    <--- SIP read from 74.52.213.178:5060 --->
    SIP/2.0 403 Forbidden
    Via: SIP/2.0/UDP 64.246.18.157:5060;branch=z9hG4bK2a628c43;rport=50 60
    From: "171357414XX" <sip:171357414XX@64.246.18.157>;tag=as2bbc5018
    To: <sip:1281297XXXX@codeblue.voipo.com>;tag=8d52d5594 80975178c22acc225f58a64.4841
    Call-ID: 604765d517d3fbdd7bf43ea731e3141a@64.246.18.157
    CSeq: 102 INVITE
    Server: OpenSER (1.3.0-notls (x86_64/linux))
    Content-Length: 0
    Warning: 392 74.52.213.178:5060 "Noisy feedback tells: pid=8336 req_src_ip=64.246.18.157 req_src_port=5060 in_uri=sip:1281297XXXX@codeblue.voipo.com out_uri=sip:281297XXXX@codeblue.voipo.com via_cnt==1"


    This is still failing regardless of what I've tried.

    I've even tried autocreatedpeer on in asterisk as suggested by the OpenSER people, and it's not helping.
    Last edited by VOIPoDanielC; 05-12-2008 at 03:46 PM. Reason: added some logs

  4. #4
    Join Date
    Feb 2007
    Posts
    801

    Default Re: freePBX Asterisk problem

    Outbound is working for me. Here are my settings:

    host=codeblue.voipo.com
    username=9192491xxx
    secret=(not telling, then it wouldn't be a secret anymore. )
    type=peer
    insecure=very
    qualify=yes
    nat=yes
    port=5080
    I don't know if the port or the "insecure" setting makes the difference, but that's how my settings are different than yours... I don't see how the nat setting would matter (I'm behind a home router, hence the 'yes').

  5. #5
    VOIPoDanielC Guest

    Default Re: freePBX Asterisk problem

    Even with those settings, I still get an error.

    I don't have a router. I have a direct connection to the internet on that server.

    Could you tar up all of the confs without your credentials for me? Then I'll figure out what variable I have set wrong.

    Freepbx keeps its configuration in multiple .conf files, that's why I'm asking for a tar.

    I use plain asterisk. I am NOT moving to freepbx unless I get struck by lightning. Well, I'll try it on my VirtualMachine then I might do it.

    I have a lot of custom things on my system.

    Insecure is tricky on what it means.
    very
    yes
    no
    port
    invite

    Last edited by VOIPoDanielC; 05-12-2008 at 05:27 PM.

  6. #6
    Join Date
    Feb 2007
    Posts
    28

    Default Re: freePBX Asterisk problem

    Quote Originally Posted by fisamo View Post
    Outbound is working for me. Here are my settings:
    Thanks for your settings fisamo. I tried them and still no luck. I still receive the error: WARNING[2350] chan_sip.c: Forbidden - wrong password on authentication for INVITE to '"305777xxxx". I think it has something to do with the CID I am sending has to match the number on VOIPo (which it does). I will try some other settings and report back.

    John.

  7. #7
    Join Date
    Mar 2007
    Posts
    478

    Default Re: freePBX Asterisk problem

    Here is my outgoing context:

    username=508481XXXX
    type=peer
    secret=XXXXXXXX
    qualify=yes
    host=codeblue.voipo.com
    dtmf=auto
    disallow=all
    allow=ulaw
    Last edited by dswartz; 05-13-2008 at 08:47 AM.

  8. #8
    Join Date
    Feb 2007
    Posts
    801

    Default Re: freePBX Asterisk problem

    Not at home right now to tar up my config files, but I'll try to get to it tonight.

  9. #9
    VOIPoRay Guest

    Default Re: freePBX Asterisk problem

    I was able to reproduce the problem with my asterisk box here (unable to authenticate on outbound calls). Adding a fromuser the same as the username fixed the issue in this particular instance. If the settings posted below don't help, feel free to email support@voipo.com with details and we'll take a look at your specific issue.

    [voipo.com]
    username=NPANXXXXXX
    secret=SUPER_DUPER_SECRET_PASS
    host=codeblue.voipo.com
    type=friend
    context=voipo
    port=5060
    insecure=invite
    fromuser=NPANXXXXXX
    fromdomain=codeblue.voipo.com ; this line was edited from the original post which mistakenly had the TN as the fromdomain also
    Last edited by VOIPoRay; 05-15-2008 at 07:27 AM.

  10. #10
    Join Date
    Mar 2007
    Posts
    478

    Default Re: freePBX Asterisk problem

    Ray, what did you guys change? I have had no issues with outbound calls, suddenly today, I'm having the same problem (no outbound.) I added the fromuser and it works? Whatever you did, wow. I had to add fromuser, fromdomain AND change the context to specifically voipo.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •