SignalWire as SIP carrier in VICIdial [How to add a sip trunk in VICIdial?]

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • #Signalwire #VICIdial #vicibox #siptrunk #sipcarrier
    To support my channel: / omidmohajerani
    I love SignalWire because they are the team behind an amazing open-source telephony solution, FreeSWITCH. And If I want to use a trunk for my customers to call US numbers I usually use them. Although their panel is very simple and you can create a sip account in a second and assign a DID to it but if you want to register their trunk in VICIdial you need to do some extra steps. Their transport is TLS and VICIdial is not configured for TLS connection by default so you need to create a cert and enable TLS configuration in sip.conf first. Here I explained how to configure VICIdial to support TLS connection and also what are the SIP trunk parameters when you want to use SignalWire as your carrier in VICIdial.
    GitHub Link to the configuration files in the video:
    github.com/Omi...

ความคิดเห็น • 78

  • @saidmaroc8448
    @saidmaroc8448 2 ปีที่แล้ว +2

    Thank you very much for sharing,
    however, a question that is not related to the subject Trunk.
    To connect 20 agents simultaneously, what would be the ideal server configuration?
    RAM, hard drive, processors etc...
    Thank you in advance.

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว +1

      Welcome and thank you for the comment. Regarding hardware, the best resource is the VICIbox installation manual here: download.vicidial.com/iso/vicibox/server/ViciBox_v9-install.pdf
      This is my recommendation though
      If you are using SSD hard disk 4 Core CPU and 8 GB of RAM will be sufficient if you want to run Predictive dialing campaigns. If you just want to use preview or manual dial then lower will be enough as well.

  • @ratanrajsingh5699
    @ratanrajsingh5699 2 ปีที่แล้ว +1

    very nice tutorial bro. Also need to know that opensource crm integration with vicidial. Could you please let me know.

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      For a basic integration I explained here :www.omid.blog/2020/02/vicidial-crm-integration.html for more advanced you need to learn how to work with agent and non-agent VICIdial API

  • @moneebahmed249
    @moneebahmed249 2 ปีที่แล้ว

    your terminal scripts looks awesome, like the stats on the above showing and colors, fonts etc. what do you use?

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      Terminator in mac ( ports.macports.org/port/terminator/ )

  • @mumar3871
    @mumar3871 ปีที่แล้ว

    its really helpful.

  • @robertharbach8021
    @robertharbach8021 2 ปีที่แล้ว +1

    I'm using signalwire connection was successful, only problem is can't make a manual dial. and it's show in my signalwire account balance is used even saw the number we were trying to call, is the dialplan correct or the codecs?

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      based on your other comment seems your trunk is not up or there is a problem in your sip messages. Can u copy the sip reply message from signal wire so that I can help? in order to get the sip messages you can watch my sngrep video. capture the pcap file and upload somewhere and put the link in the comments.

  • @robertharbach8021
    @robertharbach8021 2 ปีที่แล้ว +1

    Hey Omid I will like of you to setup my carrier, how can we get started?

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      You can send an email to omid dot mohajerani at Gmail dot com with the subject of "Paid Support" and I will guide you through the next step. Need to know more about the requirement first and how much you setup your vicidial etc. Please put the subject as I mentioned or I may not be able to find it . thank you.

    • @robertharbach8021
      @robertharbach8021 2 ปีที่แล้ว +1

      @@omidmohajerani great will email u now

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      @@robertharbach8021 thanks will be in contact there

    • @robertharbach8021
      @robertharbach8021 2 ปีที่แล้ว

      hey Omid could you send me back the contact left a email for you. Thanks 😊

    • @robertharbach8021
      @robertharbach8021 2 ปีที่แล้ว

      @@omidmohajerani Send me another contract sir ready to pay by credit card thank omid.mohajeran

  • @mumar3871
    @mumar3871 ปีที่แล้ว

    To call the UK number for 20 agent setup this number be used for everyone when they call out from vicidial even at the same time?
    I don't want any incoming calls what should I do for the incoming calls portion at 3:40?
    Account Entry Should I remove the context=trunkinbound line because I do not want any inbound calls?

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว

      yes, all will use the same number as all of them are going through the same trunk.
      you don't need to do anything if you don't want to answer incoming calls. by default, if you don't define an incoming route the incoming calls will hangup.

    • @mumar3871
      @mumar3871 ปีที่แล้ว

      The credit we add in the signalwire is the credit used by agents when they call out using our vicidial?
      How to buy a UK Number in signal wire. I can't find any?

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว

      @@mumar3871 yes thats the credit . If they dont have a uk number then you need to buy from another provider that they have . When you know how it works and how to setup trunk etc you can select any trunk provider . Use signalwire to learn and then you can choose any other provider with did in uk

  • @avamaria8447
    @avamaria8447 ปีที่แล้ว

    Do we know if signalwire and vici are playing better now? Seems a few people had a hard time setting things up

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว +1

      If you mean by trunk setup there is no problem and it can register. But when you are sending a lot of calls and if they understand you spam the calls or doing anything not legal they will ban the trunk. That's the case of course for most of the providers.

    • @avamaria8447
      @avamaria8447 ปีที่แล้ว

      @@omidmohajerani the tls connection seem to have been the problem. If they were setting up for spam calls then signalwire would not have that info before they even use the service.

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว +1

      @@avamaria8447 SSL works. follow this document: github.com/Omid-Mohajerani/VICIdial/wiki/How-to-register-SIGNALWIRE-sip-trunk-as-carrier-in-VICIdial%3F. Just remember to have a valid server name and domain name.

    • @avamaria8447
      @avamaria8447 ปีที่แล้ว

      @@omidmohajerani thank you. I am a total front end user on everything tech. I get lost in the weeds on the back end

  • @subhanali4535
    @subhanali4535 2 ปีที่แล้ว +1

    Do you have any tutorial on viciphone? please make tutorial on Viciphone?

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      sure . next time got free time I will create one

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      Its now up in the channel on how to configure viciphone : th-cam.com/video/mSSF-6gYbSw/w-d-xo.html

  • @arslanbashir2073
    @arslanbashir2073 2 ปีที่แล้ว +1

    Plz make one video on how to configure twillio with vicidial

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      The trunks are more or less the same. Just need to check if they are sending special sip packets and debug.

  • @rasel9836
    @rasel9836 ปีที่แล้ว

    Can you do a tutorial on inbound configuration for vicidla/asterisk 13.x and signalwire?

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว

      Hi @Ras Its too specific to be in the channel . Usually this specific requests I will record just for my patreon users. You can register here www.patreon.com/omidmohajerani if you are interested and submit your request. It will help to support my channel as well . Thank you

  • @umerashraf8118
    @umerashraf8118 ปีที่แล้ว

    hey omid after running command sip reload it show error chan_sip.c:28907 .......... wrong password. can you guide me about that.

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว

      wrong password shows that you have entered wrong password for your sip trunk

  • @arslanbashir2073
    @arslanbashir2073 2 ปีที่แล้ว +1

    can u plz make a video on that how Generate SSL Cert

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว +1

      Do you mean ssl cert to be used in vicidial web panel ? Because here for srtp self signed will work as per my video.

    • @arslanbashir2073
      @arslanbashir2073 2 ปีที่แล้ว

      @@omidmohajerani kindly check your email beacuse here i don't know what happened my comments get deleted automatically

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      @@arslanbashir2073 chmod 777 ast_tls_cert

  • @kawsarahamed2
    @kawsarahamed2 2 ปีที่แล้ว

    my SignalWire sip isn't working. What is the issue? I did as you showed.

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว +1

      Can be anything. Misconfiguration , your network , spelling , firewall , etc . You should learn how to troubleshoot sip and asterisk. In which sip registration state it fails ? If you can answer that you can solve your problem.

    • @kawsarahamed2
      @kawsarahamed2 2 ปีที่แล้ว

      This my carrier on Vicidial. What's wrong with this? As SignalWire confirmed that this configuration issue or Vicidial issue and they made calls from my account but i can't.

    • @kawsarahamed2
      @kawsarahamed2 2 ปีที่แล้ว

      It's showing- Notice" Registration time time out" on putty after commands

  • @omarsabra4434
    @omarsabra4434 ปีที่แล้ว

    Hey Omid, i want to say thanks for all of the amazing videos that you're providing for free!!,
    I have a problem registering my sip trunk the status is UNREACHABLE and it prints this error
    [Jun 11 23:24:54] NOTICE[14526]: chan_sip.c:16010 sip_reg_timeout: --
    Registration for 'username@host' timed out, trying again (Attempt #8)
    Thank you in advance.

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว

      Hi. This means that the server can not reach your sip trunk . If you are using host name check your DNS . ensure you have network connectivity to the server you want to have sip trunk to.

  • @musinmusin9096
    @musinmusin9096 ปีที่แล้ว

    hello omid, i need your help i have an error while trying to generate SSL certificate , i get the error " name or service not known" ..

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว +1

      you need to have a resolvable name on the Internet . It means you need to have a domain name for example xyz.com and then create an A record in your domain for example vicidial.xyz.com and point that to the ip address of your VICIdial server .

    • @musinmusin9096
      @musinmusin9096 ปีที่แล้ว

      @@omidmohajerani thanks sir .. i did managed to add a record of my vicidial server in a domain and i can access it but still i get the same error above , what could be the issue

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว +1

      @@musinmusin9096 so is it resolving from internet and from your server . I mean when you ping example.xyz.com does it answer with your ip address ?

    • @musinmusin9096
      @musinmusin9096 ปีที่แล้ว

      @@omidmohajerani yes it does ..

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว +1

      @@musinmusin9096 ok if you can ping your domain from your server then it may be internet connection . Can u tell me exactly which command you run that you get this message ?

  • @robertharbach8021
    @robertharbach8021 2 ปีที่แล้ว +1

    what dial plan to use to call out from jamaica.

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      Depends on how you are calling to international and local numbers there

    • @robertharbach8021
      @robertharbach8021 2 ปีที่แล้ว

      @@omidmohajerani I'm call +1 area code usa, my area code is 1876 jamaica remember I'm using signalwire I just need a dialplan for USA to do predictive dialing

    • @robertharbach8021
      @robertharbach8021 2 ปีที่แล้ว

      @@omidmohajerani can I paste my dialplan here

    • @robertharbach8021
      @robertharbach8021 2 ปีที่แล้ว +1

      @@omidmohajerani and remember the dialplan video sir thanks much 🙏

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      sure whenever got time will do. You can read here to learn : www.oreilly.com/library/view/asterisk-the-future/9780596510480/ch05.html

  • @robertharbach8021
    @robertharbach8021 2 ปีที่แล้ว

    carrier trunk show ok and register sngrep show register as well, I don't seem to know what is the problem.
    DIAL ALERT:
    Call Rejected: CHANUNAVAIL
    Cause: 3 - No route to destination.

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      you need to check asteirsk logs to see if your dialplan is correct . Also keep in mind that SignalWire needs to send number with + infront of the number . check the configurations in the github . github.com/Omid-Mohajerani/VICIdial/wiki/How-to-register-SIGNALWIRE-sip-trunk-as-carrier-in-VICIdial%3F

    • @leopool2143
      @leopool2143 2 ปีที่แล้ว +2

      @@omidmohajerani I don't know how to set a dial plan for calling from jamaica, the dialplan you are using is to make one test call, please can u make a dailplan for making calling outbound call to 🇺🇸

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว +2

      @@leopool2143 i have explained how it works in the video . Will create a video later on the dialplan later . You can search asterisk dialplan now to get more info

  • @M1647KS
    @M1647KS ปีที่แล้ว

    can this dialer sent text?

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว

      You need to be more specific by sending text.
      1 - Can the Dialer Agents chat with each other? Yes.
      2 - Can the Dialer Agents and Supervisor chat with each other? Yes
      3 - Can it send an SMS after the call? Yes, ofcourse you need and SMS webservice or GSM gateway that you need to buy separately.
      4 - Can it Send Bulk SMS ? No . Its not designed for it . There are other opensource solution such as Play SMS that are designed for that and can be integrated with VICIdial as well.

  • @robertharbach8021
    @robertharbach8021 2 ปีที่แล้ว +1

    ok we run the sngrep sip flow show register

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      Great

    • @robertharbach8021
      @robertharbach8021 2 ปีที่แล้ว

      @@omidmohajerani Call Rejected: CHANUNAVAIL
      Cause: 3 - No route to destination. This is the new error when try to make manual call

  • @robertharbach8021
    @robertharbach8021 2 ปีที่แล้ว

    DIAL ALERT:
    Call Rejected: CHANUNAVAIL
    Cause: 1 - Unallocated (unassigned) number.
    SIP: 404 - Not Found) manual dial test error message

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      try to restrict the codecs just to alaw and ulaw and try again once . if not solved you need to provide sip capture . I explained how to use in sngrep video.
      th-cam.com/video/MfLXXqK8wlA/w-d-xo.html
      to disallow codes and allow ulaw and alaw you can add this in your carrier
      disallow=all
      allow = alaw
      allow= ulaw

  • @today5928
    @today5928 2 ปีที่แล้ว

    Call Rejected: CHANUNAVAIL
    Cause: 1 - Unallocated (unassigned) number.
    SIP: 404 - Not Found)

    • @today5928
      @today5928 2 ปีที่แล้ว

      good day sir
      i'm unable to call out and i followed the steps you showed on the video
      sir please how can i solve this

    • @omidmohajerani
      @omidmohajerani  2 ปีที่แล้ว

      your trunk is propably up but in signalwire you need to go to settings and allow for international call. ( you need to submit some information such as IC ,etc ) ofcourse if you call the US number that I put in sample you should be able to call,

    • @30dhbtraining93
      @30dhbtraining93 ปีที่แล้ว

      did you ever figure this out because I am having the same issue?

  • @kawsarahamed2
    @kawsarahamed2 ปีที่แล้ว

    hi

  • @PharaohViCidial
    @PharaohViCidial ปีที่แล้ว

    First, Thank you for your great effort and your learning course
    second i got a error but couldn't get a solution for that:
    WARNING[14909]: chan_sip.c:4166 retrans_pkt: Timeout on 984559768-887390347-82311532 on non-critical invite transaction.

    • @omidmohajerani
      @omidmohajerani  ปีที่แล้ว

      Where so you get this error ? While you want to setup the trunk ?

    • @PharaohViCidial
      @PharaohViCidial ปีที่แล้ว

      @@omidmohajerani i could solve the problem but after i finished the sip trunk configuration with signal wire i got the below errors :
      ERROR[14752]: utils.c:1499 ast_careful_fwrite: fflush() returned error: Bad file descriptor
      ERROR[14752]: tcptls.c:488 tcptls_stream_close: SSL_shutdown() failed: error:00000005:lib(0):func(0):DH lib, Underlying BIO error: Bad file descriptor
      WebSocket connection from '156.214.41.199:59784' forcefully closed due to fatal write error
      WARNING[14752]: chan_sip.c:4166 retrans_pkt: Timeout on GOSLKMV4WBY1.1076682.CY1U2SKQSEAP on non-critical invite transaction.
      ** Also when i run the new list on my predictive campaign i didn't receive any call and it give me error with user login screen >> No one is in your session: 8600051
      please need your support