Re: [asterisk-users] DUNDi, regcontext, softphones.. fail.

2007-10-09 Thread Kyle Sexton
JR Richardson [EMAIL PROTECTED] writes:

 I'm having an issue deploying softphones into my DUNDi/regcontext
 setup.  My current design is that all SIP users get registered into a
 sipregistration context in the sip.conf.  I then have a dialplan
 function that includes that and does the dial:
 
 include = sipregistration
 exten = _,2,Answer()
 exten = _,3,Wait(1)
 exten = _,4,NoOp(sipregistration call - Name: ${CALLERID(name)}  Num:
 ${CALLERID(num)})
 exten = _,5,Macro(stdexten,${EXTEN},SIP/${EXTEN})  ; 913-563-77XX
 
 This works really well for hard phones.  They register, exist in the
 sipregistration context and are dialed on whichever server they register
 by DUNDi.  I only started to run into problems when I had to deploy
 softphones.
 
 The softphones register when they are up and running, and the system
 works as designed.  But when they close their softphone, there's no way
 for the system to know where the extension is, so the call dies.  It
 doesn't go to voicemail like I would like it to because that extension
 never proceeds through my dialplan.
 
 Looking for suggestions on getting around this so I can keep deploying
 soft phones to agents in the field.

 Just use an 'invalid' extension to send the call to voicemail or something.

 exten = i,1,Voicemail(u${INVALID_EXTEN})


I would *love* for it to be that simple, but I'm not doing this from an
IVR.  Voip-Info says about the 'i' extension:

The 'i' extension only gets fired when there's a prompt or input been
made with 'background'. You can set up a 'exten = i,1...' to prompt for
wrong keypresses - insult the user and so on. So this wont work if
someone just dials somthing wrong. 

-- 
Kyle Sexton

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DUNDi, regcontext, softphones.. fail.

2007-10-09 Thread Michiel van Baak
On 18:04, Tue 09 Oct 07, Kyle Sexton wrote:
 JR Richardson [EMAIL PROTECTED] writes:
 
  I'm having an issue deploying softphones into my DUNDi/regcontext
  setup.  My current design is that all SIP users get registered into a
  sipregistration context in the sip.conf.  I then have a dialplan
  function that includes that and does the dial:
  
  include = sipregistration
  exten = _,2,Answer()
  exten = _,3,Wait(1)
  exten = _,4,NoOp(sipregistration call - Name: ${CALLERID(name)}  Num:
  ${CALLERID(num)})
  exten = _,5,Macro(stdexten,${EXTEN},SIP/${EXTEN})  ; 913-563-77XX
  
  This works really well for hard phones.  They register, exist in the
  sipregistration context and are dialed on whichever server they register
  by DUNDi.  I only started to run into problems when I had to deploy
  softphones.
  
  The softphones register when they are up and running, and the system
  works as designed.  But when they close their softphone, there's no way
  for the system to know where the extension is, so the call dies.  It
  doesn't go to voicemail like I would like it to because that extension
  never proceeds through my dialplan.
  
  Looking for suggestions on getting around this so I can keep deploying
  soft phones to agents in the field.
 
  Just use an 'invalid' extension to send the call to voicemail or something.
 
  exten = i,1,Voicemail(u${INVALID_EXTEN})
 
 
 I would *love* for it to be that simple, but I'm not doing this from an
 IVR.  Voip-Info says about the 'i' extension:
 
 The 'i' extension only gets fired when there's a prompt or input been
 made with 'background'. You can set up a 'exten = i,1...' to prompt for
 wrong keypresses - insult the user and so on. So this wont work if
 someone just dials somthing wrong. 

I did not follow this thread at all so please excuse me if
I'm redundant.
If you dont trust the i exten to handle things make sure
everything you want to handle is configured and put
something like this in you dialplan:
exten = _.,1,Goto(i,1)
-- 

Michiel van Baak
[EMAIL PROTECTED]
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer afficionados are both called users?


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DUNDi, regcontext, softphones.. fail.

2007-10-06 Thread JR Richardson
 I'm having an issue deploying softphones into my DUNDi/regcontext
 setup.  My current design is that all SIP users get registered into a
 sipregistration context in the sip.conf.  I then have a dialplan
 function that includes that and does the dial:
 
 include = sipregistration
 exten = _,2,Answer()
 exten = _,3,Wait(1)
 exten = _,4,NoOp(sipregistration call - Name: ${CALLERID(name)}  Num:
 ${CALLERID(num)})
 exten = _,5,Macro(stdexten,${EXTEN},SIP/${EXTEN})  ; 913-563-77XX
 
 This works really well for hard phones.  They register, exist in the
 sipregistration context and are dialed on whichever server they register
 by DUNDi.  I only started to run into problems when I had to deploy
 softphones.
 
 The softphones register when they are up and running, and the system
 works as designed.  But when they close their softphone, there's no way
 for the system to know where the extension is, so the call dies.  It
 doesn't go to voicemail like I would like it to because that extension
 never proceeds through my dialplan.
 
 Looking for suggestions on getting around this so I can keep deploying
 soft phones to agents in the field.

