• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone

The forum for asterisk and voip discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Issue with Asterisk n-way call

 
Post new topic   Reply to topic     Forum Index -> Asterisk Questions - beginners
View previous topic :: View next topic  
Author Message
srireddy



Joined: 09 Mar 2010
Posts: 2

PostPosted: Tue Mar 09, 2010 7:58 am    Post subject: Issue with Asterisk n-way call Reply with quote

Hi,

I am using the n-way-call dialplan solution found on voip-info.

http://www.voip-info.org/wiki/view/Aste ... call+HOWTO

Here is my idea:

There are 3 users, User1,User2,User3

1. User1 calls User2 and during the call User1 sends user2 to free conference 444 by '*0' ,
2.User1 gets the dialtone, so calls user3 ,now user1 and user3 should be connected.

but when I try '*0' from user1 nothing happens on asterisk server, but from user2 , it starts n-way-start, will be connected to user3, user1 who initiates the call automatically disconnets from the call.

I need all three users should be connected.

Here is my dialplan:

********* extensions.conf *******************

[incoming]

exten => _XXX,1,Set(DYNAMIC_FEATURES=nway-start)
exten => _XXX,n,Dial(SIP/user2)

exten=> 200,2,Dial(SIP/user3)
exten=> 200,n,Hangup

exten=> 300,2,Dial(SIP/user1)
exten=> 300,n,Hangup

[dynamic-nway]
exten => _XXX,1,Answer
exten => _XXX,n,Set(CONFNO=${EXTEN})
exten => _XXX,n,Set(MEETME_EXIT_CONTEXT=dynamic-nway-invite)
exten => _XXX,n,Set(DYNAMIC_FEATURES=)
exten => _XXX,n,MeetMe(${CONFNO},pdMX)
exten => _XXX,n,Hangup

[dynamic-nway-invite]
exten => 0,1,Read(DEST,dial,,i)
exten => 0,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv)
exten => 0,n,Dial(Local/${DEST}@dynamic-nway-dest,,g)
exten => 0,n,Set(DYNAMIC_FEATURES=)
exten => 0,n,Goto(dynamic-nway,${CONFNO},1)
exten => i,1,Goto(dynamic-nway,${CONFNO},1)

[dynamic-nway-dest]
exten => _XXX,1,Dial(SIP/${EXTEN})

[macro-nway-start]
exten => s,1,Set(CONFNO=444)
exten => s,n,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)
exten => s,n,Read(DEST,dial,,i)
exten => s,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv)
exten => s,n,Dial(Local/${DEST}@dynamic-nway-dest,,g)
exten => s,n,Set(DYNAMIC_FEATURES=)
exten => s,n,Goto(dynamic-nway,${CONFNO},1)

[macro-nway-ok]
exten => s,1,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)

[macro-nway-notok]
exten => s,1,SoftHangup(${BRIDGEPEER})

***************** features.conf ******************

[applicationmap]
nway-start => *0,caller,Macro,nway-start
nway-inv => **,caller,Macro,nway-ok
nway-noinv => *#,caller,Macro,nway-notok


****************** sip.conf **************************

[user1]
type=friend
username=user1
secret=user1
quality=yes
host=dynamic
canreinvite=no
context=incoming

[user2]
type=friend
secret=user2
quality=yes
host=dynamic
canreinvite=no
context=incoming

[user3]
type=friend
secret=user3
quality=yes
host=dynamic
canreinvite=no
context=incoming

******************************************

Any idea ?

-Sri
Back to top
View user's profile Send private message
srireddy



Joined: 09 Mar 2010
Posts: 2

PostPosted: Tue Mar 09, 2010 11:10 am    Post subject: Reply with quote

I have removed static settings from the above extensions.conf file ,

now the follwing scenario works

when user1 and 2 are in call,

user1 press *0, user2 is transffered to conference 444, then user1 will get dialtone to enter user3 number, after that user1 and 3 are connected,
when user1 press **, now this disconnects user1 from the call, but the call will be going on between user2 and user3.

but in N-way, user1 should be able to invite user3 by pressing ** and at the same time user1 should be in call.

but here it is disconnecting user1 from the call.

Any suggestions ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Asterisk Questions - beginners All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™