[Freeswitch-users] Make error...

2009-12-22 Thread Klaus Hochlehnert
Hi all,

I just downloaded the newest trunk about 5 minutes ago and I got the following 
make error on Ubuntu 8.04:

gcc -E /usr/src/freeswitch/src/include/switch_cpp.h -DSWITCH_DECLARE_CLASS= 
-DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= 
-DSWITCH_DECLARE_NONSTD\(x\)=x 2/dev/null | grep -v ^#  
src/include/switch_swigable_cpp.h
make OUR_MODULES=$(if test -z  ; then tmp_mods=$(grep -v # 
/usr/src/freeswitch/modules.conf | sed -e s|^.*/|| | sort | uniq ); else 
tmp_mods= ; fi ; mods=$(for i in $tmp_mods ; do echo $i-all ; done ); echo 
$mods ) OUR_CLEAN_MODULES=$(if test -z  ; then tmp_mods=$(grep -v # 
/usr/src/freeswitch/modules.conf | sed -e s|^.*/|| | sort | uniq ); else 
tmp_mods= ; fi ; mods=$(for i in $tmp_mods ; do echo $i-clean ; done ); 
echo $mods ) OUR_INSTALL_MODULES=$(if test -z  ; then tmp_mods=$(grep -v 
# /usr/src/freeswitch/modules.conf | sed -e s|^.*/|| | sort | uniq ); else 
tmp_mods= ; fi ; mods=$(for i in $tmp_mods ; do echo $i-install ; done); 
echo $mods ) OUR_UNINSTALL_MODULES=$(if test -z  ; then tmp_mods=$(grep -v 
# /usr/src/freeswitch/modules.conf | sed -e s|^.*/|| | sort | uniq ); else 
tmp_mods= ; fi ; mods=$(for i in $tmp_mods ; do echo $i-uninstall ; done); 
echo $mods ) OUR_DISABLED_MODULES=$(tmp_mods=$(grep # 
/usr/src/freeswitch/modules.conf | grep -v ## | sed -e s|^.*/|| | sort | 
uniq ); mods=$(for i in $tmp_mods ; do echo $i-all ; done ); echo $mods ) 
OUR_DISABLED_CLEAN_MODULES=$(tmp_mods=$(grep # 
/usr/src/freeswitch/modules.conf | grep -v ## | sed -e s|^.*/|| | sort | 
uniq );  mods=$(for i in $tmp_mods ; do echo $i-clean ; done ); echo $mods 
) OUR_DISABLED_INSTALL_MODULES=$(tmp_mods=$(grep # 
/usr/src/freeswitch/modules.conf | grep -v ## | sed -e s|^.*/|| | sort | 
uniq ); mods=$(for i in $tmp_mods ; do echo $i-install ; done); echo $mods 
) OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods=$(grep # 
/usr/src/freeswitch/modules.conf | grep -v ## | sed -e s|^.*/|| | sort | 
uniq ); mods=$(for i in $tmp_mods ; do echo $i-uninstall ; done); echo $mods 
) `test -n  || echo -s` all-recursive
mkdir .libs
Compiling src/switch_apr.c ...
cc1: warnings being treated as errors
src/switch_apr.c: In function 'switch_uuid_parse':
src/switch_apr.c:899: warning: control reaches end of non-void function
make[1]: *** [libfreeswitch_la-switch_apr.lo] Error 1
make: *** [all] Error 2

Regards, Klaus
___
FreeSWITCH-users mailing list
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


Re: [Freeswitch-users] Make error...

2009-12-22 Thread Klaus Hochlehnert
I was on 16031.

Now I downloaded 16032 and currently the make is running.

-Original Message-
From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Jason White
Sent: Wednesday, December 23, 2009 12:38 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Make error...

Klaus Hochlehnert maili...@kh-dev.de wrote:
 src/switch_apr.c:899: warning: control reaches end of non-void function

Are you on rev. 16032?

As of 16032, this function shouldn't generate any such warning unless there's
a compiler bug.


___
FreeSWITCH-users mailing list
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



___
FreeSWITCH-users mailing list
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


Re: [Freeswitch-users] caller_id_name + caller_id_number and Snom 360...

2009-12-06 Thread Klaus Hochlehnert
Hi,

I just checked the SIP traces and it looks like FS sends a sipfrag message to 
the phone with
caller_id_name and caller_id_number instead of effective_caller_id_name and 
effective_caller_id_number values.

Thanks, Klaus


From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Klaus 
Hochlehnert
Sent: Sunday, December 06, 2009 4:04 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] caller_id_name + caller_id_number and Snom 360...

