[OpenSIPS-Users] Easy way to specify Allowed methods
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Jul 20 18:57:33 CEST 2009
Hi Gordon,
just do:
remove_hf("Allow");
append_hdr("Allow: INVITE, CANCEL, ACK, BYE \r\n");
when sending a call to the bogus proxy.
Regards,
Bogdan
Gordon Ross wrote:
> On 20/07/2009 16:19, "Bogdan-Andrei Iancu" <bogdan at voice-system.ro> wrote:
>
>
>> Hi Gordon.
>>
>> well, if the Other SIP server does properly support Allow hdr, from
>> OpenSIPS side, when sending a request or reply to this server, you can
>> force an Allow hdr only with the RFC 3261 methods.....
>>
>
> Care to point me in a direction ?
>
>
>> or you can filter the received methods from this proxy directly in
>> OPenSIPS and to prevent them to be sent to your endpoints.
>>
>
> I'd rather the endpoints didn't try and negotiate this option, so I'd prefer
> to remove it from the Allow: header.
>
> GTG
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list