Just use an 'invalid' extension to send the call to voicemail or something.

exten = i,1,Voicemail(u${INVALID_EXTEN})

JR


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] DUNDi, regcontext, softphones.. fail. :(

2007-10-05 Thread Kyle Sexton
All,

I'm having an issue deploying softphones into my DUNDi/regcontext
setup.  My current design is that all SIP users get registered into a
sipregistration context in the sip.conf.  I then have a dialplan
function that includes that and does the dial:

include = sipregistration
exten = _,2,Answer()
exten = _,3,Wait(1)
exten = _,4,NoOp(sipregistration call - Name: ${CALLERID(name)}  Num: 
${CALLERID(num)})
exten = _,5,Macro(stdexten,${EXTEN},SIP/${EXTEN})  ; 913-563-77XX

This works really well for hard phones.  They register, exist in the
sipregistration context and are dialed on whichever server they register 
by DUNDi.  I only started to run into problems when I had to deploy softphones.

The softphones register when they are up and running, and the system 
works as designed.  But when they close their softphone, there's no way 
for the system to know where the extension is, so the call dies.  It 
doesn't go to voicemail like I would like it to because that extension 
never proceeds through my dialplan.

Looking for suggestions on getting around this so I can keep deploying
soft phones to agents in the field.

Thanks in advance!

-- 
Kyle Sexton

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DUNDI / regcontext

2006-07-17 Thread Simon Woodhead
Thanks for the reply Brad.The relevant section of sip.conf was posted:[general]regcontext=sipregistrationIf you mean extensions.conf, I wasn't creating the extension in there other than for testing. RegContext correctly creates the context on registration but does not create the extension. If I create the extension manually, the DUNDi lookup works just fine.
SimonOn 7/16/06, Watkins, Bradley [EMAIL PROTECTED] wrote:
Could you possibly put up the relevant section(s) of your sip.conf?It sounds like the DUNDi portion is set up properly, and obviously it's not going to find an extension that doesn't exist.Regards,- Brad
From: [EMAIL PROTECTED] on behalf of Simon WoodheadSent: Sat 7/15/2006 5:59 PMTo: 
asterisk-users@lists.digium.comSubject: [asterisk-users] DUNDI / regcontextHi folks,I've been having a go at getting DUNDI working this evening to enableusers to register to any Asterisk box and to look them up from another.
The DUNDI part works just great (very impressed), as does the subsequentjoining of calls between the two servers but I'm struggling withregcontext and would be grateful for any input.sip.conf includes:
[general]regcontext=sipregistrationWhen a user registers, I get the Added extension 'XX' priority 1 tosipregistration message. However, 'show dialplan' does not show theextension and a DUNDI lookup does not return it. The sipregistration
context has been auto-created but is empty. If I manually create thesipregistration context and add the NoOp extension, then everythingworks as expected.I've tried this across multiple boxes, each running different versions
right up to the latest stable but the behaviour is the same. It is alsothe same with both SIP and IAX registrations and doesn't make adifference if the peer is defined in the .conf file or Realtime. They do
all have identical configurations though so I suspect there might besomething in our setup which is conflicting.Any input gratefully received.All the best,SimonThe contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DUNDI / regcontext

2006-07-17 Thread Simon Woodhead
I'm expecting regcontext to create a context of regcontext and an priority 1 extension for either the value of regexten or the peer name. The context is created, the extension says it is created but isn't. It works fine with a staticaly defined extension of the same name as defined for regexten or the peer name.
SimonOn 7/17/06, Watkins, Bradley [EMAIL PROTECTED] wrote:





So you are relying on the behavior of regexten to default 
to peer name? Is that what you are expecting? And if so, could you 
test with a statically defined extension for the per-peer regexten 
parameter?

Regards,
- Brad


From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]
] On Behalf Of Simon 
WoodheadSent: Monday, July 17, 2006 5:53 AMTo: Asterisk 
Users Mailing List - Non-Commercial DiscussionSubject: Re: 
[asterisk-users] DUNDI / regcontext
Thanks for the reply Brad.The relevant section of sip.conf 
was posted:[general]regcontext=sipregistrationIf you mean 
extensions.conf, I wasn't creating the extension in there other than for 
testing. RegContext correctly creates the context on registration but does not 
create the extension. If I create the extension manually, the DUNDi lookup works 
just fine. Simon
On 7/16/06, Watkins, 
Bradley [EMAIL PROTECTED] 
wrote:
Could 
  you possibly put up the relevant section(s) of your sip.conf?It 
  sounds like the DUNDi portion is set up properly, and obviously it's not going 
  to find an extension that doesn't exist.Regards,- 
  BradFrom: 