Hi,

currently I'm testing the newest FS trunk.
Now I need a hint how to set up an old behavior of version 1.0.4.

Here's the scenario:
- Incoming call from caller_id_name: abc and caller_id_number: 123
- Now I set effective_caller_id_name: xyz and effective_caller_id_number: 456
- Leg B (Snom 360) is ringing and displays the new values (xyz + 456)
- After the pickup the Leg B is switching back to the old values and displays 
abc + 123

But I would rather see the new values during the call (as it was in version 
1.0.4).
What do I need to change?

Thanks, Klaus


___
FreeSWITCH-users mailing list
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


Re: [Freeswitch-users] caller_id_name + caller_id_number and Snom 360...

2009-12-06 Thread Klaus Hochlehnert
Ok, set_profile_var did the trick and also works with intercepted calls.

Thanks, Klaus

From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Anthony 
Minessale
Sent: Sunday, December 06, 2009 8:32 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] caller_id_name + caller_id_number and Snom 
360...


Or set it to true depending on the case
Also consider using set_profile_var to set the caller id explicitly instead of 
using effective.  There is also effective_callee_id name and number you could 
set on the a leg.  You'll have to expirement but the one mathieu said is your 
best bet.

On Dec 6, 2009 12:47 PM, Mathieu Rene 
mrene_li...@avgs.camailto:mrene_li...@avgs.ca wrote:
Hi Klaus,

Try setting ignore_display_updates=false

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mr...@avgs.camailto:mr...@avgs.ca





On 6-Dec-09, at 1:38 PM, Klaus Hochlehnert wrote:

 Hi, I just checked the SIP traces and it looks like FS sends a sipfrag 
 message to the phone ...
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orgmailto: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


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orgmailto: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
___
FreeSWITCH-users mailing list
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


[Freeswitch-users] caller_id_name + caller_id_number and Snom 360...

2009-12-05 Thread Klaus Hochlehnert
Hi,

currently I'm testing the newest FS trunk.
Now I need a hint how to set up an old behavior of version 1.0.4.

Here's the scenario:
- Incoming call from caller_id_name: abc and caller_id_number: 123
- Now I set effective_caller_id_name: xyz and effective_caller_id_number: 456
- Leg B (Snom 360) is ringing and displays the new values (xyz + 456)
- After the pickup the Leg B is switching back to the old values and displays 
abc + 123

But I would rather see the new values during the call (as it was in version 
1.0.4).
What do I need to change?

Thanks, Klaus


___
FreeSWITCH-users mailing list
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


[Freeswitch-users] FS dies after some minutes

2009-11-23 Thread Klaus Hochlehnert
Hi,

I did a new installation with the trunk from Saturday (21. Nov.) and it always 
dies with a core after 5-10 minutes.
It happened several times.
After that I did a new installation of 1.0.4 and this runs without problems on 
the same host.
I'm using Ubuntu 8.04 Server with all patches.

Anyone else experiencing this problem?

Thanks, Klaus


Here's the bt:

#0  0x7f7aa2eb22fc in sofia_reg_nonce_callback (pArg=0x40f3ca50, 
argc=value optimized out, argv=0x7f7a9c006758,
columnNames=value optimized out) at 
../../../../src/include/switch_utils.h:78
#1  0x7f7aa91f4a12 in sqlite3_exec (db=0x7f7a9c00a6a0,
zSql=0x7f7a9c006cd0 select nonce from sip_authentication where 
nonce='b7ed6efa-d801-11de-a716-67cbb4a551f8',
xCallback=0x7f7aa2eb22d0 sofia_reg_nonce_callback, pArg=0x40f3ca50, 
pzErrMsg=0x40f3c680) at ./src/legacy.c:95
#2  0x7f7aa917b98d in switch_core_db_exec (db=0x7f7a9c00a6a0,
sql=0x7f7a9c006cd0 select nonce from sip_authentication where 
nonce='b7ed6efa-d801-11de-a716-67cbb4a551f8',
callback=0x7f7aa2eb22d0 sofia_reg_nonce_callback, data=0x40f3ca50, 
errmsg=0x40f3c6e8) at src/switch_core_db.c:93
#3  0x7f7aa2e985b1 in sofia_glue_execute_sql_callback (profile=0x72e940, 
mutex=0x0,
sql=0x7f7a9c006cd0 select nonce from sip_authentication where 
nonce='b7ed6efa-d801-11de-a716-67cbb4a551f8',
callback=0x7f7aa2eb22d0 sofia_reg_nonce_callback, pdata=0x40f3ca50) at 
sofia_glue.c:4297
#4  0x7f7aa2ead8ec in sofia_reg_parse_auth (profile=0x72e940, 
authorization=0x7f7a9c078ad0, sip=0x7f7a9c0695d8,
regstr=0x7f7aa2fe7137 REGISTER, np=0x40f3d940 
b7ed6efa-d801-11de-a716-67cbb4a551f8, nplen=128,
ip=0x40f3d840 10.134.38.59, v_event=0x40f3d930, exptime=3600, 
regtype=REG_REGISTER, to_user=0x7f7a9c0dd18e 29,
auth_params=0x40f3cd60, reg_count=0x40f3cd58) at sofia_reg.c:1704
#5  0x7f7aa2eb004a in sofia_reg_handle_register (nua=0x7f7a9c006810, 
profile=0x72e940, nh=0x7f7a9c0cdb20, sip=0x7f7a9c0695d8,
regtype=REG_REGISTER, key=0x40f3d940 
b7ed6efa-d801-11de-a716-67cbb4a551f8, keylen=0, v_event=0x40f3d930, 
is_nat=0x0)
at sofia_reg.c:888
#6  0x7f7aa2eb2f1c in sofia_reg_handle_sip_i_register (nua=0x7f7a9c006810, 
profile=0x72e940, nh=0x7f7a9c0cdb20,
sofia_private=value optimized out, sip=0x7f7a9c0695d8, tags=value 
optimized out) at sofia_reg.c:1362
#7  0x7f7aa2e9371c in sofia_event_callback (event=value optimized out, 
status=100, phrase=0x7f7a9c071700 Trying,
nua=0x7f7a9c006810, profile=0x72e940, nh=0x7f7a9c0cdb20, sofia_private=0x0, 
sip=0x7f7a9c0695d8, tags=0x7f7a9c0716f0)
at sofia.c:672
#8  0x7f7aa2f1119e in nua_application_event (dummy=0x0, sumsg=0x40f3dd10, 
ee=0x7f7a9c0716c8) at nua_stack.c:393
#9  0x7f7aa2f7e2c1 in su_base_port_execute_msgs (queue=0x0) at 
su_base_port.c:280
#10 0x7f7aa2f7e039 in su_base_port_getmsgs (self=0x721320) at 
su_base_port.c:202
#11 0x7f7aa2f7e5dc in su_base_port_step (self=0x721320, tout=0) at 
su_base_port.c:473
#12 0x7f7aa2f7b68e in su_port_step (self=0x721320, tout=1000) at 
su_port.h:340
#13 0x7f7aa2f7b656 in su_root_step (self=0x723320, tout=1000) at 
su_root.c:858
#14 0x7f7aa2e8d40a in sofia_profile_thread_run (thread=value optimized 
out, obj=value optimized out) at sofia.c:1194
#15 0x7f7aa88b63f7 in start_thread () from /lib/libpthread.so.0
#16 0x7f7aa7e20b4d in clone () from /lib/libc.so.6
#17 0x in ?? ()

