• 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 

Click2call disconnects too soon

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



Joined: 28 Jan 2010
Posts: 13
Location: Poznań / Poland

PostPosted: Tue Aug 24, 2010 8:41 pm    Post subject: Click2call disconnects too soon Reply with quote

So, I have a problem. I have a running asterisk system, where extension "pg" takes care of all the outgoing traffic. There is an AGI script written (I do not have access to that, it is compiled). I have a trunk to one of the wholesale voip opertators.

I want to connect two endpoints using a) Manager login b) .call filles copied to outgoing folder.

What do I do? The following:
(let's consider manager first)

Action: Login
Username: XXX
Secret: YYY

Action: Originate
Channel: SIP/trunkname/1234567234 (called number no.1)
Context: pg
Exten: 7275551212 (the other number)
Priority: 1
Callerid: Operator <1000>

Action: Logoff

This should, according to me, work, but I may be wrong. The idea is to call first party, let her hear the ringing tone, then dial the second number and connect these two parties. The first telefone rings (called by SIP/trunkname/....) but after it is picked up, it is disconnected. A php script will be written which will "talk" to the Asterisk as a manager and make him connect two endpoints.

Where is the problem?


Last edited by sopel1000 on Fri Aug 27, 2010 8:42 am; edited 1 time in total
Back to top
View user's profile Send private message
sopel1000



Joined: 28 Jan 2010
Posts: 13
Location: Pozna&#324; / Poland

PostPosted: Thu Aug 26, 2010 11:43 pm    Post subject: Reply with quote

HI, so I managed to make it not disconnect on a clean Asterisk. So, it rings one phone, then it rings the other one, but I cannot hear anything between them, like they were not bridged. No RTP. What is wrong?
Back to top
View user's profile Send private message
sopel1000



Joined: 28 Jan 2010
Posts: 13
Location: Pozna&#324; / Poland

PostPosted: Fri Aug 27, 2010 8:41 am    Post subject: Reply with quote

Does anyone EVER reply here? It's unbelieveable, I've posted already 6 posts, some were less demanding, some more and got no reply, why? I sincerely doubt that noone knows the answer... Neutral
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™