Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Execute on answer only executes once?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jbr at consiglia.dk
Guest





PostPosted: Tue Sep 23, 2008 9:51 am    Post subject: [Freeswitch-users] Execute on answer only executes once? Reply with quote

I have set up the internal extensions to execute on answer. When I from A call B, it works OK. If I make an unattended transfer from B to C, thus setting up a connection between A and C, it does not execute when C answers. It this intentional, and is there a way around it to get it to execute every time? /Jon
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Sep 23, 2008 10:01 am    Post subject: [Freeswitch-users] Execute on answer only executes once? Reply with quote

Check your profile.

<!--<param name="apply-nat-acl" value="rfc1918"/>-->
<!--<param name="aggressive-nat-detection" value="true"/>-->


Comment out those two lines.


/n


On Sep 23, 2008, at 7:49 AM, Jon Bruel wrote:
Quote:

I have set up the internal extensions to execute on answer. When I from A call B, it works OK. If I make an unattended transfer from B to C, thus setting up a connection between A and C, it does not execute when C answers. It this intentional, and is there a way around it to get it to execute every time? /Jon

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
jbr at consiglia.dk
Guest





PostPosted: Tue Sep 23, 2008 2:46 pm    Post subject: [Freeswitch-users] Execute on answer only executes once? Reply with quote

These setting are as listed (without that I could not make a “moved temporary” from the B-phone). The unattended transfer works as it should, the only thing is that the aexecute-on.answer script isn’t fired.

Check your profile.

<!--<param name="apply-nat-acl" value="rfc1918"/>-->
<!--<param name="aggressive-nat-detection" value="true"/>-->

Comment out those two lines.

/n

On Sep 23, 2008, at 7:49 AM, Jon Bruel wrote:

Quote:
I have set up the internal extensions to execute on answer. When I
from A call B, it works OK. If I make an unattended transfer from B to
C, thus setting up a connection between A and C, it does not execute
when C answers. It this intentional, and is there a way around it to
get it to execute every time? /Jon


Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Sep 23, 2008 6:59 pm    Post subject: [Freeswitch-users] Execute on answer only executes once? Reply with quote

the C channel itself needs to have the execute_on_answer variable set, you need to make sure whatever extension you dial
to reach C is properly installing that variable.

I am getting the impression from all these emails that you are fighting the paradigm of freeswitch or you would not
run into so many problems, you may want to take a closer look at your approach.


On Tue, Sep 23, 2008 at 2:44 PM, Jon Bruel <jbr@consiglia.dk (jbr@consiglia.dk)> wrote:
Quote:

These setting are as listed (without that I could not make a "moved temporary" from the B-phone). The unattended transfer works as it should, the only thing is that the aexecute-on.answer script isn't fired.

Check your profile.

<!--<param name="apply-nat-acl" value="rfc1918"/>-->
<!--<param name="aggressive-nat-detection" value="true"/>-->

Comment out those two lines.

/n

On Sep 23, 2008, at 7:49 AM, Jon Bruel wrote:

Quote:
I have set up the internal extensions to execute on answer. When I
from A call B, it works OK. If I make an unattended transfer from B to
C, thus setting up a connection between A and C, it does not execute
when C answers. It this intentional, and is there a way around it to
get it to execute every time? /Jon





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
jbr at consiglia.dk
Guest





PostPosted: Wed Sep 24, 2008 1:44 am    Post subject: [Freeswitch-users] Execute on answer only executes once? Reply with quote

Thank for the many answers. And Anthony, you are right about understanding the paradigm. I need something written by a person, who is new to it. Many articles require pre-knowledge about programming details – and I’m not there yet.
Anyhow, I think this case is straight forward. Again to repeat: A (ext. 1000) calls B (ext. 1002) which answers. A (ext. 1000) makes an unattended transfer to C (ext. 1001) which answers. The unattended transfer goes through the same dialplan as before. After the transfer, B is connected to C. And as I understand it: no dialplan has told B to go anywhere after answer, so nothing happens. So maybe I should rephrase my problem: What should I do in this case to obtain the desired result: that a specific dialplan code is executed after B connects to C? /Jon
Back to top
jbr at consiglia.dk
Guest





PostPosted: Wed Sep 24, 2008 3:00 am    Post subject: [Freeswitch-users] Execute on answer only executes once? Reply with quote

I have solved the problem. The variable execute_on_answer must be set as an inherited variable, e.g. by “export” instead of by “set”. I hope my many “beginners questions” will give someone food for thought for a really pedagogical bundle of documentation. /Jon
Back to top
ivan at myrvold.org
Guest





PostPosted: Wed Sep 24, 2008 3:34 am    Post subject: [Freeswitch-users] Execute on answer only executes once? Reply with quote

Jon,
Can you please click the new message button, when you want to make a new thread, instead of clicking the reply button and change the subject?This thread now have 6 or 7 different subjects.


Ivan

Den 24. sep.. 2008 kl. 09:55 skrev Jon Bruel:
Quote:

I have solved the problem. The variable execute_on_answer must be set as an inherited variable, e.g. by “export” instead of by “set”. I hope my many “beginners questions” will give someone food for thought for a really pedagogical bundle of documentation. /Jon
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
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

VoiceMeUp - Corporate & Wholesale VoIP Services