[EMAIL PROTECTED] 
  on behalf of Simon WoodheadSent: Sat 7/15/2006 5:59 PMTo: 
asterisk-users@lists.digium.comSubject: 
  [asterisk-users] DUNDI / regcontextHi folks,I've been 
  having a go at getting DUNDI working this evening to enableusers to 
  register to any Asterisk box and to look them up from another. The DUNDI 
  part works just great (very impressed), as does the subsequentjoining of 
  calls between the two servers but I'm struggling withregcontext and would 
  be grateful for any input.sip.conf includes: 
  [general]regcontext=sipregistrationWhen a user registers, 
  I get the Added extension 'XX' priority 1 tosipregistration message. 
  However, 'show dialplan' does not show theextension and a DUNDI lookup 
  does not return it. The sipregistration context has been auto-created but 
  is empty. If I manually create thesipregistration context and add the NoOp 
  extension, then everythingworks as expected.I've tried this across 
  multiple boxes, each running different versions right up to the latest 
  stable but the behaviour is the same. It is alsothe same with both SIP and 
  IAX registrations and doesn't make adifference if the peer is defined in 
  the .conf file or Realtime. They doall have identical configurations 
  though so I suspect there might besomething in our setup which is 
  conflicting.Any input gratefully received.All the 
  best,SimonThe contents of this e-mail are intended for the 
  named addressee only. It contains information that may be confidential. Unless 
  you are the named addressee or an authorized designee, you may not copy or use 
  it, or disclose it to anyone else. If you received it in error please notify 
  us immediately and then destroy it. 
  ___--Bandwidth and 
  Colocation provided by Easynews.com 
  --asterisk-users mailing listTo UNSUBSCRIBE or update options 
  visit:  http://lists.digium.com/mailman/listinfo/asterisk-users
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 


___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] DUNDI / regcontext

2006-07-16 Thread Watkins, Bradley
Could you possibly put up the relevant section(s) of your sip.conf?  It sounds 
like the DUNDi portion is set up properly, and obviously it's not going to find 
an extension that doesn't exist.
 
Regards,
- Brad



From: [EMAIL PROTECTED] on behalf of Simon Woodhead
Sent: Sat 7/15/2006 5:59 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] DUNDI / regcontext



Hi folks,

I've been having a go at getting DUNDI working this evening to enable
users to register to any Asterisk box and to look them up from another.
The DUNDI part works just great (very impressed), as does the subsequent
joining of calls between the two servers but I'm struggling with
regcontext and would be grateful for any input.

sip.conf includes:

[general]
regcontext=sipregistration

When a user registers, I get the Added extension 'XX' priority 1 to
sipregistration message. However, 'show dialplan' does not show the
extension and a DUNDI lookup does not return it. The sipregistration
context has been auto-created but is empty. If I manually create the
sipregistration context and add the NoOp extension, then everything
works as expected.

I've tried this across multiple boxes, each running different versions
right up to the latest stable but the behaviour is the same. It is also
the same with both SIP and IAX registrations and doesn't make a
difference if the peer is defined in the .conf file or Realtime. They do
all have identical configurations though so I suspect there might be
something in our setup which is conflicting.

Any input gratefully received.

All the best,
Simon


The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it. 
winmail.dat___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] DUNDI / regcontext

2006-07-15 Thread Simon Woodhead

Hi folks,

I've been having a go at getting DUNDI working this evening to enable 
users to register to any Asterisk box and to look them up from another. 
The DUNDI part works just great (very impressed), as does the subsequent 
joining of calls between the two servers but I'm struggling with 
regcontext and would be grateful for any input.


sip.conf includes:

[general]
regcontext=sipregistration

When a user registers, I get the Added extension 'XX' priority 1 to 
sipregistration message. However, 'show dialplan' does not show the 
extension and a DUNDI lookup does not return it. The sipregistration 
context has been auto-created but is empty. If I manually create the 
sipregistration context and add the NoOp extension, then everything 
works as expected.


I've tried this across multiple boxes, each running different versions 
right up to the latest stable but the behaviour is the same. It is also 
the same with both SIP and IAX registrations and doesn't make a 
difference if the peer is defined in the .conf file or Realtime. They do 
all have identical configurations though so I suspect there might be 
something in our setup which is conflicting.


Any input gratefully received.

All the best,
Simon


smime.p7s
Description: S/MIME Cryptographic Signature
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users