Re: [asterisk-users] SIP 183 progessl
2 apr 2009 kl. 17.40 skrev Danny Nicholas: Sipaddheader(180 Ringing) might do the trick. This was very bad and propably untested advice. You're mixing a response with a header... sipaddheader adds a header to the outbound INVITE. It does not handle any responses. While I appreciate your efforts in trying to help, it would be better not shooting from the hip ;-) /O --- * Olle E. Johansson - o...@edvina.net * Asterisk Training http://edvina.net/training/ ___ -- 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] 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 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] 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 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] SIP 183 progessl
On Thu, 2009-04-02 at 10:40 -0500, Danny Nicholas wrote: Sipaddheader(180 Ringing) might do the trick. Danny, I appreciate your enthusiasm for helping people on the mailing list, but unfortunately this is not the correct method of doing what the original poster is asking about. It's not enough to add a custom SIP header... what he really wants is a SIP response, not a SIP header. Let me see if I can shed a bit more light on the original question. To send a SIP 183 message (with early media), you can use the Playback applications with the noanswer option. Here's a quick example: exten = 123,1,Playback(pls-hold-while-try,noanswer) exten = 123,n,Dial(SIP/sip_peer,20) If you were to dial this extension from a SIP device, you'd see that you'd first get a 183 with early media, and then you'd later get the 200 OK (assuming that SIP/sip_peer answered the call). -- Jared Smith Training Manager Digium, Inc. ___ -- 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] SIP 183 progessl
Thanks for not being too critical and for providing a good clarification. I've been doing Asterisk for about 7 months now and realize that my answer might or might not be correct. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jared Smith Sent: Thursday, April 02, 2009 11:41 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] SIP 183 progessl On Thu, 2009-04-02 at 10:40 -0500, Danny Nicholas wrote: Sipaddheader(180 Ringing) might do the trick. Danny, I appreciate your enthusiasm for helping people on the mailing list, but unfortunately this is not the correct method of doing what the original poster is asking about. It's not enough to add a custom SIP header... what he really wants is a SIP response, not a SIP header. Let me see if I can shed a bit more light on the original question. To send a SIP 183 message (with early media), you can use the Playback applications with the noanswer option. Here's a quick example: exten = 123,1,Playback(pls-hold-while-try,noanswer) exten = 123,n,Dial(SIP/sip_peer,20) If you were to dial this extension from a SIP device, you'd see that you'd first get a 183 with early media, and then you'd later get the 200 OK (assuming that SIP/sip_peer answered the call). -- Jared Smith Training Manager Digium, Inc. ___ -- 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