Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-07 Thread Khaled W. Chehab
Kindly can you send me the code ,or how to 


Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
Sent: Monday, April 06, 2009 7:13 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Hi,

The easiest is to turn off MOH on the Dial. Otherwise the patch is
easy but not trivial.
Once the B-leg receives the ringing message and passes it in Dial app
then the code has to turn off the MOH
and tell the A-leg to send the ringing message. At the same time the
code that skips passing the ringing to A-leg
has to be disabled.

Martin

On Mon, Apr 6, 2009 at 2:38 AM, Khaled W. Chehab kche...@xplorium.com
wrote:
 Dear Martin

 Can you inform me how to make the patch or from where I can get it
otherwise
 if there is an application can generate it?
 Or if its relate to chan_sip.c ,please can you tell me which function to
 edit or lines to be added

 Regards


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
 Sent: Sunday, April 05, 2009 5:06 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

 Hi Khaled,

 app Dial clearly is coded to ignore the 180 Ringing being passed if
 you have 'm' option to Dial and you do.
 Try to take the 'm' out and see if 180 Ringing is passed to the A-leg.

 So if you want MOH and then when 180 Ringing comes to turn it off =
 you need a patch.

 Martin

 2009/4/4 Khaled W. Chehab kche...@xplorium.com:
 10x Martin ,

 But B-Leg is sending 180 ringing

 Regards

 ___
 -- 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



 *
 No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

 This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

 If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

 Xplorium does not guarantee the integrity of this electronic message and
any of its attachments, or that they are free from computer viruses or other
defects.
 *



 ___
 -- 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


___
-- 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



*
No employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written confirmation 
by an officer of Xplorium. Any views expressed by an individual in this 
electronic message do not necessarily reflect views of Xplorium or its 
subsidiaries and associates.

This electronic message and its attachments are solely addressed to the 
addressee(s), and contain confidential information protected from disclosure 
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its 
attachments, kindly delete it immediately from your system and notify the 
sender by electronic mail. You must not copy this message or attachment or 
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of 
its attachments, or that they are free from computer viruses or other defects.
*



___
-- 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] Please Advice SIP 183 progessl

2009-04-06 Thread Khaled W. Chehab
Dear Martin 

Can you inform me how to make the patch or from where I can get it otherwise
if there is an application can generate it?
Or if its relate to chan_sip.c ,please can you tell me which function to
edit or lines to be added

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
Sent: Sunday, April 05, 2009 5:06 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Hi Khaled,

app Dial clearly is coded to ignore the 180 Ringing being passed if
you have 'm' option to Dial and you do.
Try to take the 'm' out and see if 180 Ringing is passed to the A-leg.

So if you want MOH and then when 180 Ringing comes to turn it off =
you need a patch.

Martin

2009/4/4 Khaled W. Chehab kche...@xplorium.com:
 10x Martin ,

 But B-Leg is sending 180 ringing

 Regards

___
-- 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



*
No employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written confirmation 
by an officer of Xplorium. Any views expressed by an individual in this 
electronic message do not necessarily reflect views of Xplorium or its 
subsidiaries and associates.

This electronic message and its attachments are solely addressed to the 
addressee(s), and contain confidential information protected from disclosure 
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its 
attachments, kindly delete it immediately from your system and notify the 
sender by electronic mail. You must not copy this message or attachment or 
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of 
its attachments, or that they are free from computer viruses or other defects.
*



___
-- 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] Please Advice SIP 183 progessl

2009-04-06 Thread Martin
Hi,

The easiest is to turn off MOH on the Dial. Otherwise the patch is
easy but not trivial.
Once the B-leg receives the ringing message and passes it in Dial app
then the code has to turn off the MOH
and tell the A-leg to send the ringing message. At the same time the
code that skips passing the ringing to A-leg
has to be disabled.

Martin