___
FreeSWITCH-users mailing list
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


Re: [Freeswitch-users] Media got stuck after attended transfer...

2009-11-22 Thread Klaus Hochlehnert
For only sending and receiving that's true.

But my customer wants 2 things:
- Using HylaFAX as fax server, as there are a lot of client apps and other tools
- Connecting real fax machines using a Linksys/Cisco SPA2102 (as this is 
certified by their SIP/ISDN gateway vendor)

So I could really need t38 handling in FS to don't make things more complicated 
as they already are... J
Proxy mode doesn't work for me because it gives an error when 
resume-media-on-hold is set.

Klaus

From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Tihomir 
Culjaga
Sent: Sunday, November 22, 2009 1:15 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Media got stuck after attended transfer...

it is better to enhance mod_fax with t.38 support... we have done sometihng and 
it is close to be work...

T.
On Sat, Nov 21, 2009 at 2:17 AM, Michael Jerris 
m...@jerris.commailto:m...@jerris.com wrote:
I think a better approach here is to use spandsp.  We already have some 
groundwork done for this.  If you are interested in contributing, please email 
consult...@freeswitch.orgmailto:consult...@freeswitch.org and we can discuss 
further.

Mike

On Nov 19, 2009, at 6:54 PM, Klaus Hochlehnert wrote:

Hi,

one of my customers is willing to contribute for t38 integration.

The basic idea is to connect HylaFAX to FS:
  t38modem - FreeSWITCH - Media Gateway with t38 support
All this without media proxy.

Another idea might be to implement t38 origination/termination with a class 1 
modem input/output for use with HylaFAX.

Do you know how much money we need to collect for t38 support?
How much time is needed for implementing this?

Thanks, Klaus


From: 
freeswitch-users-boun...@lists.freeswitch.orgmailto:freeswitch-users-boun...@lists.freeswitch.org
 
[mailto:freeswitch-users-boun...@lists.freeswitch.orgmailto:freeswitch-users-boun...@lists.freeswitch.org]
 On Behalf Of Michael Collins
Sent: Friday, October 16, 2009 2:10 AM
To: 
freeswitch-users@lists.freeswitch.orgmailto:freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Media got stuck after attended transfer...


On Thu, Oct 15, 2009 at 11:54 AM, Tihomir Culjaga 
tculj...@gmail.commailto:tculj...@gmail.com wrote:
hi, any clue when can t38 be added?

Eventually. :)  Of course, if we could get more to add to the bounty it might 
grease the wheels of innovation.

http://wiki.freeswitch.org/wiki/Bounty#spanDSP_.2B_t.38_.28origination.2C_termination.2C_.26_gateway.29_in_Freeswitch

Of course, I was listening to my A.M radio the other day and they said that 
there was this new invention called the Internet that would let people send 
documents to each other electronically. Maybe you should look into that. Next 
thing you know they'll come up with telephones that people don't have to plug 
into the wall and can take with them in the car. ;)

-MC
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orgmailto: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


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orgmailto: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

___
FreeSWITCH-users mailing list
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


Re: [Freeswitch-users] Media got stuck after attended transfer...

2009-11-19 Thread Klaus Hochlehnert
Hi,

one of my customers is willing to contribute for t38 integration.

The basic idea is to connect HylaFAX to FS:
  t38modem - FreeSWITCH - Media Gateway with t38 support
All this without media proxy.

Another idea might be to implement t38 origination/termination with a class 1 
modem input/output for use with HylaFAX.

Do you know how much money we need to collect for t38 support?
How much time is needed for implementing this?

Thanks, Klaus


From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Michael 
Collins
Sent: Friday, October 16, 2009 2:10 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Media got stuck after attended transfer...


On Thu, Oct 15, 2009 at 11:54 AM, Tihomir Culjaga 
tculj...@gmail.commailto:tculj...@gmail.com wrote:
hi, any clue when can t38 be added?

