[asterisk-dev] Help with Transfer

Newman Thurairatnam newman.thurairatnam at aheeva.com
Mon Aug 19 13:01:47 CDT 2013


Hello,

I'm debugging a piece of software that is suppose to do a transfer (it runs on Asterisk 1.4.43). I run into the following issues


(Sip / HardPhone)  <----->  (Asterisk)  <----->  (SoftPhone / Application)   (Agent 1)

Here Agent 1 logs on to the application through the asterisk using a sip channel (ex. 7001)


  (Asterisk)  <----->  (SoftPhone / Application)   (Agent 2)



Here Agent 2 logs on to the application through the asterisk using an iax2 channel (ex. 2002)

If a client calls the agent he is connected through a sip channel ( ex. 7003)
 
If Agent 1 receive the client's call  the picture looks like this

                                       (Sip/Hardphone 7003)
                                                  |
                                                  |
                                                  v
(Sip / HardPhone 7001)  <----->  (Asterisk)  <----->  (SoftPhone / Application)   (Agent 1)



Now when I transfer to Agent 2  I would like to get this 

                                       (Sip/Hardphone 7003)
                                                  |
                                                  |
                                                  v
                                        (Asterisk)  <----->  (SoftPhone / Application)   (Agent 2)



But I unfortunately get this

                                     (Sip/Hardphone 7003)
                                                  |
                                                  |
                                                  v
(Sip / HardPhone 7001)  <----->  (Asterisk)  <----->  (SoftPhone / Application)   (Agent 2)



MY QUESTION

Is there a way for me to rip out this connection between (Sip/Hardphone 7003) and (Sip/Hardphone 7001) while still keep Agent 1 connected to (Sip/Hardphone 7001) ? Any help would be HIGHLY appreciated.




Regards,
Newman Thurairatnam

Regards,
Newman Thurairatnam





More information about the asterisk-dev mailing list