On Mon, Apr 6, 2009 at 2:38 AM, Khaled W. Chehab kche...@xplorium.com wrote:
 Dear Martin

 Can you inform me how to make the patch or from where I can get it otherwise
 if there is an application can generate it?
 Or if its relate to chan_sip.c ,please can you tell me which function to
 edit or lines to be added

 Regards


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
 Sent: Sunday, April 05, 2009 5:06 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

 Hi Khaled,

 app Dial clearly is coded to ignore the 180 Ringing being passed if
 you have 'm' option to Dial and you do.
 Try to take the 'm' out and see if 180 Ringing is passed to the A-leg.

 So if you want MOH and then when 180 Ringing comes to turn it off =
 you need a patch.

 Martin

 2009/4/4 Khaled W. Chehab kche...@xplorium.com:
 10x Martin ,

 But B-Leg is sending 180 ringing

 Regards

 ___
 -- 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



 *
 No employee or agent is authorized to conclude any binding agreement on 
 behalf of Xplorium with another party by e-mail without express written 
 confirmation by an officer of Xplorium. Any views expressed by an individual 
 in this electronic message do not necessarily reflect views of Xplorium or 
 its subsidiaries and associates.

 This electronic message and its attachments are solely addressed to the 
 addressee(s), and contain confidential information protected from disclosure 
 belonging to Xplorium.

 If you are not the intended addressee of this electronic message and its 
 attachments, kindly delete it immediately from your system and notify the 
 sender by electronic mail. You must not copy this message or attachment or 
 disclose its content to any other person.

 Xplorium does not guarantee the integrity of this electronic message and any 
 of its attachments, or that they are free from computer viruses or other 
 defects.
 *



 ___
 -- 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


___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Ira
At 07:28 AM 4/3/2009, you wrote:
A: It destroys the conversation flow
Q: What is wrong with top posting?

So it's better to have to scroll down tens of pages only to discover 
that you missed the one word answer one page from the end buried in 
the matching tens of automatic footers in the messages that no one 
bother to trim. I like top posting and mostly only read top posts. If 
I need more info I can scroll down.  I'd understand bottom posting if 
people were considerate in their replies, but so few are it rarely 
seems to work.

Ira 


___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Benny Amorsen
Ira i...@extrasensory.com writes:

 So it's better to have to scroll down tens of pages only to discover 
 that you missed the one word answer one page from the end buried in 
 the matching tens of automatic footers in the messages that no one 
 bother to trim.

Not trimming is as bad as top posting. Generally I killfile for both,
but in the particular case of the Asterisk list, that would mean
practically nothing was left.

Eternal September.


/Benny


___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Martin
I believe both ways can be used. If I'm to leave one/two sentence note
like I'm doing right now then top posting is fine.
Otherwise it's good to throw some context so the reader can understand
what is the answer for.

And of course trimming the ads and useless signatures is good too

Martin

On Sat, Apr 4, 2009 at 12:33 PM, Benny Amorsen benny+use...@amorsen.dk wrote:
 Not trimming is as bad as top posting. Generally I killfile for both,
 but in the particular case of the Asterisk list, that would mean
 practically nothing was left.

 Eternal September.


 /Benny

___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Cary Fitch
What was the real topic being discussed here?  Seems to be Too much
trimmin' going on hea'. 
:-)
Cary

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
Sent: Saturday, April 04, 2009 12:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

I believe both ways can be used. If I'm to leave one/two sentence note
like I'm doing right now then top posting is fine.
Otherwise it's good to throw some context so the reader can understand
what is the answer for.

And of course trimming the ads and useless signatures is good too

Martin

On Sat, Apr 4, 2009 at 12:33 PM, Benny Amorsen benny+use...@amorsen.dk
wrote:
 Not trimming is as bad as top posting. Generally I killfile for both,
 but in the particular case of the Asterisk list, that would mean
 practically nothing was left.

 Eternal September.


 /Benny

___
-- 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


___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Martin
Hi Khaled,

I believe the 180 Ringing will be sent only if your B-leg sends it to Asterisk.
Asterisk doesn't know WHEN the call will physically ring the destination number
so unless you GW tells it you won't ever see that message unless you patch it.

DISCLAIMER: I may be wrong and was wrong before.

Martin