Eventually. :)  Of course, if we could get more to add to the bounty it might 
grease the wheels of innovation.

http://wiki.freeswitch.org/wiki/Bounty#spanDSP_.2B_t.38_.28origination.2C_termination.2C_.26_gateway.29_in_Freeswitch

Of course, I was listening to my A.M radio the other day and they said that 
there was this new invention called the Internet that would let people send 
documents to each other electronically. Maybe you should look into that. Next 
thing you know they'll come up with telephones that people don't have to plug 
into the wall and can take with them in the car. ;)

-MC
___
FreeSWITCH-users mailing list
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


[Freeswitch-users] Strange problems after upgrade...

2009-10-14 Thread Klaus Hochlehnert
Hi,

I just upgraded FS from 15094 to 15161 and after the upgrade I have the 
following problem:
I use t38modem together with a SIP/ISDN gateway.

With the old release everything fax related works fine. I call the fax - I 
hear a fax tone.
With the new release I call the fax - I don't hear a fax tone. The modem 
answers the call but there's no media.

I use proxy_media=true, bypass_media=false and inbound-late-negotiation=true.

Is there anything else I need to do with the new release?

Thanks, Klaus
___
FreeSWITCH-users mailing list
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


[Freeswitch-users] Problem with transfer and Snom phones...

2009-10-12 Thread Klaus Hochlehnert
Hi,

I'm facing an issue and I don't know why this happens or what I can do to solve 
this.

Here's the scenario:
- FS call timeout set to 30 sec
- Setting continue_on_fail=true and hangup_after_bridge=false
- 1 Snom phone and an external SIP/ISDN gateway (Lancom) connected to FS 
established a call and talk to each other (dir. from GW to Phone)
- The called phone transfers the call to another internal Snom using the 
transfer button on the phone
- The third phone doesn't answer and after 30 sec the call gets hung up with 
status NORMAL_CLEARING

Actually I want the call back to the initiator of the transfer if the 3rd phone 
doesn't answer.

Can anyone tell me why this happens and how I can set it up to do what I want?

Thanks, Klaus

P.S.: I'm using FS trunk from last week and newest Snom Firmware

___
FreeSWITCH-users mailing list
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


Re: [Freeswitch-users] Changing callerid before/after call pickup

2009-10-08 Thread Klaus Hochlehnert
Sorry for hijacking. Didn't know that the mailing list system finds out about 
that... ;-)

Will do the update in the next days and try again.

Today I tried with the command  send_display.
This workaround currently works for me.

Thanks, Klaus


From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Michael 
Collins
Sent: Friday, October 09, 2009 12:54 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Changing callerid before/after call pickup

Also,

I failed to mention two things:
#1 - Please don't hijack threads. :)
#2 - Update to the latest SVN and try again. You might be pleasantly surprised.

-MC
On Wed, Oct 7, 2009 at 6:46 PM, Klaus Hochlehnert 
maili...@kh-dev.demailto:maili...@kh-dev.de wrote:
Hi,

currently I'm playing around with call pickup and Snom phones.
I'm using the intercept function for that.

My problem is now that after the call pickup (which works fine) I don't see 
the caller id of the original call.
Instead I see the pickup code, e.g. *820

I've tried to change nearly every channel variable (before doing the call 
pickup), but the phone won't display the caller id.

Does anybody know how to change that?

Thanks, Klaus


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orgmailto: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

___
FreeSWITCH-users mailing list
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


[Freeswitch-users] Changing callerid before/after call pickup

2009-10-07 Thread Klaus Hochlehnert
Hi,

currently I'm playing around with call pickup and Snom phones.
I'm using the intercept function for that.

My problem is now that after the call pickup (which works fine) I don't see 
the caller id of the original call.
Instead I see the pickup code, e.g. *820

I've tried to change nearly every channel variable (before doing the call 
pickup), but the phone won't display the caller id.

Does anybody know how to change that?

Thanks, Klaus


___
FreeSWITCH-users mailing list
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


[Freeswitch-users] Result of an application...

2009-06-27 Thread Klaus Hochlehnert
Hi,

