Call transferring, not channel bridging.

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Call transferring, not channel bridging.

Postby volodyaivanets » Mon Feb 01, 2016 10:21 am

Hello everyone,

I have Asterisk server with PRI line and need to transfer calls going to particular DID to external phone number. Here is dial plan part I have:

exten => did,1,Answer()
exten => did,n,System(/bin/echo ${CALLERID(name)}" | "${CALLERID(num)}" | "${CDR(start)}" | "${CDR(dst)}" | "${CDR(uniqueid)} >> /var/log/asterisk/custom/incoming-calls-forward.txt)
exten => did,n,Dial(DAHDI/g1/external_number)
exten => did,n,Hangup()


Eventually I'm creating second channel and bridging them together. And the problem is that I'm sending default caller ID name and number to "external_number". I could set callers ID's on outbound channel but some carriers don't like that.

Can someone please hint me how to do call transferring on Asterisk instead of what I'm currently doing.

Thanks a lot!
Last edited by volodyaivanets on Mon Feb 01, 2016 12:01 pm, edited 1 time in total.
volodyaivanets
Newsterisk
 
Posts: 21
Joined: Thu Jul 11, 2013 6:59 am

Re: Call transferring, not channel bridging.

Postby david55 » Mon Feb 01, 2016 10:30 am

I presume you mean on analogue lines.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Call transferring, not channel bridging.

Postby volodyaivanets » Mon Feb 01, 2016 12:06 pm

david55 wrote:I presume you mean on analogue lines.


Hello david55,

Thank you for quick response. Sorry, but I didn't actually understood where is the part in text that could be changed to "analog lines" and would make some difference to problem resolution.

Thanks again!
volodyaivanets
Newsterisk
 
Posts: 21
Joined: Thu Jul 11, 2013 6:59 am

Re: Call transferring, not channel bridging.

Postby david55 » Mon Feb 01, 2016 1:32 pm

If it was a SIP channel, you would use the Transfer application. I it is an analogue line, I believe the only way is to explicitly hook flash and send the DTMF transfer code. For a circuit switched digital line, I don't think there is any way of doing it.

Note that VoIP service providers probably won't honour transfers.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Call transferring, not channel bridging.

Postby volodyaivanets » Mon Feb 01, 2016 2:18 pm

david55 wrote:If it was a SIP channel, you would use the Transfer application. I it is an analogue line, I believe the only way is to explicitly hook flash and send the DTMF transfer code. For a circuit switched digital line, I don't think there is any way of doing it.

Note that VoIP service providers probably won't honour transfers.


Got it. Thank you for pointing me in the right direction!
volodyaivanets
Newsterisk
 
Posts: 21
Joined: Thu Jul 11, 2013 6:59 am


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 17 guests