On Thu, Apr 2, 2009 at 11:07 AM, Khaled W. Chehab kche...@xplorium.com wrote:
 Dears
 Kindly find my dial script below,I am trying to send the caller 180 ringing
 but all tries were failed,
 The caller always receive 183 session Progress
 Even I add in the sip.conf
 progressinband=never

 exten = _X.,1,Wait(1)
 exten = _X.,n,SetMusicOnHold(English)
 exten = _X.,n,WaitMusicOnHold(2)
 exten = _X.,n,NoOp(Return-)
 exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
 ;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
 exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
 (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = y-NOANSWER,1,SetMusicOnHold(busy)
 exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
 NOANSWER announce
 exten = y-BUSY,1,SetMusicOnHold(busy)
 exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
 announce
 exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
 exten = _X.,n,HangUp()

 Please Advice

___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Tzafrir Cohen
On Sat, Apr 04, 2009 at 09:58:06AM -0700, Ira wrote:
 At 07:28 AM 4/3/2009, you wrote:
 A: It destroys the conversation flow
 Q: What is wrong with top posting?
 
 So it's better to have to scroll down tens of pages only to discover 
 that you missed the one word answer one page from the end buried in 
 the matching tens of automatic footers in the messages that no one 
 bother to trim. 

Quoting the relevant parts is inherent part of bottom-posting.

 I like top posting and mostly only read top posts. If 
 I need more info I can scroll down.  I'd understand bottom posting if 
 people were considerate in their replies, but so few are it rarely 
 seems to work.

The problem is that it takes too long. And with top posting nobody will
bother trimming at all (it's impossible) and hence you'll have to go
through tens of pages.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Khaled W. Chehab
10x Martin ,

But B-Leg is sending 180 ringing 

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Martin
Sent: Saturday, April 04, 2009 9:09 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Hi Khaled,

I believe the 180 Ringing will be sent only if your B-leg sends it to
Asterisk.
Asterisk doesn't know WHEN the call will physically ring the destination
number
so unless you GW tells it you won't ever see that message unless you patch
it.

DISCLAIMER: I may be wrong and was wrong before.

Martin

On Thu, Apr 2, 2009 at 11:07 AM, Khaled W. Chehab kche...@xplorium.com
wrote:
 Dears
 Kindly find my dial script below,I am trying to send the caller 180
ringing
 but all tries were failed,
 The caller always receive 183 session Progress
 Even I add in the sip.conf
 progressinband=never

 exten = _X.,1,Wait(1)
 exten = _X.,n,SetMusicOnHold(English)
 exten = _X.,n,WaitMusicOnHold(2)
 exten = _X.,n,NoOp(Return-)
 exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
 ;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
 exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
 (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = y-NOANSWER,1,SetMusicOnHold(busy)
 exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
 NOANSWER announce
 exten = y-BUSY,1,SetMusicOnHold(busy)
 exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
 announce
 exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
 exten = _X.,n,HangUp()

 Please Advice

___
-- 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



*
No employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written confirmation 
by an officer of Xplorium. Any views expressed by an individual in this 
electronic message do not necessarily reflect views of Xplorium or its 
subsidiaries and associates.

This electronic message and its attachments are solely addressed to the 
addressee(s), and contain confidential information protected from disclosure 
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its 
attachments, kindly delete it immediately from your system and notify the 
sender by electronic mail. You must not copy this message or attachment or 
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of 
its attachments, or that they are free from computer viruses or other defects.
*



___
-- 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] Please Advice SIP 183 progessl

2009-04-04 Thread Martin
Hi Khaled,

app Dial clearly is coded to ignore the 180 Ringing being passed if
you have 'm' option to Dial and you do.
Try to take the 'm' out and see if 180 Ringing is passed to the A-leg.

So if you want MOH and then when 180 Ringing comes to turn it off =
you need a patch.

Martin

2009/4/4 Khaled W. Chehab kche...@xplorium.com:
 10x Martin ,

 But B-Leg is sending 180 ringing

 Regards

___
-- 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] Please Advice SIP 183 progessl

2009-04-03 Thread Khaled W. Chehab
Dears


Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf 
progressinband=never

or if there any way to stop the music on hold and let the caller hear the
Ring Back Tone 

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any
of its attachments, or that they are free from computer viruses or other
defects.
*



___
-- 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


___
-- 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



*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-03 Thread David Gibbons
The fact that you sent this again (what is that -- 3 times now?) AND with high 
importance, will likely cause people to ignore your messages rather than trying 
to help you.

There are few things that annoy me more than messages sent with high importance 
(same category of annoyance as messages written in all caps). Let's have a 
little bit of intarweb etiquette.

-Dave

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W. Chehab
Sent: Friday, April 03, 2009 9:28 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl
Importance: High

Dears


Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf
progressinband=never

or if there any way to stop the music on hold and let the caller hear the
Ring Back Tone

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any
of its attachments, or that they are free from computer viruses or other
defects.
*



___
-- 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


___
-- 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



*
No employee or agent

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-03 Thread Steve Howes
And don't top post ;)

On 3 Apr 2009, at 14:38, David Gibbons wrote:

 The fact that you sent this again (what is that -- 3 times now?) AND  
 with high importance, will likely cause people to ignore your  
 messages rather than trying to help you.

 There are few things that annoy me more than messages sent with high  
 importance (same category of annoyance as messages written in all  
 caps). Let's have a little bit of intarweb etiquette.

 -Dave

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com 
 ] On Behalf Of Khaled W. Chehab
 Sent: Friday, April 03, 2009 9:28 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl
 Importance: High

 Dears


 Kindly find my dial script below,I am trying to send the caller 180  
 ringing
 but all tries were failed,
 The caller always receive 183 session Progress
 Even I add in the sip.conf
 progressinband=never

 or if there any way to stop the music on hold and let the caller  
 hear the
 Ring Back Tone

 exten = _X.,1,Wait(1)
 exten = _X.,n,SetMusicOnHold(English)
 exten = _X.,n,WaitMusicOnHold(2)
 exten = _X.,n,NoOp(Return-)
 exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
 ;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
 exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
 (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = y-NOANSWER,1,SetMusicOnHold(busy)
 exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
 NOANSWER announce
 exten = y-BUSY,1,SetMusicOnHold(busy)
 exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
 announce
 exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no  
 answer
 exten = _X.,n,HangUp()

 Please Advice







 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny  
 Nicholas
 Sent: Thursday, April 02, 2009 6:40 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] SIP 183 progessl

 Sipaddheader(180 Ringing) might do the trick.

 If you are compiling your own asterisk, you could change chan_sip.c to
 replace 183 Session Progress with 180 Ringing (line 3950 in my  
 source)
 but that might break something else.

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled  
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:23 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [asterisk-users] SIP 183 progessl

 Can you please tell me how to Custom SIP header

 Regards


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny  
 Nicholas
 Sent: Thursday, April 02, 2009 6:16 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Custom SIP header?

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled  
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:02 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Dears

 How can I send or force sending 180 Ringing instead of 183 back to the
 caller ?or send both sequential if its impossible
 I used progressinband=never but it did work .


 Regards




 *
 No employee or agent is authorized to conclude any binding agreement  
 on
 behalf of Xplorium with another party by e-mail without express  
 written
 confirmation by an officer of Xplorium. Any views expressed by an  
 individual
 in this electronic message do not necessarily reflect views of  
 Xplorium or
 its subsidiaries and associates.

 This electronic message and its attachments are solely addressed to  
 the
 addressee(s), and contain confidential information protected from  
 disclosure
 belonging to Xplorium.

 If you are not the intended addressee of this electronic message and  
 its
 attachments, kindly delete it immediately from your system and  
 notify the
 sender by electronic mail. You must not copy this message or  
 attachment or
 disclose its content to any other person.

 Xplorium does not guarantee the integrity of this electronic message  
 and any
 of its attachments, or that they are free from computer viruses or  
 other
 defects.
 *



 ___
 -- 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


 ___
 -- Bandwidth and Colocation

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-03 Thread David Gibbons
Lol.