maybe a stupid question, but how can I find out the result of an application?

If I do (in perl)  $session-execute(bridge, user/${destn...@$vars{domain});

How do I know if this was successful or if the user was busy or if the phone 
doesn't exist?
Is there any status variable for the result of an execute (or even any other 
command)?

Thanks, Klaus
___
Freeswitch-users mailing list
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


[Freeswitch-users] hangup hook after intercept doesn't get triggered...

2009-06-26 Thread Klaus Hochlehnert
Hi all,

I'm just writing a perl script as dialplan to learn how to handle freeswitch.

Now I have the issue that my hangup hook won't be triggered after I intercepted 
a call.
A normal hangup triggers the function.

Does anybody have a hint how to get the hangup hook triggered?

Thanks, Klaus
___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] hangup hook after intercept doesn't get triggered...

2009-06-26 Thread Klaus Hochlehnert
Actually one of my first actions in the script is
  $session-setHangupHook('on_hangup');

When a call comes in the hook is set and working.

The second time the script is called when I try to intercept. As it's the same 
script there's also the function setHangupHook called.
That's what I've currently done.

How can I set up the hook for the new bridge?
Or is there a possibility to set a global hook?

Thanks, Klaus


From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Brian West
Sent: Friday, June 26, 2009 10:07 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] hangup hook after intercept doesn't get 
triggered...

Depends what side of the call was the hangup hook on?

/b

On Jun 26, 2009, at 2:48 PM, Klaus Hochlehnert wrote:


Hi all,

I'm just writing a perl script as dialplan to learn how to handle freeswitch.

Now I have the issue that my hangup hook won't be triggered after I intercepted 
a call.
A normal hangup triggers the function.

Does anybody have a hint how to get the hangup hook triggered?

Thanks, Klaus
__

___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] hangup hook after intercept doesn't get triggered...

2009-06-26 Thread Klaus Hochlehnert
Ok, and how can I ask the hook to come with me?

If I understand this right...
When a call comes in the hook is set on the a-leg and it rings on the b-leg.
When I do an intercept I kill the ringing b-leg and the interceptor is now the 
new b-leg, right?
I would assume that the old a-leg still has the hook on it or this wrong.

Thanks, Klaus

From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Brian West
Sent: Friday, June 26, 2009 10:28 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] hangup hook after intercept doesn't get 
triggered...

well in your case I suspect your intercepting the leg of the call without the 
hook on it.

/b

On Jun 26, 2009, at 3:22 PM, Klaus Hochlehnert wrote:


Actually one of my first actions in the script is
  $session-setHangupHook('on_hangup');

When a call comes in the hook is set and working.

The second time the script is called when I try to intercept. As it's the same 
script there's also the function setHangupHook called.
That's what I've currently done.

How can I set up the hook for the new bridge?
Or is there a possibility to set a global hook?

Thanks, Klaus

___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] hangup hook after intercept doesn't get triggered...

2009-06-26 Thread Klaus Hochlehnert
);

  while (my @data = $sth-fetchrow_array()) {
$intercept_extension = $data[0];
$intercept_uuid = $data[1];
  }

  logInfo(Intercept call from '$intercept_extension' - '$intercept_uuid');

  GETV(caller_id_number);
  $dbh-do(update current_calls set extension = '$VARS{caller_id_number}' 
where uuid = '$intercept_uuid');
  $dbh-commit();

  $session-answer();
  $session-execute(intercept, $intercept_uuid);
  $session-execute(sleep, 1000);
}

$dbh-disconnect();

return 1;





From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Michael 
Collins
Sent: Friday, June 26, 2009 10:57 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] hangup hook after intercept doesn't get 
triggered...

Can you paste in your script so we can see what is going on?
-MC
On Fri, Jun 26, 2009 at 1:39 PM, Klaus Hochlehnert 
maili...@kh-dev.demailto:maili...@kh-dev.de wrote:

Ok, and how can I ask the hook to come with me?



If I understand this right...

When a call comes in the hook is set on the a-leg and it rings on the b-leg.

