Page 1 of 1

Can't do a sip transfer into inbound group on 2nd system

PostPosted: Tue Jun 10, 2014 8:10 pm
by ianteller
Hello All,
I am new to the forum. I bought the full manual (twice) and have been working with Vicidial for a little while. I have 2 complete systems I am doing a survey campaign on one and currently transfer by way of remote agent on the survey system to a DID on the second system. This DID rings into an inbound group. It all works great. Because both systems are on the same local network I would like to transfer from the survey system to an inbound group on the second system via sip to sip. The telephony servers on both systems have a registered sip connection to each. I do not have any dial plan entry in the sip connections between telephony servers however, when I do a "sip show registry" and a "sip show peers" they show a good connection on port 5060 between the systems. How can I do a sip to sip transfer using the remote agent's external transfer? Do I create a "fake" DID? If so how?
Thank You ALL in advance for any and all help and advice!
Ian

Re: Survey campaign sip transfer to second vicidial system

PostPosted: Wed Jun 11, 2014 11:31 pm
by williamconley
Well asked. And you included only your vicidial version with build. Kudos. It would be awesome if you would also include your installer method with version and a few other bits Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

That being said:

1) You could set up a Carrier on the Prospect dialer that registers to a "Phone" on the Agent dialer. Then be sure to change the Context of the Phon on the Agent dialer to "trunkinbound". Your dialplan entry for the Carrier on the Prospect dialer would then be used to dial a DID directly on the Agent dialer in the trunkinbound context ... and you're on.

2) You could also set up a Carrier on BOTH machines with IP authentication (IAX or SIP) and have that same capability.

Some people find it easier one way, some the other. Depends on your experience.

Re: Can't do a sip transfer into inbound group on 2nd system

PostPosted: Fri Jun 20, 2014 7:03 pm
by ianteller
Thank you VERY much for replying.
I Do have a carrier setup on both systems that successfully register to each other. I then created a DID on the inbound system (7771231111) that rings into the proper inbound group
I then created a SIP phone on the inbound system (8000)
I think I need to put code in the Conf Override: of the phone (8000) to point it directly to the DID *I need some guidance here
Then I believe I need to change the External Extension: of the remote agent in my servey campaign from 91XXX-XXX-XXXX to something like:
7771231111@192.168.0.24/inbound01 * I need some guidance here as well because this doesn't work.

I'm pretty sure I have the concept down, however, I simply can't get it to work.

THANK YOU ALL FOR ANY ADDITIONAL HELP!!!!!!

My config is below:

Here is the configuration for the survey01 box.

Carrier ID: inbound01

Registration String: register => survey01:testpass321@192.168.0.24/inbound01

Account Entry:
[inbound01]
type=friend
secret=testpass321
context=inbound01_incoming
host=dynamic
disallow=all
allow=ulaw

Protocol: SIP

Globals String: ?

Dialplan Entry: ?

Here is configuration for the inbound01 box.

Carrier ID: survey01

Registration String: register => inbound01:testpass321@192.168.0.5/survey01

Account Entry:
[survey01]
type=friend
secret=testpass321
context=survey01_incoming
host=dynamic
disallow=all
allow=ulaw

Protocol: SIP

Globals String: ?

Dialplan Entry: ?

Re: Can't do a sip transfer into inbound group on 2nd system

PostPosted: Tue Jul 01, 2014 10:47 pm
by ianteller
Anyone else have a take on doing this? I'm still stuck. I have been through the manual and have tried to make this work a few different ways with no luck.

THANKS!!!!!!!

Ian

Solved: sip transfer into inbound group on 2nd system

PostPosted: Wed Jul 23, 2014 12:39 pm
by ianteller
Thanks William!
1. Connected the two systems as password authenticated Sip carriers and verified their connections with "sip show peers"
2. Outbound context to send the call from "System A" to "System B" (977 is the extension to dial to hit system b:)
exten => _977.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _977.,2,Set(CALLERID(num)=${CALLERID(num):-10})
exten => _977.,n,Dial(SIP/${EXTEN:3}@systemb,,tTo)
exten => _977.,n,Hangup
3. I am using default inbound context to answer the call and send it to a "fake" DID I created in the system (4071110000)
4.From the remote agent on "System A" survey campaign I dial 9774071110000 to transfer the call. (this sends it to that DID, 4071110000 on "System B")