I'm actually in the small minority who prefers top posting to bottom posting.

-d

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Howes
Sent: Friday, April 03, 2009 10:07 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

And don't top post ;)

On 3 Apr 2009, at 14:38, David Gibbons wrote:

 The fact that you sent this again (what is that -- 3 times now?) AND
 with high importance, will likely cause people to ignore your
 messages rather than trying to help you.

 There are few things that annoy me more than messages sent with high
 importance (same category of annoyance as messages written in all
 caps). Let's have a little bit of intarweb etiquette.

 -Dave

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com
 ] On Behalf Of Khaled W. Chehab
 Sent: Friday, April 03, 2009 9:28 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl
 Importance: High

 Dears


 Kindly find my dial script below,I am trying to send the caller 180
 ringing
 but all tries were failed,
 The caller always receive 183 session Progress
 Even I add in the sip.conf
 progressinband=never

 or if there any way to stop the music on hold and let the caller
 hear the
 Ring Back Tone

 exten = _X.,1,Wait(1)
 exten = _X.,n,SetMusicOnHold(English)
 exten = _X.,n,WaitMusicOnHold(2)
 exten = _X.,n,NoOp(Return-)
 exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
 ;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
 exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
 (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = y-NOANSWER,1,SetMusicOnHold(busy)
 exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
 NOANSWER announce
 exten = y-BUSY,1,SetMusicOnHold(busy)
 exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
 announce
 exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no
 answer
 exten = _X.,n,HangUp()

 Please Advice







 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:40 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] SIP 183 progessl

 Sipaddheader(180 Ringing) might do the trick.

 If you are compiling your own asterisk, you could change chan_sip.c to
 replace 183 Session Progress with 180 Ringing (line 3950 in my
 source)
 but that might break something else.

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:23 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [asterisk-users] SIP 183 progessl

 Can you please tell me how to Custom SIP header

 Regards


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:16 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Custom SIP header?

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:02 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Dears

 How can I send or force sending 180 Ringing instead of 183 back to the
 caller ?or send both sequential if its impossible
 I used progressinband=never but it did work .


 Regards




 *
 No employee or agent is authorized to conclude any binding agreement
 on
 behalf of Xplorium with another party by e-mail without express
 written
 confirmation by an officer of Xplorium. Any views expressed by an
 individual
 in this electronic message do not necessarily reflect views of
 Xplorium or
 its subsidiaries and associates.

 This electronic message and its attachments are solely addressed to
 the
 addressee(s), and contain confidential information protected from
 disclosure
 belonging to Xplorium.

 If you are not the intended addressee of this electronic message and
 its
 attachments, kindly delete it immediately from your system and
 notify the
 sender by electronic mail. You must not copy this message or
 attachment or
 disclose its content to any other person.

 Xplorium does not guarantee the integrity of this electronic message
 and any
 of its attachments, or that they are free from computer viruses or
 other
 defects

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-03 Thread Singer XJ Wang
What's wrong with top posting?
David Gibbons wrote:
 Lol.

 I'm actually in the small minority who prefers top posting to bottom posting.

 -d

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Howes
 Sent: Friday, April 03, 2009 10:07 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

 And don't top post ;)

 On 3 Apr 2009, at 14:38, David Gibbons wrote:

   
 The fact that you sent this again (what is that -- 3 times now?) AND
 with high importance, will likely cause people to ignore your
 messages rather than trying to help you.

 There are few things that annoy me more than messages sent with high
 importance (same category of annoyance as messages written in all
 caps). Let's have a little bit of intarweb etiquette.

 -Dave

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com
 ] On Behalf Of Khaled W. Chehab
 Sent: Friday, April 03, 2009 9:28 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl
 Importance: High

 Dears


 Kindly find my dial script below,I am trying to send the caller 180
 ringing
 but all tries were failed,
 The caller always receive 183 session Progress
 Even I add in the sip.conf
 progressinband=never

 or if there any way to stop the music on hold and let the caller
 hear the
 Ring Back Tone

 exten = _X.,1,Wait(1)
 exten = _X.,n,SetMusicOnHold(English)
 exten = _X.,n,WaitMusicOnHold(2)
 exten = _X.,n,NoOp(Return-)
 exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
 ;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
 exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
 (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = y-NOANSWER,1,SetMusicOnHold(busy)
 exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
 NOANSWER announce
 exten = y-BUSY,1,SetMusicOnHold(busy)
 exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
 announce
 exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no
 answer
 exten = _X.,n,HangUp()

 Please Advice







 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:40 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] SIP 183 progessl

 Sipaddheader(180 Ringing) might do the trick.

 If you are compiling your own asterisk, you could change chan_sip.c to
 replace 183 Session Progress with 180 Ringing (line 3950 in my
 source)
 but that might break something else.

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:23 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [asterisk-users] SIP 183 progessl

 Can you please tell me how to Custom SIP header

 Regards


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:16 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Custom SIP header?

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:02 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Dears

 How can I send or force sending 180 Ringing instead of 183 back to the
 caller ?or send both sequential if its impossible
 I used progressinband=never but it did work .


 Regards




 *
 No employee or agent is authorized to conclude any binding agreement
 on
 behalf of Xplorium with another party by e-mail without express
 written
 confirmation by an officer of Xplorium. Any views expressed by an
 individual
 in this electronic message do not necessarily reflect views of
 Xplorium or
 its subsidiaries and associates.

 This electronic message and its attachments are solely addressed to
 the
 addressee(s), and contain confidential information protected from
 disclosure
 belonging to Xplorium.

 If you are not the intended addressee of this electronic message and
 its
 attachments, kindly delete it immediately from your system and
 notify the
 sender by electronic mail. You must not copy this message or
 attachment or
 disclose its content to any other person.

 Xplorium does not guarantee the integrity of this electronic message
 and any
 of its attachments, or that they are free from

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-03 Thread Steve Howes
A: It destroys the conversation flow
Q: What is wrong with top posting?