When I do an intercept I kill the ringing b-leg and the interceptor is now the 
new b-leg, right?

I would assume that the old a-leg still has the hook on it or this wrong.



Thanks, Klaus



From: 
freeswitch-users-boun...@lists.freeswitch.orgmailto:freeswitch-users-boun...@lists.freeswitch.org
 
[mailto:freeswitch-users-boun...@lists.freeswitch.orgmailto:freeswitch-users-boun...@lists.freeswitch.org]
 On Behalf Of Brian West
Sent: Friday, June 26, 2009 10:28 PM

To: 
freeswitch-users@lists.freeswitch.orgmailto:freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] hangup hook after intercept doesn't get 
triggered...



well in your case I suspect your intercepting the leg of the call without the 
hook on it.



/b



On Jun 26, 2009, at 3:22 PM, Klaus Hochlehnert wrote:



Actually one of my first actions in the script is

  $session-setHangupHook('on_hangup');



When a call comes in the hook is set and working.



The second time the script is called when I try to intercept. As it's the same 
script there's also the function setHangupHook called.

That's what I've currently done.



How can I set up the hook for the new bridge?

Or is there a possibility to set a global hook?



Thanks, Klaus



___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.orgmailto: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

___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] hangup hook after intercept doesn't get triggered...

2009-06-26 Thread Klaus Hochlehnert
I used the Project FS Scripts. Hope that's ok.

From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Brian West
Sent: Saturday, June 27, 2009 1:28 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] hangup hook after intercept doesn't get 
triggered...

Please open the jira and attach all this and the xml dialplan to execute it .. 
also the schema for the db would be helpful also.

Thanks,
/b

On Jun 26, 2009, at 6:16 PM, Klaus Hochlehnert wrote:


Brian told me to open a jira, what I did now.


___
Freeswitch-users mailing list
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


[Freeswitch-users] t38modem without registration...

2009-06-13 Thread Klaus Hochlehnert
Hi all,

maybe someone can help me here.

For some compatibility issues I need to use an older version of t38modem which 
doesn't support SIP registration.
Incoming faxes work well, but I don't know how to set this up for outgoing 
faxes.

So, how can I setup this with FS for outgoing faxes without SIP registration?

Thanks, Klaus

___
Freeswitch-users mailing list
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


[Freeswitch-users] Question about BLF...

2009-02-22 Thread Klaus Hochlehnert
Hi,

I'm just playing around with FreeSWITCH and I have 2 questions about BLF
(with SNOM phones):

- When I played around with the sample dial plan I found out that BLF works
better than Asterisk, but not 100% right:
   When phone 1000 gets a call the BLF lamp on phone 1001 blinks and after
phone 1000 takes the call the lamp on phone 1001 is on
   But when phone 1000 gets a second call, takes it and hangs up the lamp
on phone 1001 turns off even if the first call is still active
   Is that a problem or did I do something wrong???


- Second question is how can I set up BLF if I want to have my dial plan
completely in a perl script (no XML besides calling the perl script)?

Thanks, Klaus


___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] Perl error when compiling

2009-02-16 Thread Klaus Hochlehnert

Hi,
 
install libdb development files, e.g. for Ubuntu/Debian:
aptitude install libdb-dev
 
Regards, Klaus From: asannu...@gmail.com To: 
freeswitch-users@lists.freeswitch.org Date: Mon, 16 Feb 2009 10:24:30 -0500 
Subject: [Freeswitch-users] Perl error when compiling  Hi,  when y try to 
compiling perl module on freeswitch (from tarball 1.0.3RC1) I have this 
error:  making all mod_perl Creating mod_perl.so... /usr/bin/ld: cannot 
find -ldb collect2: ld returned 1 exit status  Any idea?  Thank you  - 
Andrea -   ___ Freeswitch-users 
mailing list 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
_
http://redirect.gimas.net/?n=M0902xHMMobile
Nie wieder eine Mail verpassen mit Hotmail fürs Handy!___
Freeswitch-users mailing list
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