Add something to ext-group-custom

MageMinds

Joined
Jun 26, 2008
Messages
55
Likes
0
Points
0
#1
Hi,

I want to add something to ext-group-custom which is included in ext-group, my Ring Group is 600 and I want to execute a system command before making the 600 group ring. I don't know how to build that, since the first line of the ext-group is "exten => 600,1,..." I can't put an other "exten => 600,1,..." in the custom context...

How can I execute that
Code:
exten => 600,1,System(/bin/echo -n -e "${CALLERID(name)}\\n${CALLERID(num)}\\n" | nc -w 1 10.77.2.20 10629)
I don't care if the rule would be fired for every ring group, I only have one.

Oh and by the way this is a command to send to a YAC (Yet An other CallerID) listener that run on my media center (Media Portal).

Right now I'm using a custom context, but every phone number that call me get send to the YAC even if the call is being handled by the PBX and doesn't get to the ring group. If so, I don't want to see it, I only want to see the caller id on my screen when my ring group actually ring...

Thanks in advance

MageMinds
 

nodonorte

Joined
Nov 22, 2010
Messages
1
Likes
0
Points
0
#2
did u found any solution?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,966
Messages
131,025
Members
17,676
Latest member
Ruddy
Top