On 3 Apr 2009, at 15:14, Singer XJ Wang wrote:

 What's wrong with top posting?
 David Gibbons wrote:

 Lol.

 I'm actually in the small minority who prefers top posting to  
 bottom posting.

 -d

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com 
 ] On Behalf Of Steve Howes
 Sent: Friday, April 03, 2009 10:07 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

 And don't top post ;)

 On 3 Apr 2009, at 14:38, David Gibbons wrote:


 The fact that you sent this again (what is that -- 3 times now?) AND
 with high importance, will likely cause people to ignore your
 messages rather than trying to help you.

 There are few things that annoy me more than messages sent with high
 importance (same category of annoyance as messages written in all
 caps). Let's have a little bit of intarweb etiquette.

 -Dave

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com
 ] On Behalf Of Khaled W. Chehab
 Sent: Friday, April 03, 2009 9:28 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl
 Importance: High

 Dears


 Kindly find my dial script below,I am trying to send the caller 180
 ringing
 but all tries were failed,
 The caller always receive 183 session Progress
 Even I add in the sip.conf
 progressinband=never

 or if there any way to stop the music on hold and let the caller
 hear the
 Ring Back Tone

 exten = _X.,1,Wait(1)
 exten = _X.,n,SetMusicOnHold(English)
 exten = _X.,n,WaitMusicOnHold(2)
 exten = _X.,n,NoOp(Return-)
 exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
 ;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
 exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
 (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = y-NOANSWER,1,SetMusicOnHold(busy)
 exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
 NOANSWER announce
 exten = y-BUSY,1,SetMusicOnHold(busy)
 exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy /  
 busy
 announce
 exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no
 answer
 exten = _X.,n,HangUp()

 Please Advice







 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:40 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] SIP 183 progessl

 Sipaddheader(180 Ringing) might do the trick.

 If you are compiling your own asterisk, you could change  
 chan_sip.c to
 replace 183 Session Progress with 180 Ringing (line 3950 in my
 source)
 but that might break something else.

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:23 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [asterisk-users] SIP 183 progessl

 Can you please tell me how to Custom SIP header

 Regards


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:16 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Custom SIP header?

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:02 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Dears

 How can I send or force sending 180 Ringing instead of 183 back to  
 the
 caller ?or send both sequential if its impossible
 I used progressinband=never but it did work .


 Regards




 *
 No employee or agent is authorized to conclude any binding agreement
 on
 behalf of Xplorium with another party by e-mail without express
 written
 confirmation by an officer of Xplorium. Any views expressed by an
 individual
 in this electronic message do not necessarily reflect views of
 Xplorium or
 its subsidiaries and associates.

 This electronic message and its attachments are solely addressed to
 the
 addressee(s), and contain confidential information protected from
 disclosure
 belonging to Xplorium.

 If you are not the intended addressee of this electronic message and
 its
 attachments, kindly delete it immediately from your system and
 notify the
 sender by electronic mail. You must not copy this message or
 attachment or
 disclose its content to any other person

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-03 Thread Cary Fitch
FWIW, ($0.0007) I prefer top posting.  I follow the postings live, I know
the topics and comments, and don't want to read the stuff over and over to
get to the bottom new stuff.

