Page 1 of 1

Assigning Ports in Gateway

PostPosted: Fri Aug 05, 2022 2:09 am
by galajits@gmail.com
Hello

We are using Vicibox 9 flawlessly. We recently got Synway GSM 32 port Gateway. I want to configure Dialer in a way where every caller will be assigned a specific port and calls will get routed through that port only. What changes / addition do I need to do in extensions.conf/sip.conf.

Please help

Re: Assigning Ports in Gateway

PostPosted: Sat Aug 06, 2022 4:50 am
by galajits@gmail.com
Please help

Re: Assigning Ports in Gateway

PostPosted: Mon Aug 08, 2022 10:02 am
by striker
you need to create port group and SIP Endpoint group

reference to configure synway.
https://www.striker24x7.com/2016/03/how ... teway.html

Reach me on skype striker24x7 for support
or telegram https://t.me/striker24x7

Re: Assigning Ports in Gateway

PostPosted: Mon Aug 08, 2022 10:50 am
by galajits@gmail.com
Thanks for the repsonse Striker, With this configuration, If I have 10 callers making manual dial at the same time, which port will be assigned to which caller. Where do I define that in GSM gateway and in vicibox.

like - lets say I have caller A, B and C, I want whenever caller A will dial any number from vicidial, it will get routed through port 1 of GSM, similairly, for Caller B, all the calls will go through port 2 and Caller C's call will go through port 3 and so on. I want to assign specific ports to specific callers.

I have configured GSM gateway sucessfully in a way that calls gets routed dynamically from any port which is free. but I want it to get configured for a caller wise port wise.

Thanks for your response once again in advance.

Re: Assigning Ports in Gateway

PostPosted: Tue Aug 09, 2022 1:13 am
by striker
are they dialling manuall from softphone/hardphone or login as agent and dialing manual from agent screen?


if you check my article, step 2, create a port group ,here you need to create port group per index
index 1 - port 1 , sip use gsm1001
index 2- port 2, sip user gsm 1002 ......

then in vicidial you need to have gsm1001, gsm1002 sip peer.
if they aredialing manualy from softphone, then you can change there phone conext whcih has its own dialplan ..
[cotext1]
exten => _9X.,1,Dial(gsm1001/${EXTEN})
[context2]
exten => _9x.,1,Dial(gsm1002/${EXTEN})

Re: Assigning Ports in Gateway

PostPosted: Mon Aug 22, 2022 11:47 am
by galajits@gmail.com
Thanks Striker. This helped me get going.. Your are the master.

Re: Assigning Ports in Gateway

PostPosted: Mon Dec 19, 2022 7:22 am
by galajits@gmail.com
Hello

I have configured 1001 with the same manner you told me to do, however, for some reason, whenever I dial any mobile number, it dial 1001 and my zoipper rings instead of call going to Synway gateway under port 22

Below are the settings I did

My Sip.conf

[1001]
username=1001
secret=tesing
accountcode=1001
dtmfmode=rfc2833
qualify=yes
nat=force_rport,comedia
type=friend
host=dynamic
insecure=port,invite

extentions.conf
[default]
include => vicidial-auto

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,n,Dial(SIP/1001/+91${EXTEN:1},,tToR)
exten => _9X.,n,Hangup()


Below are the images of Synway gsm config which you mentioned in step 2 of your article
https://ibb.co/t3dM2Yx

Re: Assigning Ports in Gateway

PostPosted: Tue Dec 20, 2022 12:05 am
by striker
you need to create a sip account that is unique to gsm registration
as said in my blog gsm222.

1001 you already registered in zoiper. dont use that to register in gsm gateway..

Re: Assigning Ports in Gateway

PostPosted: Tue Dec 20, 2022 1:56 am
by galajits@gmail.com
Yes I did the same, I have registered GSM gateway with userid - 2612 and created the same sip account in sip.confs instead of gsm222.

After doing some research and changes, now, I am able to pass the call to GSM gateway, but all the calls are getting routed to same port.

I registered phone extension in zoipper as 1001 and when dialed by mobile number, call went through port 24 of gsm gateway, but when i registered another phone - 9001 in zoipper and dialed my phone number, instead of port 23, call went from port 24.

how do I tell gsm gateway that when call comes from sip account 9001, route the call to port 23 and not 24

Re: Assigning Ports in Gateway

PostPosted: Wed Feb 22, 2023 1:48 am
by galajits@gmail.com
Thanks a ton to striker for helping me get outbound calls working.... Now I am stuck for incoming calls... phew.. I made the required changes / configuration in gateway and created ingroup and DID in dialer.

What is happening is - when caller dial the number from outside to reach the agent, it first asks caller to dial the extension number. Once extension is entered, incoming call lands on to agent's Zoipper and it rings instead of call landing on Agent's screen.

Please help me know where I am going wrong..

Below is the configuration i made in Gateway

Under Tel->IP, I entered
source port group of agent
CallerID Prefix: *
CalleeID Prefix: phone extension of Agent
Destination IP: IP of Vicibox dialer.

Same config is done under IP->Tel/IP CalleeID Number Manipulation Rule

Please help as there are around 150 odd calls getting abandoned because of calls not able to land to Agent's screen.

Applogise if I missed anything to mention.

Re: Assigning Ports in Gateway

PostPosted: Wed Feb 22, 2023 8:03 am
by galajits@gmail.com
Please help

Re: Assigning Ports in Gateway

PostPosted: Mon Feb 27, 2023 6:57 am
by galajits@gmail.com
Is there no one who can help me on this?