YMMV.

Cary

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Howes
Sent: Friday, April 03, 2009 9:28 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

A: It destroys the conversation flow
Q: What is wrong with top posting?

On 3 Apr 2009, at 15:14, Singer XJ Wang wrote:

 What's wrong with top posting?
 David Gibbons wrote:

 Lol.

 I'm actually in the small minority who prefers top posting to  
 bottom posting.

 -d

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com 
 ] On Behalf Of Steve Howes
 Sent: Friday, April 03, 2009 10:07 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

 And don't top post ;)

 On 3 Apr 2009, at 14:38, David Gibbons wrote:


 The fact that you sent this again (what is that -- 3 times now?) AND
 with high importance, will likely cause people to ignore your
 messages rather than trying to help you.

 There are few things that annoy me more than messages sent with high
 importance (same category of annoyance as messages written in all
 caps). Let's have a little bit of intarweb etiquette.

 -Dave

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com
 ] On Behalf Of Khaled W. Chehab
 Sent: Friday, April 03, 2009 9:28 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Please Advice SIP 183 progessl
 Importance: High

 Dears


 Kindly find my dial script below,I am trying to send the caller 180
 ringing
 but all tries were failed,
 The caller always receive 183 session Progress
 Even I add in the sip.conf
 progressinband=never

 or if there any way to stop the music on hold and let the caller
 hear the
 Ring Back Tone

 exten = _X.,1,Wait(1)
 exten = _X.,n,SetMusicOnHold(English)
 exten = _X.,n,WaitMusicOnHold(2)
 exten = _X.,n,NoOp(Return-)
 exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
 ;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
 exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
 (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 exten = y-NOANSWER,1,SetMusicOnHold(busy)
 exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
 NOANSWER announce
 exten = y-BUSY,1,SetMusicOnHold(busy)
 exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy /  
 busy
 announce
 exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no
 answer
 exten = _X.,n,HangUp()

 Please Advice







 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:40 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] SIP 183 progessl

 Sipaddheader(180 Ringing) might do the trick.

 If you are compiling your own asterisk, you could change  
 chan_sip.c to
 replace 183 Session Progress with 180 Ringing (line 3950 in my
 source)
 but that might break something else.

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:23 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [asterisk-users] SIP 183 progessl

 Can you please tell me how to Custom SIP header

 Regards


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny
 Nicholas
 Sent: Thursday, April 02, 2009 6:16 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Custom SIP header?

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled
 W.
 Chehab
 Sent: Thursday, April 02, 2009 10:02 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] Xorcom and Doorbell

 Dears

 How can I send or force sending 180 Ringing instead of 183 back to  
 the
 caller ?or send both sequential if its impossible
 I used progressinband=never but it did work .


 Regards




 *
 No employee or agent is authorized to conclude any binding agreement
 on
 behalf of Xplorium with another party by e-mail without express
 written
 confirmation by an officer of Xplorium. Any views expressed by an
 individual
 in this electronic message do not necessarily reflect views

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-02 Thread Khaled W. Chehab
Guys I tried the R,r options at the DIAL(SIP/,,rm) and also its sending
183

Any Advice

Dears
Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf 
progressinband=never

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any
of its attachments, or that they are free from computer viruses or other
defects.
*



___
-- 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


___
-- 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



*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-02 Thread Danny Nicholas
This is a hack-fix but if you Answer the call before dialing, that might
remove the progress message 

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 12:47 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Guys I tried the R,r options at the DIAL(SIP/,,rm) and also its sending
183

Any Advice

Dears
Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf 
progressinband=never

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
-- add --
Exten = _X.,n,Answer()
-- end add --
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any
of its attachments, or that they are free from computer viruses or other
defects.
*



___
-- 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


___
-- 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



*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-02 Thread Khaled W. Chehab
I tried it but it didn't work even ,If I use Answer() function , Billing
will starts 

Thanks

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 8:59 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

This is a hack-fix but if you Answer the call before dialing, that might
remove the progress message 

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 12:47 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Guys I tried the R,r options at the DIAL(SIP/,,rm) and also its sending
183

Any Advice

Dears
Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf 
progressinband=never

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
-- add --
Exten = _X.,n,Answer()
-- end add --
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any
of its attachments, or that they are free from computer viruses or other
defects.
*



___
-- 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


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

asterisk-users mailing list

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-02 Thread Danny Nicholas
Try replacing answer() with playback(tt-monkeys)

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 1:33 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

I tried it but it didn't work even ,If I use Answer() function , Billing
will starts 

Thanks

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 8:59 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

This is a hack-fix but if you Answer the call before dialing, that might
remove the progress message 

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 12:47 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Guys I tried the R,r options at the DIAL(SIP/,,rm) and also its sending
183

Any Advice

Dears
Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf 
progressinband=never

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
-- add --
Exten = _X.,n,Answer()
-- end add --
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any
of its attachments, or that they are free from computer viruses or other
defects

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-02 Thread Khaled W. Chehab
Do you know how to play a musiconhold or ... but when its ringing the user
will hear the Ring Back Tone

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 9:44 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Try replacing answer() with playback(tt-monkeys)

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 1:33 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

I tried it but it didn't work even ,If I use Answer() function , Billing
will starts 

Thanks

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 8:59 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

This is a hack-fix but if you Answer the call before dialing, that might
remove the progress message 

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 12:47 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Guys I tried the R,r options at the DIAL(SIP/,,rm) and also its sending
183

Any Advice

Dears
Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf 
progressinband=never

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
-- add --
Exten = _X.,n,Answer()
-- end add --
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments

Re: [asterisk-users] Please Advice SIP 183 progessl

2009-04-02 Thread Khaled W. Chehab
Kindly its too important to me 
If any one can help me on a command can force asterisk to send 180 and 183
sip message in the same time 

Regards

Do you know how to play a musiconhold or ... but when its ringing the user
will hear the Ring Back Tone

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 9:44 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Try replacing answer() with playback(tt-monkeys)

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 1:33 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

I tried it but it didn't work even ,If I use Answer() function , Billing
will starts 

Thanks

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 8:59 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

This is a hack-fix but if you Answer the call before dialing, that might
remove the progress message 

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 12:47 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Please Advice SIP 183 progessl

Guys I tried the R,r options at the DIAL(SIP/,,rm) and also its sending
183

Any Advice

Dears
Kindly find my dial script below,I am trying to send the caller 180 ringing
but all tries were failed,
The caller always receive 183 session Progress
Even I add in the sip.conf 
progressinband=never

exten = _X.,1,Wait(1)
exten = _X.,n,SetMusicOnHold(English)
exten = _X.,n,WaitMusicOnHold(2)
exten = _X.,n,NoOp(Return-)
-- add --
Exten = _X.,n,Answer()
-- end add --
exten = _X.,n,Dial(SIP/Gateway1/8430${EXTEN}|300|m)
;exten = _X.,n,SIPAddHeader(Alert-Info: Ring Answer)
exten = _X.,n,Goto(y-${DIALSTATUS},1)   ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = y-NOANSWER,1,SetMusicOnHold(busy)
exten = y-NOANSWER,n,WaitMusicOnHold(18) ; If busy, Playback Busy /
NOANSWER announce
exten = y-BUSY,1,SetMusicOnHold(busy)
exten = y-BUSY,n,WaitMusicOnHold(18) ; If busy, Playback Busy / busy
announce
exten = _y-.,1,Goto(y-NOANSWER,1)   ; Treat anything else as no answer
exten = _X.,n,HangUp()

Please Advice







-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] SIP 183 progessl

Sipaddheader(180 Ringing) might do the trick.

If you are compiling your own asterisk, you could change chan_sip.c to
replace 183 Session Progress with 180 Ringing (line 3950 in my source)
but that might break something else.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP 183 progessl

Can you please tell me how to Custom SIP header

Regards


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, April 02, 2009 6:16 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Custom SIP header?

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Thursday, April 02, 2009 10:02 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Xorcom and Doorbell

Dears

How can I send or force sending 180 Ringing instead of 183 back to the
caller ?or send both sequential if its impossible
I used progressinband=never but it did work .


Regards




*
No employee or agent is authorized to conclude any binding agreement on
behalf of Xplorium with another party by e-mail without express written
confirmation by an officer of Xplorium. Any views expressed by an individual
in this electronic message do not necessarily reflect views of Xplorium or
its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential